Prevent Autodetection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux