On 02/08/09 18:02, Luc Willems wrote:
looking around on linux kernel mailing list i found this thread
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg02487.html
it mentions that using new version .19 of tools on "old" 2.6.30 kernel will not work because of change in internal data storage structure.
factory is using following versions : kernel :kernel-default-base-2.6.30.2-1.1 btrfs tools: btrfsprogs-0.19-2.2
There is a backport for 2.6.30 kernels. so is this backport included in openSuSE kernel or do we need to downgrade btrfsprogs ?
luc
You just reminded me, yesterday I read a long article via linuxtoday.com about btrfs, that's what prompted me to try it. It did mention the kernel problem and how Linus had to be rescued when he could no longer get at data on 2.6.30 - may be he couldn't boot as he is using btrfs as his root filesystem. It'll be a while before I try using it for root seriously, perhaps on a spare box pretty soon if and after 2.6.31-rc appears in factory. Regards Sid.
On Sunday 02 August 2009 13:50:45 Luc Willems wrote:
Hello,
i'm trying to test the new btrfs filesystem in opensuse factory.
i have currently followin kernel and btrfs packages installed: kernel-default-2.6.30-10.1 btrfsprogs-0.19-2.2
i'm running this in VirtualBox 3.0.2 i can create btrfs on /dev/sdb1 but when i mount it , i get following error :
linux-m4pt:/home/luc # mount -vvvv /dev/sdb1 /data mount: fstab path: "/etc/fstab" mount: mtab path: "/etc/mtab" mount: lock path: "/etc/mtab~" mount: temp path: "/etc/mtab.tmp" mount: UID: 0 mount: eUID: 0 mount: spec: "/dev/sdb1" mount: node: "/data" mount: types: "(null)" mount: opts: "(null)" mount: you didn't specify a filesystem type for /dev/sdb1 I will try type btrfs mount: mount(2) syscall: source: "/dev/sdb1", target: "/data", filesystemtype: "btrfs", mountflags: -1058209792, data: (null) mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
looking in dmes , i see following :
[ 3086.053308] device fsid 3446bae7efc3e33f-daf4e58f9a3617ae devid 1 transid 7 /dev/sdb1 [ 3086.054435] BTRFS: couldn't mount because of unsupported optional features (1). [ 3086.054593] btrfs: open_ctree failed
checking the device seems to be ok linux-m4pt:/home/luc # btrfsck /dev/sdb1 found 28672 bytes used err is 0 total csum bytes: 0 total tree bytes: 28672 total fs tree bytes: 4096 btree space waste bytes: 23875 file data blocks allocated: 0 referenced 0 Btrfs Btrfs v0.19
luc
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org