2013/12/21 Tomasz Chmielewski <t...@virtall.com>: > On Sat, 21 Dec 2013 00:07:19 +0800 > Shilong Wang <wangshilong1...@gmail.com> wrote: > >> 2013/12/20 Tomasz Chmielewski <t...@virtall.com>: >> > -o skip_balance - didn't know this. >> > >> > Actually, I was able to "skip" the balance, sort of, with this: >> > >> > mount /mnt/btrfs ; btrfs fi balance cancel /mnt/btrfs >> >> From your previous email, i suspend your filesystem is nearly fully. >> "mount -o skip_balance" will avoid balance continuing while use btrfs >> balance cancel still >> can not avoid balance totally, so i recommend you use skip_balance >> option when remounting. > > My other thread a few days ago ("no space left, metadata usage almost > full?"), if that's what you're referring to, was about a different > filesystem. > > This one should have enough free space left: > > # btrfs fi > show /mnt/lxc1 Label: lxc1 uuid: 8d08ad6d-4543-4fe5-8b1b-640dc1423d41 > Total devices 2 FS bytes used 2.02TiB > devid 1 size 2.62TiB used 2.02TiB path /dev/sda5 > devid 2 size 2.62TiB used 2.02TiB path /dev/sdb5 > > Btrfs v3.12 > > # btrfs fi df /mnt/lxc1 > Data, RAID1: total=1.97TiB, used=1.97TiB > System, RAID1: total=32.00MiB, used=300.00KiB > Metadata, RAID1: total=50.00GiB, used=49.21GiB > > > I've tried using skip_balance - it mounted, but breaks soon after I try > to remove any snapshot. >
ok, It seems that your filesystem is not in consistency anymore. To confirm your filesystem status, you can try to run btrfsck to check if there is something wrong. To get a stable fs now, you can try to mount btrfs with option skip_balance and recovery, recovery options try to get a previous good tree root which might help you get a stable fs. > > -- > Tomasz Chmielewski > http://wpkg.org -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html