Skip to contentSkip to conversation

Cannot Mount Btrfs Volume Created By mkfs.btrfs v0.18-26-g0030f1d

BUG Tarkan Erimer 2 participants 5 messages Jun 11, 2009 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I try to format a USB memory with a Btrfs. I can format it with mkfs.btrfs without problems. But; when I try to mount it, it fails to mount with the below error messages. But the USB memory works fine with other filesystems (ext4, XFS etc.). So, the hardware is not faulty.

tarkane@tarkane:~$ sudo mkfs.btrfs -d single -n 4096 /dev/sdb1

WARNING! - Btrfs v0.18-26-g0030f1d IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using

fs created label (null) on /dev/sdb1

        nodesize 4096 leafsize 4096 sectorsize 4096 size 983.98MB
Btrfs v0.18-26-g0030f1d
tarkane@tarkane:~$ sudo mount -t btrfs /dev/sdb1 /mnt
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

And here it is the error log in dmesg

[93428.045686] device fsid 5241391784b5b44e-e9443ebc2843ddb0 devid 1 transid 7 /dev/sdb1
[93428.046593] BTRFS: couldn't mount because of unsupported optional features (1).
[93428.046627] btrfs: open_ctree failed
#1 lore raw
Quoted 10 lines · Tarkan Erimer

Hi,

I try to format a USB memory with a Btrfs. I can format it with mkfs.btrfs without problems. But; when I try to mount it, it fails to mount with the below error messages. But the USB memory works fine with other filesystems (ext4, XFS etc.). So, the hardware is not faulty.

Quoted 4 lines
tarkane@tarkane:~$ sudo mkfs.btrfs -d single -n 4096 /dev/sdb1

WARNING! - Btrfs v0.18-26-g0030f1d IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using

Where did your btrfs-progs come from? You're using the latest and great utilities that create a new disk format. You can find the new disk in the newformat2 branch of btrfs-unstable kernel repo.

(v0.19 will be released with this today).

-chris

#2 lore raw
Quoted 8 lines · Chris Mason

Where did your btrfs-progs come from? You're using the latest and great utilities that create a new disk format. You can find the new disk in the newformat2 branch of btrfs-unstable kernel repo.

(v0.19 will be released with this today).

-chris

Oops, it's my bad. I forgot to compile new "newformat2" kernel ;-)
I think, it will be better for me to take more coffee :-) Sorry for the noise :-)

BTW, maybe you can update the kernel branch to "2.6.30" ?

Tarkan

#3 lore raw
Quoted 7 lines · Tarkan Erimer
Quoted 6 lines · Chris Mason

Where did your btrfs-progs come from? You're using the latest and great utilities that create a new disk format. You can find the new disk in the newformat2 branch of btrfs-unstable kernel repo.

(v0.19 will be released with this today).

Quoted 8 lines
Quoted 2 lines

-chris

Oops, it's my bad. I forgot to compile new "newformat2" kernel ;-) I think, it will be better for me to take more coffee :-) Sorry for the noise :-)

BTW, maybe you can update the kernel branch to "2.6.30" ?

The newformat2 branch is on 2.6.30 as of last night.

-chris

#4 lore raw
Quoted 5 lines · Chris Mason

The newformat2 branch is on 2.6.30 as of last night.

-chris

Thanks! I will try, immediately :-)