- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Deleting snapshots that are not showing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Deleting snapshots that are not showing
Hello Community...
I was a silent reader so far and learned and got a lot out of here so far.
But now i have a problem that i cannot resolve with the answers i found so far.
About my issue:
I have this Pro 6 with 6 1TB drives in X-Raid (Raid 6)
I also updated it to OS6 and i am on the latest beta1 right now...(not sure why they dont offer official upgrade to it, so much better and everything is functional)
I dont have any snapshots enabled nor does the webpage show any snapshots in the shares view, but my Volume view says i am using 600+ gig od snapshots and my available space is also lowered by that amount
Now i was cruising up and down the solutions about this issue and even tried the command below, but nothing helped.
Is there a command or such that shows me where these snapshots live, so that i can get rid of them?
Unfortunate i have to much data on the NAS to store anywere else in interim to just wipe the whole thing as mentioned in one of the solutions
Any ideas?
Thx,...and i send logs when needed...just let me know what you need
# touch /.force_snapshots_upgrade # systemctl restart readynasd
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
When did you convert to OS-6? Do you recall what firmware was running back then?
Have you ever tried doing a balance?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
Hello...
Thx for answering...
The firmware was the latest 4.2.31 one.
I did balance and scrubbing and the command i was reporting earlier...
Tried to navigate through the nas with winscp to find hidden /.snapshot folders in my shares but so far no luck
is there a linux command for searching those snapsot folders?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
@Darkyputz wrote:The firmware was the latest 4.2.31 one.
Sorry - I meant the first OS 6 firmware version you installed.
@Darkyputz wrote:
is there a linux command for searching those snapsot folders?
Yes.
# btrfs subvolume list -s /data
will show you all the snapshots in the data volume. If you are using FlexRaid, you'll need to replace /data with the volume name(s) you configured when you created the volume(s).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
Hello...and thx for the quick reply again...
I did the command you posted and it showed a good amunt of snapshot folders that i am not able to see in winscp
Prob my lack of BTRFS knowledge pays into that
How could i easiest get rid of them now?
is there a proven wildcard rm command or do i have to delete one by one?
Please advise
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
@Darkyputz wrote:
is there a proven wildcard rm command or do i have to delete one by one?
You can't use rm at all. These are BTRFS subvolumes, and not ordinary folders. rm will simply fail.
You can remove them one at a time with
# btrfs subvolume delete -c /path
using the full pathname of each subvolume in the list instead of /path. The -c option stands for "commit-after". The command won't return until the subvolume is fully removed. It will go faster if you leave out the -c, but I suggest using it anyway.
Make sure you are logging in as root (NOT admin). Use the admin password though.
You could probably sort out a way to script this, but I won't attempt to do that here.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting snapshots that are not showing
You are my hero...
I was able to test that and it works...freed up some space already...
Will go through the list and see that i get it all out...
Will post if i run into issues