NSA310: Ghost-Directorys delete

NSA210, NSA221, NSA310, NSA310a, NSA310S, NSA320, NSA320S, NSA325, NSA325-v2
Post Reply
kralle
Posts: 4
Joined: Sun 10. Mar 2019, 12:13

NSA310: Ghost-Directorys delete

Post 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
Attachments
verzeichnis.png
verzeichnis.png (17.25 KiB) Viewed 1360 times
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: NSA310: Ghost-Directorys delete

Post 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.
kralle
Posts: 4
Joined: Sun 10. Mar 2019, 12:13

Re: NSA310: Ghost-Directorys delete

Post 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
Mijzelf
Posts: 48
Joined: Wed 14. Nov 2018, 19:50

Re: NSA310: Ghost-Directorys delete

Post 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.
kralle
Posts: 4
Joined: Sun 10. Mar 2019, 12:13

Re: NSA310: Ghost-Directorys delete

Post 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
Post Reply