From: Herta Van den Eynde <herta.vandeneynde@cc.kuleuven.be>
To: linux-raid@vger.kernel.org
Subject: Re: raid1+raid0 mdadm
Date: Sat, 15 Apr 2006 23:32:18 +0200 [thread overview]
Message-ID: <44416662.9050601@cc.kuleuven.be> (raw)
Dariusz Malec wrote:
>
> I can't configure mdadm. I have created 2 raid1 devices and i
> wanted to connect them with raid0. Everything is fine when i use
> command line, but after reboot mdadm starts only raid1 devices.
Not sure if by "mdadm starts only raid1 devices", you're actually
referring to the output of "cat /proc/mdstat", or to the fact that the
devices won't mount properly at boottime.
If the latter: I used to have LABEL references in /etc/fstab, rather
than actual device names, and that proved impracticable for raid1+0 devices.
Suppose you have two raid1 devices, md0 and md1, with which you create
raid0 device md2. You then create an ext2/3 filesystem on md3.
If you dump the header of md2 (# dumpe2fs -h /dev/md2), you will find
the filesystem label you used when you created the filesystem. When you
dump the headers of md0 and md1, you will only see the label on one of
these devices (as is to be expected give that they are members of the
md3 *stripeset*).
When you mount using the label, chances are that it will try to mount
md0 rather than md2.
Changing the LABEL references to actual device names (e.g. /dev/md2)
solved the issue for me.
Kind regards,
Herta
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
next reply other threads:[~2006-04-15 21:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-15 21:32 Herta Van den Eynde [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-21 17:27 raid1+raid0 mdadm Dariusz Malec
2006-03-21 18:00 ` Andre Noll
2006-03-25 18:26 ` Luca Berra
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=44416662.9050601@cc.kuleuven.be \
--to=herta.vandeneynde@cc.kuleuven.be \
--cc=linux-raid@vger.kernel.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 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).