maybe you can edit /etc/mdadm.conf, this file control the auto-assemble of
md device.

for more info, please man mdadm.conf.

On Tue, Mar 2, 2010 at 9:06 AM, Michael Torrie <[email protected]> wrote:

> Michael Torrie wrote:
> > I've heard that you can label the superblocks on the RAID members with
> > hostname so they won't auto-assemble except on their proper host.  But
> > the RAIDs were created by the RHEL installer and I have no idea if they
> > were labeled or not.  I can't find any information on this other than
> > vague references.  The man page of mdadm isn't of any help here as well.
>
> So I tried this:
>
> mdadm -A /dev/md3 --homehost=<vmhostname> --update=homehost --auto=yes
> /dev/sdd1 /dev/sdp1
>
> And it didn't complain and assembled my array on md3.  After
> disassembling the array and rebooting the dom0, once again it
> auto-assembled the dang things.
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>



-- 
---------------------------------------------------------------
Regards!
Li Yong
Email:   [email protected]
Cell Phone: 13064787950
MSN Messenger: [email protected]
Skype: sanyork
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to