linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "Invalid argument" when mounting a btrfs raid1 filesystem
@ 2012-03-24 17:40 Christoph Groth
  2012-03-24 18:16 ` Sander
  2012-03-24 18:21 ` Hugo Mills
  0 siblings, 2 replies; 8+ messages in thread
From: Christoph Groth @ 2012-03-24 17:40 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I'm trying to install current Debian testing (=kernel version 3.2) with
btrfs as the root file system.  There is also a small ext3 /boot
partition.

I create a btrfs raid1 file system with the command

mkfs.btrfs -d raid1 /dev/sda2 /dev/sdb2

Then I can mount it and finish the installation successfully.  Booting
doesn't work, however: initrd complains that it cannot mount /dev/sda2:
"Invalid argument".

The funny thing is, that in the initrd console I can mount /dev/sdb2!
So I changed the kernel parameter in grub.cfg to mount /dev/sdb2
instead, but the problem persists: Now I can mount /dev/sda2 in the
initrd console!

In fact, when I boot a rescue system from a thumbdrive, the same thing
happens:

# mount -t btrfs /dev/sda2 /mnt
mount: mounting /dev/sda2 on /mnt failed: Invalid argument
# mount -t btrfs /dev/sdb2 /mnt
#

When I keep trying to mount the same device, it keeps failing.  When I
start mounting /dev/sdb2, it works for /dev/sda2...

Isn't this very weird?  Any ideas?

thanks,
Christoph


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

end of thread, other threads:[~2012-04-09 11:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 17:40 "Invalid argument" when mounting a btrfs raid1 filesystem Christoph Groth
2012-03-24 18:16 ` Sander
2012-03-24 18:21 ` Hugo Mills
2012-03-24 18:58   ` Alex
2012-03-24 22:26     ` Christoph Groth
2012-03-26  8:51   ` Karel Zak
2012-03-26 15:00     ` Calvin Walton
2012-04-09 11:58       ` Martin Steigerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).