NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Szilard
Oct 17, 2018Aspirant
All files have "disappeared"
At this point when I log in to my ReadyNAS over the web interface all sahres have disappeared, even the usual default ones. There is only a home folder with an empty folder for the original admin and...
- Oct 17, 2018
So the issue is that the readynas share config files have become corrupted.
One thing you could try is
- rename one of the public share folders (subvolume)
- create a new share with the original name
- delete the new subvolume with btrfs subvolume delete -c \data\sharename
- rename the original public share folder to the original name.
StephenB
Oct 17, 2018Guru - Experienced User
So the issue is that the readynas share config files have become corrupted.
One thing you could try is
- rename one of the public share folders (subvolume)
- create a new share with the original name
- delete the new subvolume with btrfs subvolume delete -c \data\sharename
- rename the original public share folder to the original name.
Szilard
Oct 17, 2018Aspirant
I have renamed, made a new file with the same name, and then when trying to remove for example the /data/load/ folder I got:
ERROR: cannot delete '/data/load': Operation not permitted
So I just opened everything up with file explorer and copied the files from the old folders to the new one.
I think it would have been better to do it over nfs, to keep attributes, but well, I can change that later.
- StephenBOct 17, 2018Guru - Experienced User
Szilard wrote:
I have renamed, made a new file with the same name, and then when trying to remove for example the /data/load/ folder I got:
ERROR: cannot delete '/data/load': Operation not permitted
Shares aren't really folders, they are btrfs subvolumes. The rm command won't delete them, you need to use btrfs subvolume delete <path> for that.
Similarly, it's a mistake to create the new folder with mkdir - which is why my steps created the new share with the admin web ui.
- SzilardOct 17, 2018Aspirant
Yes, I used btrfs, I did not use mkdir. I tried rm when btrfs failed:
I have renamed the directories in windows exploerer, created new ones in the WebUI,
Could not remove it using brtfs:
pm@ReadyNAS001:/$ /sbin/btrfs subvolume delete -c /data/load
Delete subvolume (commit): '/data/load'
ERROR: cannot delete '/data/load': Operation not permittedand so I copied in win explorer the files from the renamed folder to the newly created one.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!