I tried this a while back and found that if there is another module that wants to load and it depends on qla2xxx, then qla2xxx get loaded anyway.
So basically, you’d have to find all the modules (that depend on qla2xxx) that “could” get loaded and blacklist them as well.
Such a pain.
ESX kickstart has an option to disable san disks.
Why can’t redhat?
It’s so much more simple than all these workarounds.
From: kickstart-list-bounces redhat com [mailto:kickstart-list-bounces redhat com] On Behalf Of Dirk Willemans
Sent: Wednesday, February 01, 2012 10:35 AM
To: Discussion list about Kickstart
Subject: Re: How do I disable san/fiber channel connectivity at boot whenusing the RH/Centos 6 installer
You can blacklist a module when you start the installation.
append initrd=/boot/initrd.img blacklist=qla2xxx
On Wed, Feb 1, 2012 at 15:56, Allen, Jack <Jack Allen mckesson com> wrote:
From: kickstart-list-bounces redhat com [mailto:kickstart-list-bounces redhat com] On Behalf Of Kovacs, Corey J.
Sent: Wednesday, February 01, 2012 9:27 AM
To: Discussion list about Kickstart
Subject: RE: How do I disable san/fiber channel connectivity at boot whenusing the RH/Centos 6 installer
Not sure if it's still useful but there used to be a 'nostorage' option you could put on the boot line. Then you had to specify what you wanted to load in the preamble of the kickstart file. Not sure if it's still there tho. For example.
device scsi cciss
would work for rhel4/5 and HP gear.
On rhel6+, you'd put
for the same machine since the driver changed.
Another option is to figure out what storage drivers get loaded for your hardware and explicitly unload them in the %pre section if the install, for example.
modprobe -r qla2xxx
There are other ways but these have worked for me. Also, make sure if you are doing kickstarts with FC connected that your SAN is set up properly and fibre switches zoned etc or you could end up with a bunch of empty luns across the san.
Hope this helps.
From: kickstart-list-bounces redhat com [kickstart-list-bounces redhat com] on behalf of Vratislav Podzimek [vpodzime redhat com]
Sent: Wednesday, February 01, 2012 6:18 AM
To: kickstart-list redhat com
Subject: Re: How do I disable san/fiber channel connectivity at boot when using the RH/Centos 6 installer
On Tue, 2012-01-31 at 13:41 -0600, Brent Clements wrote:
> How do I disable san/fiber channel connectivity at boot when using the
> RH/Centos 6 installer?
> We have a ton of luns that are provisioned to this server and it takes
> a long time for us to scroll through the disks to find the local diskyou w
> for the install when we manually provision a system. is there a nosan
> or nofiberchannel option for the boot options when booting a boot iso?
Where do you have such a long list? If you choose "Specialized Storage
Devices" then you have a screen with tabs. Only the last one (for
searching) contains all items. If you want to find your local disk, just
stay on the first tab -- "Basic Devices". There shouldn't be any of your
luns on this tab.
I don't understand what could be a problem here.
When I had this problem on a system a while back, I just unplugged the FC cable and did the install because I only needed the local disk to store the OS on. Data would be on the SAN LUNs and setup later. Then when it was time to reboot after the install completed, I plugged the FC cables back in.
Jackson C. Allen
McKesson Provider Technologies
5995 Windward Parkway
Alpharetta, GA 30005
Jack Allen McKesson com
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.