* kernel crash when balancing raid56 after low on space
@ 2016-01-15 7:03 bbrendon
2016-01-17 19:54 ` bbrendon
0 siblings, 1 reply; 2+ messages in thread
From: bbrendon @ 2016-01-15 7:03 UTC (permalink / raw)
To: linux-btrfs
Looking for a bit of help getting this FS balanced. I'm getting a
kernel crash and readonly file system error:
[ 9357.096562] Workqueue: btrfs-extent-refs btrfs_extent_refs_helper [btrfs]
dmesg output. http://pastebin.com/c9xKvpZ0
This problem began because of performance issues. Basically the FS
appeared to be hung. (I think because it got to about 100GB free) I
added a drive and started a rebalance which somehow also hung. I then
aborted the whole thing, upgraded from 4.3 to 4.4 and after a long
wait the FS mounted. I deleted more snaps and now when I start a
balance, the FS goes read-only.
Thanks for any help you can provide! -Brendon
# uname -a
Linux humvee 4.4.0 #1 SMP Thu Jan 14 15:54:03 PST 2016 x86_64 GNU/Linux
# btrfs --version
btrfs-progs v4.3
#
# btrfs fi show
Label: 'tank0' uuid: d25217dd-91f1-4add-8c07-66eacff9fb28
Total devices 6 FS bytes used 6.22TiB
devid 1 size 3.64TiB used 3.52TiB path /dev/sdc
devid 2 size 3.64TiB used 3.52TiB path /dev/sdd
devid 3 size 3.64TiB used 3.52TiB path /dev/sde
devid 4 size 3.64TiB used 3.52TiB path /dev/sdf
devid 5 size 3.64TiB used 3.52TiB path /dev/sdg
devid 6 size 3.64TiB used 1.00GiB path /dev/sdh
btrfs-progs v4.3
#
# btrfs fi df /tank0
Data, RAID6: total=10.55TiB, used=6.21TiB
System, RAID6: total=96.00MiB, used=880.00KiB
Metadata, RAID6: total=19.59GiB, used=10.34GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
#
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel crash when balancing raid56 after low on space
2016-01-15 7:03 kernel crash when balancing raid56 after low on space bbrendon
@ 2016-01-17 19:54 ` bbrendon
0 siblings, 0 replies; 2+ messages in thread
From: bbrendon @ 2016-01-17 19:54 UTC (permalink / raw)
To: linux-btrfs
I was able to get this issue resolved.
I think the key to realize is that when mounting with skip_balance,
that doesn't actually disable/cancel the balance. You still have to
run the 'btrfs balance cancel FS' command. Once I did this, I was able
to mount the FS without the crashing. For some reason a balance resume
was casing the crashes.
I then did a balance dusage=5, and then a full balance. The full
balance has been running for a day so I'm guessing it'll finish
successfully in a few more days.
On Thu, Jan 14, 2016 at 11:03 PM, <bbrendon@gmail.com> wrote:
> Looking for a bit of help getting this FS balanced. I'm getting a
> kernel crash and readonly file system error:
> [ 9357.096562] Workqueue: btrfs-extent-refs btrfs_extent_refs_helper [btrfs]
>
> dmesg output. http://pastebin.com/c9xKvpZ0
>
> This problem began because of performance issues. Basically the FS
> appeared to be hung. (I think because it got to about 100GB free) I
> added a drive and started a rebalance which somehow also hung. I then
> aborted the whole thing, upgraded from 4.3 to 4.4 and after a long
> wait the FS mounted. I deleted more snaps and now when I start a
> balance, the FS goes read-only.
>
> Thanks for any help you can provide! -Brendon
>
> # uname -a
> Linux humvee 4.4.0 #1 SMP Thu Jan 14 15:54:03 PST 2016 x86_64 GNU/Linux
>
> # btrfs --version
> btrfs-progs v4.3
> #
>
> # btrfs fi show
> Label: 'tank0' uuid: d25217dd-91f1-4add-8c07-66eacff9fb28
> Total devices 6 FS bytes used 6.22TiB
> devid 1 size 3.64TiB used 3.52TiB path /dev/sdc
> devid 2 size 3.64TiB used 3.52TiB path /dev/sdd
> devid 3 size 3.64TiB used 3.52TiB path /dev/sde
> devid 4 size 3.64TiB used 3.52TiB path /dev/sdf
> devid 5 size 3.64TiB used 3.52TiB path /dev/sdg
> devid 6 size 3.64TiB used 1.00GiB path /dev/sdh
>
> btrfs-progs v4.3
> #
> # btrfs fi df /tank0
> Data, RAID6: total=10.55TiB, used=6.21TiB
> System, RAID6: total=96.00MiB, used=880.00KiB
> Metadata, RAID6: total=19.59GiB, used=10.34GiB
> GlobalReserve, single: total=512.00MiB, used=0.00B
> #
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-17 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 7:03 kernel crash when balancing raid56 after low on space bbrendon
2016-01-17 19:54 ` bbrendon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).