NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Geronimo88
Dec 10, 2017Guide
ReadyCloud Snapshots
I have a load of snapshots taking up space on my drive, I'd like to delete them but can't find them anywhere, any Idea how to remove these?
- Dec 15, 2017
Geronimo88 wrote:I've just tried to delete the others, how do I delte these two:
ID 272 gen 28173 top level 271 received_uuid - path MASTER/.snapshots
ID 2876 gen 27761 top level 272 received_uuid - path MASTER/.snapshots/231/snapshot
I'd leave the first one alone. It should be empty once you get rid of 231.
For the second one, just enter
btrfs sub delete -c /data/MASTER/.snapshots/231/snapshot
Geronimo88 wrote:
thanks that freed up a substantial amount of space, how do I stop these snapshots being created everytime I delete something, I run two backups so snapshots is not required.
Snapshots are also created when a ReadyNAS "push" backup starts. (That is, when the source of the backup is local). The backup job actually backs up the snapshot. This ensures the backup is coherent.
The snapshot is deleted when the backup completes, but there might be some scenarios when that doesn't happen. For instance, if there is a power loss during the backup, the snapshot might not be deleted.
Overall, my suggestion is look for new snapshots every few days for a bit, and see if you are dealing with a recurring issue or not.
StephenB
Dec 10, 2017Guru - Experienced User
Normally, you click on snapshots on the admin web ui's share page, and then click on each share in the popup window. That should show you the snapshots, and you can right-click on one (or more) and delete them.
Are you seeing the snapshots when you do that?
- Geronimo88Dec 10, 2017Guide
No the snapshots are not there!
- Geronimo88Dec 10, 2017Guide
see attached image.
- Geronimo88Dec 11, 2017Guide
So I did a bit of digging and accessed my drive via SSH, these are the snapshots. any idea how I can remove them?
Last login: Mon Dec 11 13:56:27 2017 from lukes-imac.lan
root@JBSTUDIO:~# btrfs subvolume list -R /data | grep snapshot
ID 272 gen 27619 top level 271 received_uuid - path MASTER/.snapshots
ID 1683 gen 5998 top level 272 received_uuid - path MASTER/.snapshots/2/snapshot
ID 2876 gen 27494 top level 272 received_uuid - path MASTER/.snapshots/231/snapshot
- StephenBDec 11, 2017Guru - Experienced User
Your screen shot doesn't give me enough context to know that I'm looking at the snapshots screen.
You can try to delete the snapshots in SSH with btrfs sub delete -c pathname
Be careful the path is for the snapshot, you don't want to delete MASTER by mistake.
- Geronimo88Dec 13, 2017Guide
Hi thanks for your response, I put the following in to terminal but it didnt work; what am I doing wrong. I deleted some more stuff from my drive via normal UI and it keeps creating snapshots and not giving me back the space, very confusing as I have diabled snapshots.
Last login: Mon Dec 11 15:20:13 2017
root@JBSTUDIO:~# btrfs subvolume list -R /data | grep snapshot
ID 272 gen 27954 top level 271 received_uuid - path MASTER/.snapshots
ID 1683 gen 27765 top level 272 received_uuid - path MASTER/.snapshots/2/snapshot
ID 2876 gen 27761 top level 272 received_uuid - path MASTER/.snapshots/231/snapshot
root@JBSTUDIO:~# btrfs sub delete -c MASTER/.snapshots
ERROR: cannot access subvolume MASTER/.snapshots: No such file or directory
root@JBSTUDIO:~#
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!