Greg, Thanks for the response, unfortunately, its not that straightforward, as /dev/sda can be your LUN and /dev/sdc can be the drive you want to install (local drive) and vice versa.
I did more searching and found another method that can do what I want, instead of defining the order of modules (which is nice - but it seems it only exists on ESXi so far), we can blacklist the modules we don't want. In my case, I want to avoid installation on LUNs so blacklisting common lpfc and qlogic modules should do the trick. Excerpt from RHEL5.7 release notes: * A new kernel boot command-line argument blacklist= is now recognized in Anaconda that lets the user blacklist troubling drivers. Such drivers are then not loaded by Anaconda. (BZ#569883<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=569883>) Now its never this easy and for some odd reason, bz above is not public. Whoever decided this should be private needs to consider there are other folks who may benefit of an undocumented feature! Thanks ilya ________________________________ From: rhelv5-list-boun...@redhat.com [mailto:rhelv5-list-boun...@redhat.com] On Behalf Of Greg Swift Sent: Thursday, October 27, 2011 10:25 PM To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list Subject: Re: [rhelv5-list] Anaconda and disk selection based on module name (similar to ESXi) On Thu, Oct 27, 2011 at 18:29, Musayev, Ilya <imusa...@webmd.net<mailto:imusa...@webmd.net>> wrote: Keep searching the net to see if I can specify which module to use when anaconda loads and looks for a disk. Example, with ESXi 4.1, granted being somewhat different from RHEL linux, I have an option to specify the order in which the installer will look for the disk drive. Example: hpsa, cciss, mptsas, local Local is the final fall back method if nothing else is found. What I like about this approach is that it wont pick lpfc or qlogic modules and install on the LUN. The goal is to avoid the installation of the OS on the LUNs that may be left connected when you re-provision the host. How do you deal with this issue? lookup ignoredisk option in kickstart options. that might handle your concern. http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-kickstart2-options.html
_______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list