- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Snapshots not deleting and taking up disk space
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Snapshots not deleting and taking up disk space
Hi Everyone,
We have an older ReadyNAS 312 that is showing that there are alot of snapshots but there are only a couple after I delted them. I have run the SSH commands:
# touch /.force_snapshots_upgrade # systemctl restart readynasd
But it still shows there is alot of snapshots. Any suggestions on how to remove them.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Snapshots not deleting and taking up disk space
@zimmfor wrote:
We have an older ReadyNAS 312 that is showing that there are alot of snapshots but there are only a couple after I delted them. But it still shows there is a lot of snapshots.
Not exactly. It shows they are taking a lot of space, but not how many there are. So try deleting them all.
If that doesn't help, then start with
# btrfs subvolume list -s /data
That will give you a list of the snapshots. Copy/paste the list output into notepad or some other editor on the PC, it will help later on.
Then delete each one with
# btrfs subvolume delete -c path
Path will be something like /data/sharename/.shapshots/###/snapshot You'll need to prepend each of the path names shown in the list command with /data/ Note that wildcards can't be used with this command, you'll need to enter each one.
When done, it might take some time to free up the space. Running a balance (from the volume settings wheel) after they are deleted is a good idea.