NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Jun 20, 2014Old Snapshot Deletion Errors
I was removing several old auto-snapshots from a RN316 OS6, and unfortunately something went wrong and the NAS went into a constant reboot/reset sequence. I rebooted in safe mode, scan disk'ed, etc. and seemed to have fixed the issue and everything is working except the old Snapshot deletions got partially messed up somehow.
The old snapshots only show in the Timeline and deletion via Timeline fails with the following errors:

Log reports the following (granted, 'rmdir(/data/Backup/snapshot/c_2014_06_03__00_00_04) fail's because it doesn't exist anymore in Recovery Mode/Folders):

Specifically can't delete this:

It seems OS 6 uses 3 locations for snapshots - LAN to the NAS as admin confirms the following folder structure:
\\RN316\data\
._share (hidden)
._snap-<folder share1> (hidden)
._snap-<folder share2> (hidden)
._snap-<folder share3> (hidden)
.apps (hidden)
.ELC (hidden)
.purge (hidden)
.vault (hidden)
<folder share1>
<folder share2>
<folder share3>
I had 16 snapshots before the attempted deletion and now have 11 left in Recovery Mode, but still have the 16 in Timeline view and taking up terabytes of space.
Recovery Mode shows the correct snapshots (in the sharefolder within subfolder 'snapshots'), and the ._snap-<folder share#> also reflects this, however the ._share folder contents a list of the <foldershare#> folders with all the snapshots including the failed deleted ones (wasting several few terabytes wanted space), in a hidden folder called '.snapshot' with folder names like c_1401719404, c_1401805823, etc..
It looks like the Timeline directly accesses the ._share folder for its snapshot management and all other snapshot views are managed via Recovery Mode with some kind of duplication via the hidden data folder "._snap-<share_folder_name>". Unless these are symbolic links, it seems like an awful waste of space.
I can't manually delete the ._share/<foldershare#>/<old_snapshot_folder>'s contents even as admin via LAN/samba, it says permission denied. I can try to re-permission the relevant folder recursively, but not sure if its possible nor how OS6 would behave if I tried...Recovery Mode doesn't list these old snapshots anymore (that's how i originally deleted them anyhow), so they can only be actioned via TimeLine but that's failing as above.
Anyone have any ideas on how to remove these unwanted/old snapshots from TimeLine or if its possible to re-permission via LAN and delete without messing up OS6?
The old snapshots only show in the Timeline and deletion via Timeline fails with the following errors:

