From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm and md
Date: Mon Mar 10 02:05:02 2003 [thread overview]
Message-ID: <3E6C46F3.4050500@comedia.it> (raw)
In-Reply-To: <3E6BEB8B.4040802@exavio.com.cn>
Peter Yao wrote:
>> why would you need to hide the hardware details from md ?
>
> I am using some hot-plugging disks and their device number may change
> after reboot. For example, if i build md with /dev/sda and /dev/sdb,
> after reboot md may cannot start because the two disks' device name
> change to /dev/sdc and /dev/sdd. If i build md on top of lvm this
> problem is avoided. Can you give me some advice for this issue?
it depends on what you use to start your md devices, using raidstart
with an /etc/raidtab file shows this behaviour, using auto-detect does
not but is only available at boot. best thing would be to use mdadm
instead of raidstart
http://www.cse.unsw.edu.au/~neilb/source/mdadm
with this you can define your raid arrays based on UUID instead.
to create mdadm conf file use:
echo "DEVICE partitions" >> /etc/mdadm.conf
mdadm -E -s |grep ARRAY >> /etc/mdadm.conf
--
Luca Berra -- bluca@comedia.it
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2003-03-10 2:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-07 8:01 [linux-lvm] lvm and md Peter Yao
2003-03-07 8:11 ` Heinz J . Mauelshagen
2003-03-07 9:42 ` Jon Bendtsen
2003-03-09 19:35 ` Peter Yao
2003-03-10 2:05 ` Luca Berra [this message]
2003-03-10 3:05 ` William Blunn
2003-03-10 3:29 ` William Blunn
2003-03-10 8:17 ` [linux-lvm] not enough free/allocatable physical extents to extend logical volume Ron Arts
2003-03-10 3:50 ` [linux-lvm] lvm and md Jon Bendtsen
2003-03-09 16:59 ` Stephan Austermuehle
-- strict thread matches above, loose matches on Subject: below --
2003-03-07 8:09 Koch, Steffen
2003-03-10 6:57 Rechenberg, Andrew
2003-03-20 3:36 Rocky Lee
2003-03-20 4:04 ` jon+lvm
2003-03-20 19:45 Rocky Lee
2003-03-21 2:22 ` jon+lvm
2003-03-21 9:54 ` Dale J. Stephenson
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=3E6C46F3.4050500@comedia.it \
--to=bluca@comedia.it \
--cc=linux-lvm@sistina.com \
/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