Re: btrfs full, but not full, can't rebalance

2015-07-12 Thread Rich Rauenzahn
Just a final note -- I'm finally back in person with the CentOS 7 server and so booted it to the latest kernel-ml from elrepo. It is a 4.1 kernel. But while still remote with the older 3.10 kernel, I also tried doing a 'mount -oremount,clear_cache /' I can't swear it helped, but things did seem

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Rich Rauenzahn
I'm still seeing periodic issues here. The filesystem will go full occasionally even though there appears to be plenty of space. Running another rebalance seems to fix it ... but I don't see why the system thinks it needs to be rebalanced. # while ! btrfs balance start /; do btrfs fi show /;

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Chris Murphy
What kernel version are you using? I suggest reading the whole thread but in particular this note about CentOS 7 and Btrfs. http://www.spinics.net/lists/linux-btrfs/msg40850.html So kernel 3.16 isn't necessarily too old, but I know there's been a lot of on-going balance related work that's not

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Donald Pearson
what does the fi df , or btrfs fi usage show now On Fri, Jul 3, 2015 at 1:03 AM, Rich Rauenzahn rraue...@gmail.com wrote: Yes -- I just figured that out as well! Now why did it suddenly fill up? (I still get the failure rebalancing ...) # btrfs fi show / Label: 'centos7' uuid:

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Rich Rauenzahn
Donald and I went offline so I will summarize where I am now: (1) Since I'm RAID1, I had to add two loopbacks. That makes sense! (2) The two 5GB loopbacks filled up almost instantly and did me no good. (3) I created two more 100 GB loopbacks (hint: use /usr/bin/truncate not /usr/bin/dd to

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Rich Rauenzahn
Yes -- I just figured that out as well! Now why did it suddenly fill up? (I still get the failure rebalancing ...) # btrfs fi show / Label: 'centos7' uuid: 35f0ce3f-0902-47a3-8ad8-86179d1f3e3a Total devices 4 FS bytes used 17.12GiB devid1 size 111.11GiB used 111.05GiB path

Re: btrfs full, but not full, can't rebalance

2015-07-03 Thread Donald Pearson
Because this is raid1 I believe you need another for that to work. On Fri, Jul 3, 2015 at 12:57 AM, Rich Rauenzahn rraue...@gmail.com wrote: Yes, I tried that -- and adding the loopback device. # btrfs device add /dev/loop1 / Performing full device TRIM (5.00GiB) ... # btrfs fi show /

Re: btrfs full, but not full, can't rebalance

2015-07-02 Thread Donald Pearson
Have you seen this article? I think the interesting part for you is the balance cannot run because the filesystem is full heading. http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html On Fri, Jul 3, 2015 at 12:32 AM, Rich Rauenzahn rraue...@gmail.com

Re: btrfs full, but not full, can't rebalance

2015-07-02 Thread Rich Rauenzahn
Yes, I tried that -- and adding the loopback device. # btrfs device add /dev/loop1 / Performing full device TRIM (5.00GiB) ... # btrfs fi show / Label: 'centos7' uuid: 35f0ce3f-0902-47a3-8ad8-86179d1f3e3a Total devices 3 FS bytes used 17.13GiB devid1 size 111.11GiB used

btrfs full, but not full, can't rebalance

2015-07-02 Thread Rich Rauenzahn
Running on CentOS7 ... / got full, I removed the files, but it still thinks it is full. I've tried following the FAQ, even adding a loopback device during the rebalance. # btrfs fi show / Label: 'centos7' uuid: 35f0ce3f-0902-47a3-8ad8-86179d1f3e3a Total devices 2 FS bytes used 24.27GiB