Log reports the following (granted, 'rmdir(/data/Backup/snapshot/c_2014_06_03__00_00_04) fail's because it doesn't exist anymore in Recovery Mode/Folders):

Specifically can't delete this:

It seems OS 6 uses 3 locations for snapshots - LAN to the NAS as admin confirms the following folder structure:
\\RN316\data\
._share (hidden)
._snap-<folder share1> (hidden)
._snap-<folder share2> (hidden)
._snap-<folder share3> (hidden)
.apps (hidden)
.ELC (hidden)
.purge (hidden)
.vault (hidden)
<folder share1>
<folder share2>
<folder share3>
I had 16 snapshots before the attempted deletion and now have 11 left in Recovery Mode, but still have the 16 in Timeline view and taking up terabytes of space.
Recovery Mode shows the correct snapshots (in the sharefolder within subfolder 'snapshots'), and the ._snap-<folder share#> also reflects this, however the ._share folder contents a list of the <foldershare#> folders with all the snapshots including the failed deleted ones (wasting several few terabytes wanted space), in a hidden folder called '.snapshot' with folder names like c_1401719404, c_1401805823, etc..
It looks like the Timeline directly accesses the ._share folder for its snapshot management and all other snapshot views are managed via Recovery Mode with some kind of duplication via the hidden data folder "._snap-<share_folder_name>". Unless these are symbolic links, it seems like an awful waste of space.
I can't manually delete the ._share/<foldershare#>/<old_snapshot_folder>'s contents even as admin via LAN/samba, it says permission denied. I can try to re-permission the relevant folder recursively, but not sure if its possible nor how OS6 would behave if I tried...Recovery Mode doesn't list these old snapshots anymore (that's how i originally deleted them anyhow), so they can only be actioned via TimeLine but that's failing as above.
Anyone have any ideas on how to remove these unwanted/old snapshots from TimeLine or if its possible to re-permission via LAN and delete without messing up OS6?
14 Replies
Replies have been turned off for this discussion
- vandermerweMasterAre you using 6.1.8?
Have you tried an OS reinstall? - ReadySECUREApprenticeDo you have Allow Snapshot Access enabled on that share? If so, turn it off prior to attempting deletion.
If you are in SSH, you can run the mount command to see all your mounts; if you have snapshot access enabled, then you'd need to turn it off as the snapshot is literally in use. - ReadySECUREApprenticeCheck your PMs.
- Retired_Member@vandermerwe yep, its the latest OS6.1.8.
@ readysecure1985 good call, I turned off snapshot on the shares and it deleted from TImeLine. Thanks! :)
Seems the ._share folder is the only valid data folder, the others look like symbolic links. Once snapshot is disabled, the only folder containing the snapshot files is ._share (phew) - ernst_stuckiAspirantI run a ReadyNas 102 v2 with 6.1.8 and have similar problems with snapshots as far I know on one share called Backup. Neither is it possible to delete snapshots nor to delete the share. I already scrubbed the volume two times and restarted the system each time. The behavior did vary after those operations. when I try to delete the share from the web interface the system "turns" for a while but after that - without any message - the share is still shown and can be browsed. When I try to delete snapshots I get the message "Ordnervorgang fehlgeschlagen. Code 1004030000. Also switching off continuous protection and snapshot access permission didn't help. I suppose that it has to do with a corrupt btrfs file system.
Does someone know a way to get rid of that share ( I have copied all data to an other share and also on an ubs disk) without reset and rebuild the whole nas? Is it possible and would it help to make a btrfs diskcheck somehow? (As mentioned Scrubbing didn't help.) - StephenBGuru - Experienced User
Perhaps contact support.ernst stucki wrote: I run a ReadyNas 102 v2 with 6.1.8 and have similar problems with snapshots as far I know on one share called Backup. Neither is it possible to delete snapshots nor to delete the share. I already scrubbed the volume two times and restarted the system each time. The behavior did vary after those operations. when I try to delete the share from the web interface the system "turns" for a while but after that - without any message - the share is still shown and can be browsed. When I try to delete snapshots I get the message "Ordnervorgang fehlgeschlagen. Code 1004030000. Also switching off continuous protection and snapshot access permission didn't help. I suppose that it has to do with a corrupt btrfs file system.
Does someone know a way to get rid of that share ( I have copied all data to an other share and also on an ubs disk) without reset and rebuild the whole nas? Is it possible and would it help to make a btrfs diskcheck somehow? (As mentioned Scrubbing didn't help.) - Retired_Member
ernst stucki wrote: I run a ReadyNas 102 v2 with 6.1.8 and have similar problems with snapshots as far I know on one share called Backup. Neither is it possible to delete snapshots nor to delete the share. I already scrubbed the volume two times and restarted the system each time. The behavior did vary after those operations. when I try to delete the share from the web interface the system "turns" for a while but after that - without any message - the share is still shown and can be browsed. When I try to delete snapshots I get the message "Ordnervorgang fehlgeschlagen. Code 1004030000. Also switching off continuous protection and snapshot access permission didn't help. I suppose that it has to do with a corrupt btrfs file system.
Does someone know a way to get rid of that share ( I have copied all data to an other share and also on an ubs disk) without reset and rebuild the whole nas? Is it possible and would it help to make a btrfs diskcheck somehow? (As mentioned Scrubbing didn't help.)
How are you trying to delete the snapshot? Try through TimeLine (ensure snapshots are turned off), otherwise directly through direct lan/samba \\ReadNAS\data\._share\<folder/sharename>\.snapshot\<snapshotdate>
If that fails, try support as above - inspectorgadjetApprenticeI have a similar problem that I'm struggling to get past at the moment. My 314 went belly up at the beginning of the month and Netgear support had to reinstall the OS remotely and get it all working again. (OS reinstall wouldn't work for me at all). Since then, the NAS has been running reasonably well, but I have been wondering what has happened because my disk space usage has increased dramatically. In my snapshot timeline, I have snapshots from the beginning of July available. If I look in the .snapshot folders, all of the previous snapshots back until January are still in there and I can't get rid of them. I need a bit of advice on how to do it.
- StephenBGuru - Experienced UserYou could recontact support.
Or go in with ssh, and manually delete them. - inspectorgadjetApprenticeIt won't let me do it in ssh. It says it's a read only file system. I think I'm going to have to contact support again.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!