- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Cannot delete share due to Snapshot deletion error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to delete a share and it errors with the message "Could not delete the Share due to Snapshot deletion failure" Code 1004030000. My NAS is also showing 500GB of Snapshots even though I have turned them all off and am unable to see any on the NAS anywhere.
I tried to SSH and upgrade the Snapshots as this was suggested as a solution but it made no difference.
I'm running ReadyNAS 102 on the latest Firmware.
Any help??
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
rm won't work. You used the full path name on the btrfs command (/data ...) ?
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Do you see the snapshots (via ssh) when you enter btrfs subvolume list /data ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Yes, there are two old snapshots listed in the share I want to delete but I can't see them when I login normally
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
You could try deleting them via ssh (btrfs subvolume delete <path> )
Another approach is to copy the share to a new one, delete the original, and then rename the new one.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Hi StephenB
I tried the first method and got:
btrfs subvolume delete MediaOld/.snapshots/35/snapshot
ERROR: cannot access subvolume MediaOld/.snapshots/35/snapshot: No such file or directory
I already tried the second method hence the share I'm trying to delete is called MediaOld
Any other ideas?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Try btrfs subvolume delete /data/MediaOld/.snapshots
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Tried mulitple versions and I always get a variant of:
ERROR: cannot access subvolume data/MediaOld/.snapshots: No such file or directory
FYI this is the response I get to: btrfs subvolume list /data
ID 1235 gen 173532 top level 267 path MediaOld/.snapshots/35/snapshot
ID 1490 gen 174402 top level 267 path MediaOld/.snapshots/78/snapshot
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
I just tried the command below and got hundreds of errors saying the Files are read only if that helps?
rm -rf /data/MediaOld/.snapshots/78/snapshot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
rm won't work. You used the full path name on the btrfs command (/data ...) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot delete share due to Snapshot deletion error
Finally got it to work with:
btrfs subvolume delete /data/MediaOld/.snapshots/78/snapshot
Thanks for all your help!