linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Scobie <richard@sauce.co.nz>
To: Tim Bostrom <tbostrom@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: best practice when using removable drives and USB enclosure?
Date: Sun, 18 Oct 2009 07:50:32 +1300	[thread overview]
Message-ID: <4ADA11F8.90000@sauce.co.nz> (raw)
In-Reply-To: <2267211f0910162234s60f52e0pbf29b93bf7141da1@mail.gmail.com>

Tim Bostrom wrote:

> SO..... I don't anticipate changing drives in and out of the last two
> open slots of my USB enclosure, but what would be the best practice
> for making sure md1 comes up at boot all the time without having to
> manually go into mdadm.conf and modify it back to /dev/sdh1 and
> /dev/sdi1 when I put a drive in the open drive slots?

Just remove the devices= entry; it is redundent when you are using UUID's.

mdadm.conf

ARRAY   /dev/md0 level=raid5 num-devices=4
UUID=cdaba8bd:80943c6a:ab2fedca:3ef56cfb
ARRAY   /dev/md1 level=raid1 num-devices=2
UUID=649526d8:828a57b4:ab2fedca:3ef56cfb


Regards,

Richard

  parent reply	other threads:[~2009-10-17 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-17  5:34 best practice when using removable drives and USB enclosure? Tim Bostrom
2009-10-17  8:34 ` Justin Piszcz
2009-10-17  9:42   ` Majed B.
2009-10-17 18:50 ` Richard Scobie [this message]
2009-10-17 19:09   ` Tim Bostrom
2009-10-18 12:26     ` adfas asd

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=4ADA11F8.90000@sauce.co.nz \
    --to=richard@sauce.co.nz \
    --cc=linux-raid@vger.kernel.org \
    --cc=tbostrom@gmail.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;
as well as URLs for NNTP newsgroup(s).