fsck.btrfs assertion failure with large number of disks in fs

2009-11-19 Thread Albert Strasheim
Hello all We are experimenting with btrfs and we've run into some problems. We are running on two Sun Storage J4400 Arrays containing a total of 48 1 TB disks. With 24 disks in the btrfs: # mkfs.btrfs /dev/sd[b-y] WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.ke

Re: Unable to mount loopback devices in RAID mode

2009-11-19 Thread jim owens
Andi Drebes wrote: Hi! I recently tried to mount a filesystem in RAID1 mode using loopback devices. I followed the instructions at [1]. Here's exactly what I've done: $ dd if=/dev/zero of=raid1_0.img bs=1M count=500 $ dd if=/dev/zero of=raid1_1.img bs=1M count=500 $ mkfs.btrfs -m raid1 -d raid1

Re: btrfsctl -d race with df -h causes hang?

2009-11-19 Thread John Dong
Managed to get some kernel logs this time. Some sort of deadlock? Nov 19 18:16:54 hideout kernel: [ 721.780120] INFO: task python:2318 blocked for more than 120 seconds. Nov 19 18:16:54 hideout kernel: [ 721.780127] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. No

Re: btrfsctl -d race with df -h causes hang?

2009-11-19 Thread John Dong
I forgot to mention, this is using Ubuntu Karmic's 2.6.31 kernel, with btrfs modules built from the btrfs-unstable.git latest head. On Nov 19, 2009, at 6:05 PM, John Dong wrote: > While attempting to do a full filesystem defrag and checking output of df -h, > I've been able to fairly consistentl

btrfsctl -d race with df -h causes hang?

2009-11-19 Thread John Dong
While attempting to do a full filesystem defrag and checking output of df -h, I've been able to fairly consistently generate a hang: i.e. find / -type f -print0 | xargs -0i btrfsctl -d '{}' and in another terminal, did "watch df -h" Before long, everything hangs, iowait is near 100%, and no IO

Unable to mount loopback devices in RAID mode

2009-11-19 Thread Andi Drebes
Hi! I recently tried to mount a filesystem in RAID1 mode using loopback devices. I followed the instructions at [1]. Here's exactly what I've done: $ dd if=/dev/zero of=raid1_0.img bs=1M count=500 $ dd if=/dev/zero of=raid1_1.img bs=1M count=500 $ mkfs.btrfs -m raid1 -d raid1 raid1_0.img raid1_1.

Re: UI issues around RAID1

2009-11-19 Thread Chris Mason
On Wed, Nov 18, 2009 at 09:59:24AM -0800, Roland Dreier wrote: > > > > Yeah df is just a fun ball of wax in many respects. We don't take into > account > > > RAID and we don't subtrace space thats strictly for metadata, so there > are > > > several things that need to be fixed for df. Thank

kernel oops when trying to compile kernel on btrfs part

2009-11-19 Thread pragnesh radadia
I got following kernel oops when trying to compile kernel on btrfs partation on my laptop. -pragnesh Nov 19 00:38:53 linux-xfxc kernel: [22504.896045] [ cut here ] Nov 19 00:38:53 linux-xfxc kernel: [22504.896052] kernel BUG at /usr/src/packages/BUILD/kernel-desktop-2.6.31