On 8/1/13 10:39 PM, Andrey Borzenkov wrote:
В Fri, 02 Aug 2013 01:05:07 +0200 "Dr. Ralf Czekalla" <ralf@czekalla.com> пишет:
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 that's not really btrfs issue, is not it? I mean, you need to raise this problem in the right place to have it solved ... :)
Not purely a btrfs issue, but it is part of the user experience. Enough people have commented on it and we /have/ noticed. It's a matter of finding the right solution for it. One of the things on our radar is free space accounting in zypper. We currently assume that any removed files will release the space occupied by them - but that assumption isn't always valid when snapshots are in play. I can't tell you how many times I've had to suspend a 'zypper dup' when running Factory to remove snapshots in the background after the update runs out of space. Another option is automatic culling of snapshots based on some policy. Arvin, who's the engineer behind Snapper, would know more about that. My understanding is that the automatic functionality is improving rapidly. -Jeff -- Jeff Mahoney SUSE Labs