-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/2012 03:05 PM, Cristian Rodríguez wrote:
On 10/03/12 16:44, Bruno Friedmann wrote:
I've saw exactly the same situation in a vm / being full 360Mb free during a zypper dup
Was hardtime to understand
yeah, lost quite a bit of hair trying to figure it out :-S
what's happening until I catch snapper eating 9.8Go of the 16Gb
(I think a ratio of a maximum of 50% should be never exceeded for snapshots)
Then I user snapper delete to remove any snapshot referenced in the .snapshot
After that I use rm -fr .snapshots and even the read-only message I was able to recover a lot of place.
All actions were a bit vodoo so can't be really reported as a nice bug. Just say take care of snapper, .snapshot : it seems that the default used are not suitable.
In this case the kernel BUGS in btrfs_unlink_subvol() exactly in
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=fs/btr...
line 2951
btrfs_i_size_write(dir, dir->i_size - name_len * 2); dir->i_mtime = dir->i_ctime = CURRENT_TIME; ret = btrfs_update_inode(trans, root, dir); BUG_ON(ret); --> bang, here we go... btrfs_free_path(path); return 0;
Ah, yep. Welcome to the current state of upstream btrfs error handling. The good news is that we've put a ton of work into improving this and it should be upstream for 3.4. The master branch didn't have any of the error handling patchset, but it does as of about 5 minutes ago. When I get a moment I'll need to update the btrfs code in the 12.1 kernel as well. Grab a new KOTD in a few hours and you should see a changelog with about 80 btrfs commits. You'll obviously need to find a way to boot that kernel without writing to your root file system, though. Let me know if you still run into problems after that. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPW+YJAAoJEB57S2MheeWysw0QAK+JnVVBxHt2Tps//CLZDkAf K9k7FjEz2GylbFRpu74SW7rELUGkty9/Ei4urjN9S/0ESIsPG0XJ7Dri+ePNWMFp Uw51e1KuhOBHKzlU6GqChJx4+wUqBlEl8qSOBFSc3G8qghjq0faYG22rxXwEvhzO /WoM3JSGHtDi3477c761u4D4ne9BdrXnI/0WO3XeGuv5G5E5EhNhwR4pCz2aL2+j ndILnNUuKab9trrmxLvw0cptRDvsl/vBbAvP1x2qRh0x9dQKxhEsjGz8zHzfazuo LEDv0QbXpdPnsjjRU31sq7MR/d2MG3/ywnEsulTEmLBZw8jvKyl/mISilBF7DrBb SiqnEYJTO0SL2YV9fJoERtZh4kpbgWz/mbTZBaguIbJsC807yMsR8ZmO/7q13ka0 uj/q4gP3e7bLTZmPDwJvm02ycLTL5HZ3xKMCyKMvnhDFrJT1mbJEjs0S82UrYpz0 oTF3a3AqCv1PYwjHSg9IGmMaWFsicqSh25e9Khc485r+POcy3i2jsqD2XuWgcRya fSOaGhNE1A8HpUL89TOyheBQks6A0FAIhYXL6MyiPI4SbJoGtlcHKrBloSrxwd50 M/LsUhWw2suj9BblAufjIqCOcejhfAU+8VAYnu4+TucjoNyx5tiBZJhKQyUGE5/K vKO99cOdz1ZW7QM38oEt =v7Q/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org