linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Laager <rlaager@wiktel.com>
To: linux-raid@vger.kernel.org
Subject: Prevent Autodetection
Date: Tue, 11 Jun 2013 04:36:22 -0500	[thread overview]
Message-ID: <1370943382.26636.39.camel@watermelon.coderich.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

I have a virtualization host running on an MD root filesystem. I also
have two whole disks allocated to a virtualized guest which is doing an
MD RAID1. The host is seeing the array (i.e. it shows up
in /proc/mdstat). I'd like to prevent this, if for no other reason than
if there's a problem with that array, it prevents (or at least delays)
booting the host.

I've tried setting "AUTO +1.x homehost -all" "AUTO homehost -all" and
even "AUTO -all" in /etc/mdadm/mdadm.conf. I'm updating the initrd and
rebooting after each change. I've tried "msdos" as well as GPT labels on
the disks used by the guest. In every case I've tried, it's still
imported.

I'm running Ubuntu 12.04 "Precise" on both the host and the guest.

$ uname -a
Linux HOSTNAME 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux

$ mdadm --version
mdadm - v3.2.5 - 18th May 2012

Does this suggest the initrd scripts are broken on Ubuntu, am I doing
something wrong, or is it just not possible to prevent this
autodetection?

Thanks for any insight you can provide!

-- 
Richard

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2013-06-11  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  9:36 Richard Laager [this message]
     [not found] ` <CAFCYAscJyrFi0oTPn1v9Ey8LXgwHvt=pbWOe0SqMq2-WT5GGVA@mail.gmail.com>
2013-06-11 10:33   ` Prevent Autodetection Richard Laager
2013-06-11 10:34 ` Dmitrijs Ledkovs
2013-06-11 21:14   ` Richard Laager

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=1370943382.26636.39.camel@watermelon.coderich.net \
    --to=rlaager@wiktel.com \
    --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).