LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2015, 05:32 AM   #1
ixion22600
LQ Newbie
 
Registered: Nov 2013
Posts: 23

Rep: Reputation: Disabled
btrfs delete shapshots


Hey hey

I am using opensuse and my fs is almost full:

ID 257 gen 442813 top level 5 path boot/grub2/i386-pc
ID 258 gen 442813 top level 5 path boot/grub2/x86_64-efi
ID 259 gen 470830 top level 5 path opt
ID 260 gen 442813 top level 5 path srv
ID 261 gen 470854 top level 5 path tmp
ID 262 gen 470687 top level 5 path usr/local
ID 263 gen 442813 top level 5 path var/crash
ID 264 gen 442813 top level 5 path var/lib/mailman
ID 265 gen 442813 top level 5 path var/lib/named
ID 266 gen 442813 top level 5 path var/lib/pgsql
ID 267 gen 470854 top level 5 path var/log
ID 268 gen 442813 top level 5 path var/opt
ID 269 gen 470854 top level 5 path var/spool
ID 270 gen 470710 top level 5 path var/tmp
ID 275 gen 470698 top level 5 path .snapshots
ID 526 gen 309063 top level 5 path var/lib/docker/btrfs/subvolumes/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158
ID 527 gen 309056 top level 5 path var/lib/docker/btrfs/subvolumes/a113d52c65c3c06f2035bc2042faf4bc4a13ef52d3a556b7f2ef58ef70701232
ID 528 gen 309057 top level 5 path var/lib/docker/btrfs/subvolumes/758c78b4040c9bb91f3ebcedf53e97b630585f3db40b9f6b7e340bdd9aa1ac76
ID 531 gen 309064 top level 5 path var/lib/docker/btrfs/subvolumes/4f903438061c7180cf99485b42f7709f5268bfb4732fe885f9104ed3bb66fd3c
ID 532 gen 309065 top level 5 path var/lib/docker/btrfs/subvolumes/1265e16d0c286a4252c1dc5e775ba476d9560e2dd96d2032605ee75b30912f6b
ID 577 gen 418015 top level 275 path .snapshots/260/snapshot
ID 578 gen 418017 top level 275 path .snapshots/261/snapshot
ID 579 gen 425193 top level 275 path .snapshots/262/snapshot
ID 580 gen 425196 top level 275 path .snapshots/263/snapshot
ID 581 gen 425198 top level 275 path .snapshots/264/snapshot
ID 582 gen 425199 top level 275 path .snapshots/265/snapshot
ID 583 gen 425266 top level 275 path .snapshots/266/snapshot
ID 584 gen 425267 top level 275 path .snapshots/267/snapshot
ID 585 gen 438439 top level 275 path .snapshots/268/snapshot
ID 586 gen 438441 top level 275 path .snapshots/269/snapshot

How can I delete the snapshots to free up some space on the filesystem?

Thanks in advance!
 
Old 06-23-2015, 07:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Look at the manpage for the command you used to generate the list.
If OpenSuse are going to use btrfs as a default f/s, they should publish a user guide - especially for things like this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
btrfs filesystem df /mnt/btrfs/ shows bothe data and metdata with raid1 and single. gonus Linux - Software 3 07-17-2014 03:48 PM
LXer: Rollback To A Working State With btrfs + apt-btrfs-snapshot On Ubuntu 12.10 LXer Syndicated Linux News 0 11-25-2012 11:42 AM
BTRFS cannot delete Directory not empty unkie888 Linux - Software 1 10-22-2012 06:08 PM
ext4 vs btrfs, and with btrfs do I still need to use LVM? blue_k Linux - Software 4 08-18-2012 12:31 AM
Cannot delete expired principal from kerberos system, how delete principals in kerber sarajevo Linux - Security 0 10-19-2007 12:23 PM


All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration