NSA310: Ghost-Directorys delete

NSA210, NSA221, NSA310, NSA310a, NSA310S, NSA320, NSA320S, NSA325, NSA325-v2
Antworten
kralle
Beiträge: 4
Registriert: So 10. Mär 2019, 12:13

NSA310: Ghost-Directorys delete

Beitrag von 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
Dateianhänge
verzeichnis.png
verzeichnis.png (17.25 KiB) 1005 mal betrachtet

Mijzelf
Beiträge: 92
Registriert: Mi 14. Nov 2018, 19:50

Re: NSA310: Ghost-Directorys delete

Beitrag von 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
Beiträge: 4
Registriert: So 10. Mär 2019, 12:13

Re: NSA310: Ghost-Directorys delete

Beitrag von 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
Beiträge: 92
Registriert: Mi 14. Nov 2018, 19:50

Re: NSA310: Ghost-Directorys delete

Beitrag von 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
Beiträge: 4
Registriert: So 10. Mär 2019, 12:13

Re: NSA310: Ghost-Directorys delete

Beitrag von 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

Antworten