public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.29-rc1: Cannot loopback mount btrfs formatted file
@ 2009-01-11 21:44 Peter Klotz
       [not found] ` <200901120015.14521.mail@earthworm.de>
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Klotz @ 2009-01-11 21:44 UTC (permalink / raw)
  To: linux-btrfs

Since 2.6.29-rc1 contains btrfs I had to try it.

However the loopback mount of my btrfs formatted file fails:

user@host:~$ dd if=/dev/zero of=btrfs.img bs=1MB count=512

user@host:~$ mkfs.btrfs btrfs.img
fs created label (null) on btrfs.img
     nodesize 4096 leafsize 4096 sectorsize 4096 size 488.28MB
Btrfs v0.16+da35ab2b0b54

user@host:~$ sudo mount -t btrfs -o loop btrfs.img /mnt/btrfs
mount: /dev/loop1: can't read superblock


Is this version of mkfs.btrfs compatible with the kernel module in 
2.6.29-rc1?

Any help is appreciated.

Regards, Peter.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.29-rc1: Cannot loopback mount btrfs formatted file
       [not found] ` <200901120015.14521.mail@earthworm.de>
@ 2009-01-12  6:14   ` Peter Klotz
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Klotz @ 2009-01-12  6:14 UTC (permalink / raw)
  To: linux-btrfs

Christian Hesse wrote:
> On Sunday 11 January 2009, Peter Klotz wrote:
>> Since 2.6.29-rc1 contains btrfs I had to try it.
>>
>> However the loopback mount of my btrfs formatted file fails:
>>
>> user@host:~$ dd if=/dev/zero of=btrfs.img bs=1MB count=512
>>
>> user@host:~$ mkfs.btrfs btrfs.img
>> fs created label (null) on btrfs.img
>>      nodesize 4096 leafsize 4096 sectorsize 4096 size 488.28MB
>> Btrfs v0.16+da35ab2b0b54
>>
>> user@host:~$ sudo mount -t btrfs -o loop btrfs.img /mnt/btrfs
>> mount: /dev/loop1: can't read superblock
>>
>>
>> Is this version of mkfs.btrfs compatible with the kernel module in
>> 2.6.29-rc1?
> 
> You have to use the btrfs-progs from unstable git repository. Chris plans to 
> release a new stable version within one day though.

Thanks, Btrfs v0.16-40-g6a63d49 worked fine.

Regards, Peter.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-12  6:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11 21:44 2.6.29-rc1: Cannot loopback mount btrfs formatted file Peter Klotz
     [not found] ` <200901120015.14521.mail@earthworm.de>
2009-01-12  6:14   ` Peter Klotz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox