excluding multipath devices using a pre script during kickstart

Nik Lam nlf482n at med.usyd.edu.au
Fri Aug 14 06:22:15 UTC 2009


Thanks Thomas - that looks promising.

Do you ever use this LVM-based filtering with a kickstart installation?

I'm unsure of what point the lvm.conf file would be read during the
installation process. I might try some experiments, but I'm not too
hopeful.

I've noticed there is a multipath option in kickstart, which includes a
--rule= parameter, but I can't find any documentation of how it's used.

Regards,

Nik



On Thu, 2009-08-13 at 12:18 +0200, Thomas.vonSteiger at swisscom.com wrote:
> Hi,
> 
> Filter for storage devices can be defined in /etc/lvm/lvm.conf.
> We are install systems only on san storage always on mpath devices. Root filesystem are located on mpath devices for boot.
> For this we use this filter:
> 
> filter = [ "a|/dev/mapper/mpath|", "r|.*|" ]
> 
> regards,
> Thomas
> 
> -----Original Message-----
> From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Nik Lam
> Sent: Thursday, August 13, 2009 8:29 AM
> To: Redhat-install-list at redhat.com
> Subject: excluding multipath devices using a pre script during kickstart
> 
> Hi,
> 
> I'm having trouble using kickstart to install onto an HP BL 465c G1
> blade that has 2 LUNs presented to it from fibre-channel SAN. The first
> one is where I want to install the system to, the second one is for use
> later on.
> 
> A manual install from media works fine with no modifications to the
> system, however the kickstart fails unless we remove all but one of the
> LUNs presented to the system. This appears to be some kind of bug with
> kickstart.
> 
> Unfortunately we don't have administrative control over the SAN, so it's
> inconvenient to modify what LUNs are presented to a host for an install
> (and in an emergency rebuild, we'd have to wait for them).
> 
> Can anyone here provide me with clues on how to mask or filter the
> unneeded multipath devices during the install? I think a pre-script must
> be the way, but I'm not sure where to start.
> 
> Regards,
> 
> Nik
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe




More information about the Redhat-install-list mailing list