On Tue, 24 Mar 2015 22:25:30 +0000 "Kline, Matthew" <matthew.kline@xxxxxxxxxxxxxxxxx> wrote: > Sorry to necrobump this, but the issue came up again. > I'm now on Linux 3.19.2 with btrfs-progs 3.19, and I converted my work laptop > from ext4 to btrfs. Same issue - the conversion goes well, > removing the ext* subvolume is fine, defragging is works, > and then when I balance, it claims there is no space left on the device > when the drive is 35% full. Dmesg is useless once again, > giving only "1 enospc errors during balance". > > The last time this was an issue (the original post in this thread), > I ended up just copying everything to an external drive, > reformatting the btrfs partition, and copying things back. > > This time I did what was suggested below (moving all +1GB files off-drive > to tmpfs and then back on) in case defrag missed something, and balance > still fails. I was sure to rename the files and sync as suggested. > > Is there a known bug still lurking in ext4 conversion? Post your "btrfs fi df" for the filesystem. In my experience it looks like the conversion may designate large portions of data as "metadata" for whatever reason. A way to clean this up is to run btrfs fi balance start -musage=5 -dusage=5 /path try repeating this again and again increasing the value gradually from 5 to 50-70 in steps of 5 or 10. -- With respect, Roman
Attachment:
signature.asc
Description: PGP signature
