On 2013-08-02 T 06:41 -0400 Jeff Mahoney wrote:
On 8/1/13 7:05 PM, Dr. Ralf Czekalla wrote:
My problem with BtrFS here on the Netbook is, that the snapshots created by YAST soon are eating up all free space and often during general update sessions (including newest stable kernels,XOrg, libre office etc. and keeping some old latest stable kernel generations) I have to drop manually a lot of snapshots to gain free space on the file system back. This is really annoying and from my point of view easy to solve. But I never had the time to go after and find some kind of switch to make the automatic deletion process more aggressive. When it happens I usually don't have the time to dig into it and simply use the snapper manually to delete snapshots. Maybe there is a solution in 12.2 or 12.3, but on that boxes I stayed with ext4 because of this initial problem.
I've commented briefly on this in my response to Andrey's response to this post. It may be possible to disable the automatic snapshot functionality but TBH I've never investigated it.
There is a quick way to disable automated snapshots from zypper completely: zypper rm snapper-zypp-plugin I would not do this, though, but instead change the config options in "/etc/snapper/configs/root" to be more aggressive in removing snapshots. I personally meanwhile switched off TIMELINE based snapshots completly and only do manual and zypper based snapshots for "/". If you are short on diskspace or following factory closely, something like this can help (it will keep 8 pre/post snapshot pairs only): ---------------------------< snip >--------------------------- # snapper diff 10..11 /etc/snapper/configs/root --- /.snapshots/10/snapshot/etc/snapper/configs/root 2013-07-26 11:11:01.092720678 +0200 +++ /.snapshots/11/snapshot/etc/snapper/configs/root 2013-08-02 13:05:15.548336389 +0200 @@ -19,11 +19,11 @@ # limit for number cleanup NUMBER_MIN_AGE="1800" -NUMBER_LIMIT="100" +NUMBER_LIMIT="16" # create hourly snapshots -TIMELINE_CREATE="yes" +TIMELINE_CREATE="no" # cleanup hourly snapshots after some time TIMELINE_CLEANUP="yes" ---------------------------< snap >--------------------------- For more information, see "man snapper". HTH so long - MgE -- Matthias G. Eckermann Senior Product Manager SUSE® Linux Enterprise Phone: +49 30 44315731 Mobile: +49 179 2949448 E-Mail: mge@suse.com SUSE LINUX Products GmbH Maxfeldstraße 5 90409 Nürnberg Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org