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

2009-11-20 Thread Albert Strasheim
On Fri, Nov 20, 2009 at 8:31 AM, Albert Strasheim full...@gmail.com wrote: 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: Now with one more disk: False alarm.

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

2009-11-20 Thread John Dong
Hi Chris, reproduced the hang; attached are the logs from the sysrq's you suggested. sysrq.txt.gz Description: GNU Zip compressed data On Nov 20, 2009, at 10:35 AM, Chris Mason wrote: On Thu, Nov 19, 2009 at 06:18:49PM -0500, John Dong wrote: Managed to get some kernel logs this time.

Re: Unable to mount loopback devices in RAID mode

2009-11-20 Thread Andi Drebes
Hi! The problem is btrfs randomly changes the current master superblock of the filesystem. Only 1 of the devices will be mountable. You just have to try the other ones, like: $ mount -t btrfs /dev/loop0 /mnt/btrfs mount: wrong fs type, bad option, bad superblock on /dev/loop0, $

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-20 Thread David Nicol
On Fri, Nov 20, 2009 at 12:50 PM, Goffredo Baroncelli kreij...@gmail.com wrote: Any comments ? BR G.Baroncelli since COW semantics require touching directory entries all the way up to the root of the subvolume, for transaction-intensive applications it would make sense to provide something

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-20 Thread Chris Mason
On Fri, Nov 20, 2009 at 07:50:06PM +0100, Goffredo Baroncelli wrote: Hi all, after the Chirs (Ball) email, I thought about a possible btrfs file-system layout, which may permit to snapshot the root and mount (if required) an old snapshot of the root. [ very clear description of a

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-20 Thread David Nicol
On Fri, Nov 20, 2009 at 1:50 PM, Chris Mason chris.ma...@oracle.com wrote: COW semantics require touching btree nodes all the way up to the root of the btree, but this is different from the directory.  Directories are stored in the btree, but you won't have to touch more than 8 or so btree

Re: [RFC] proposal for a btrfs filesystem layout

2009-11-20 Thread Goffredo Baroncelli
Hi Chris, On Friday 20 November 2009, Chris Mason wrote: On Fri, Nov 20, 2009 at 07:50:06PM +0100, Goffredo Baroncelli wrote: Hi all, after the Chirs (Ball) email, I thought about a possible btrfs file-system layout, which may permit to snapshot the root and mount (if required) an old