Page 1 of 1

NSA310: Ghost-Directorys delete

Posted: Mon 10. Jun 2019, 10:56
by kralle
Hello,

in a share i found a directory with 10 directorys deep inside. All directorys are empty, but i found no way to delete them.
So, i deactived the share and create a new one. But in the new one i found the some ghost-driectorys.
I can't delete them, but i can rename them.

Is there a way to delete them , without format the hole NAS?

Greetings from Germany
Heiko

Re: NSA310: Ghost-Directorys delete

Posted: Wed 12. Jun 2019, 18:51
by Mijzelf
I'm sure you can delete them from the commandline (using ssh or telnet). But does it make sense? Apparently you have some daemon running which re-creates them. Possibly for thumbnails or something like that.

Re: NSA310: Ghost-Directorys delete

Posted: Wed 12. Jun 2019, 19:01
by kralle
hey,

i doesn't know that there is something running. Because if i rename the folder, the folder with the new name will create in a new share.

i never use ssh before.
what must i do for connect the nas and what must i do to delete the folder?
Everytime i will delete a folder the system means:"the folder is not empty".

Can you help me?

greetings from germany
heiko

Re: NSA310: Ghost-Directorys delete

Posted: Thu 13. Jun 2019, 09:56
by Mijzelf
Install MetaRepository as instructed in the README here. Install dropbear and MidnightCommander.

Now login over ssh to the box, as root, using your admin password. On Windows you can use PuTTY for that. If you have a shell, start MidnightCommander with the command mc<enter>. (Case sensitive. In Linux everything is case sensitive. Navigate to your share (when I'm not mistaken this is /i-data/md0/heiko). Select the 'a' directory, and delete it. (F8).

Be careful. As root you have a lot of power on that box.

Re: NSA310: Ghost-Directorys delete

Posted: Thu 13. Jun 2019, 19:02
by kralle
hello Mijzelf,

mega thank you.
it works.
for other user : ssh adminname@NAS-IP , because your PC-Username is different to your NAS-Admin-Name (i hope)-

Greetings from Germany
heiko