Re: [ANNOUNCE] Btrfs v0.13

From: Alex Chiang
Date: Mon Mar 31 2008 - 18:47:24 EST


* David Miller <davem@xxxxxxxxxxxxx>:
> From: Alex Chiang <achiang@xxxxxx>
> Date: Mon, 31 Mar 2008 14:26:33 -0600
>
> > I've gotten as far as successfully creating a btrfs filesystem
> > (at least that's what btrfsck tells me), but haven't been able to
> > mount it yet, probably because of the sector size issue.
>
> You should be able to make a filesystem with a sector
> size >= PAGE_SIZE and it should work just fine. Please
> give it a try.

So, using the patch from my last mail, I created a btrfs, but was
unable to mount it...

[root@canola btrfs]# getconf PAGESIZE
16384

[root@canola btrfs]# mkfs.btrfs -E sectorsize=16384 /dev/cciss/c2d1
found device 1 on /dev/cciss/c2d1
lowest devid now 1
found Btrfs on /dev/cciss/c2d1 with 1 devices
opening /dev/cciss/c2d1 devid 1 fd 5
alloc chunk size 8388608 from dev 1
alloc chunk size 8388608 from dev 1
fs created on /dev/cciss/c2d1 nodesize 16384 leafsize 16384
sectorsize 16384 bytes 73372631040

[root@canola btrfs]# mount -t btrfs /dev/cciss/c2d1 /mnt/btrfs
mount: /dev/cciss/c2d1: can't read superblock

And from /var/log/messages:

Mar 31 16:50:23 canola kernel: btrfs: cciss/c2d1 checksum verify
failed on 16384 wanted A76CDD59 found 4A0E371 from_this_trans 0
Mar 31 16:50:23 canola kernel: btrfs: valid FS not found on cciss/c2d1
Mar 31 16:50:23 canola kernel: btrfs: open_ctree failed

Any hints?

/ac

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/