From: Jens Axboe <jens.axboe@oracle.com>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: can't mount RAID-1 btrfs after reboot
Date: Fri, 14 Aug 2009 12:41:09 +0200 [thread overview]
Message-ID: <20090814104109.GO12579@kernel.dk> (raw)
In-Reply-To: <4A852FB2.2030205@wpkg.org>
On Fri, Aug 14 2009, Tomasz Chmielewski wrote:
> I can't mount RAID-1 btrfs after reboot (well, sort of).
>
> Using 2.6.31-rc5 and btrfs-progs 0.19, I created a RAID-1 fileystem
> using these command line options:
>
> # mkfs.btrfs -L btrfs-data -m raid1 -d raid1 /dev/sda4 /dev/sdb4
>
>
> After which I was able to mount the filesystem with either of the below
> (or both):
>
> # mount /dev/sda4 /mnt/btrfs-sda4
>
> # mount /dev/sdb4 /mnt/btrfs-sdb4
>
>
> After a reboot, I'm no longer able to mount the filesystem from /dev/sda4:
>
> # mount /dev/sda4 /mnt/btrfs/
>
> Mount command complains and doesn't mount it and says I can find more
> info in dmesg:
>
> Btrfs loaded
> device label btrfs-data devid 1 transid 67 /dev/sda4
> btrfs: failed to read the system array on sda4
> btrfs: open_ctree failed
>
>
> I'm able to mount the filesystem by using /dev/sdb4:
>
> # mount /dev/sdb4 /mnt/btrfs/
>
> After which I can unmount it, and use /dev/sda4 to mount the filesystem:
>
> # umount /dev/sdb4
> # mount /dev/sda4 /mnt/btrfs/
Try btrfsctl -a first.
--
Jens Axboe
next prev parent reply other threads:[~2009-08-14 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 9:34 can't mount RAID-1 btrfs after reboot Tomasz Chmielewski
2009-08-14 10:41 ` Jens Axboe [this message]
2009-08-30 23:09 ` Tomasz Chmielewski
2009-08-31 5:21 ` Calvin Walton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090814104109.GO12579@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=mangoo@wpkg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.