Community discussions

MikroTik App
 
hoggle
just joined
Topic Author
Posts: 2
Joined: Thu Oct 15, 2015 10:27 pm

cannot remove directory

Thu Oct 15, 2015 10:32 pm

Hi,

i am trying to remove some directories from the file structure and regardless what I do (and which directory I delete first) I always get a: action failed (6)

Thanks for any hint.


uptime: 6d1h3m22s
version: 6.31
build-time: Aug/14/2015 15:42:51
free-memory: 100.4MiB
total-memory: 128.0MiB
cpu: MIPS 74Kc V4.12
cpu-count: 1
cpu-frequency: 600MHz
cpu-load: 2%
free-hdd-space: 99.9MiB
total-hdd-space: 128.0MiB
write-sect-since-reboot: 10674
write-sect-total: 207722
bad-blocks: 0%
architecture-name: mipsbe
board-name: RB2011UiAS
platform: MikroTik
 
meisamd
just joined
Posts: 1
Joined: Mon Nov 09, 2015 9:27 am

Re: cannot remove directory

Mon Nov 09, 2015 1:20 pm

i have same problem a folder created in my MK by name flash and type disk
i cannot remove this directory,
any body can help
 
hoggle
just joined
Topic Author
Posts: 2
Joined: Thu Oct 15, 2015 10:27 pm

Re: cannot remove directory

Sun Nov 29, 2015 8:28 pm

same issue here !

Couldn't remove file xyz. Action failed (6)

When trying to delete directories.
 
balan280880
just joined
Posts: 10
Joined: Thu Sep 03, 2015 12:51 pm

Re: cannot remove directory

Wed Dec 21, 2016 6:17 am

How can delete or overwrite the flash file
Because i have create mu own hotspot log in page
i am unable to load the page
 
cdemers
Member Candidate
Member Candidate
Posts: 224
Joined: Sun Feb 26, 2006 3:32 pm
Location: Canada
Contact:

Re: cannot remove directory

Wed Dec 21, 2016 9:47 am

Flash folder itself cannot be removed if your device has it by default. It's a device folder, you can remove the contents. Everything stored outside of that folder is stored in ram drive.

http://wiki.mikrotik.com/wiki/Manual:System/File


Sent from my Nexus 5 using Tapatalk
 
msnrzi
just joined
Posts: 4
Joined: Mon Feb 12, 2018 10:09 am

Re: cannot remove directory

Mon Jul 02, 2018 8:35 pm

no one is not here ?
we can delete directories .
what we must do ?
 
User avatar
floaty
Member
Member
Posts: 324
Joined: Sat Oct 20, 2018 1:24 am
Location: 52°08'32.34"N 14°39'05.0"E

Re: cannot remove directory

Mon Oct 14, 2019 3:55 pm

installed dude under dusk1/dude ? ... instead disk1/dude ?
.
obstinate files may be removeable, when logged as admin with a sftp-client (like WinSCP) ... and with circumspection :!:
 
xxSANxx
just joined
Posts: 2
Joined: Sun May 10, 2020 3:49 pm

Re: cannot remove directory

Sun May 10, 2020 4:04 pm

Hi!
Have some trouble. After same manipulations with micro SD cards can't delete disk directories... more precisely they create again after restart. How can i delete them permanently?

disk print
# NAME LABEL TYPE DISK FREE SIZE
0 disk1 MICROSD fat32 SD 943.0MiB 958.0MiB

file print
# NAME TYPE SIZE CREATION-TIME
0 flash disk jan/01/1970 03:00:07
1 disk3 disk jan/01/1970 03:00:09
2 disk4 disk jan/01/1970 03:00:09
3 disk2 disk jan/01/1970 03:00:09
4 disk1 disk jan/01/1970 03:00:09

MikroTik RB750Gr3
RouterOS 6.45.8
 
xxSANxx
just joined
Posts: 2
Joined: Sun May 10, 2020 3:49 pm

Re: cannot remove directory

Thu May 14, 2020 1:13 am

Hi!
Have some trouble. After same manipulations with micro SD cards can't delete disk directories... more precisely they create again after restart. How can i delete them permanently?

disk print
# NAME LABEL TYPE DISK FREE SIZE
0 disk1 MICROSD fat32 SD 943.0MiB 958.0MiB

file print
# NAME TYPE SIZE CREATION-TIME
0 flash disk jan/01/1970 03:00:07
1 disk3 disk jan/01/1970 03:00:09
2 disk4 disk jan/01/1970 03:00:09
3 disk2 disk jan/01/1970 03:00:09
4 disk1 disk jan/01/1970 03:00:09

MikroTik RB750Gr3
RouterOS 6.45.8
resolved

- rename existing disks to use old names
Example:
If your file list shows disk1, disk2 and disk3 directories (where disk3 contains files of a real USB storage), you should rename it using following commands:
Code: Select all
/disk set 0 name=disk2
/disk set 0 name=disk1
The order doesn't matter, but last command should set name "disk1". After reboot you will see only one disk directory.
Please pay attention on backup files if you want to restore previous configuration. Disk names and ID's are also adding to binary backup file, so there's a chance to break it again.

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot], PLJ020 and 207 guests