× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Cannot delete share due to Snapshot deletion error

duncan1977
Guide

Cannot delete share due to Snapshot deletion error

 

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??

Model: RN10200|ReadyNAS 100 Series 2- Bay (Diskless)
Message 1 of 10

Accepted Solutions
StephenB
Guru

Re: Cannot delete share due to Snapshot deletion error

rm won't work.  You used the full path name on the btrfs command (/data ...) ?

View solution in original post

Message 9 of 10

All Replies
StephenB
Guru

Re: Cannot delete share due to Snapshot deletion error

Do you see the snapshots (via ssh) when you enter btrfs subvolume list /data ?

Message 2 of 10
duncan1977
Guide

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

 

Message 3 of 10
StephenB
Guru

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.

Message 4 of 10
duncan1977
Guide

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

Message 5 of 10
StephenB
Guru

Re: Cannot delete share due to Snapshot deletion error

Try btrfs subvolume delete /data/MediaOld/.snapshots

Message 6 of 10
duncan1977
Guide

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

 

Message 7 of 10
duncan1977
Guide

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

Message 8 of 10
StephenB
Guru

Re: Cannot delete share due to Snapshot deletion error

rm won't work.  You used the full path name on the btrfs command (/data ...) ?

Message 9 of 10
duncan1977
Guide

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!

Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 4812 views
  • 3 kudos
  • 2 in conversation
Announcements