On 05/08/2012 04:08 PM, Fiumara, Gregory wrote:
On 5/8/12 8:34 AM, "[email protected]"<[email protected]>  wrote:

Is there any way to fix the device naming, such that scsi 1:0:0:0 is
sdb also when I install?

You're going to be hard-pressed to have device naming be consistent.  I
believe the kernel under CentOS 6 probes devices depth-first rather than
the older breadth-first method.  You can force this back by adding the
kernel boot option "pci=bfsort", and maybe that will help.

I've personally had SAN devices show up as sda before, which led me to
remove all unnecessary modules from the SystemImager boot kernel.
Sometimes those virtual devices are virtually attached via USB.  If so,
you could remove USB support.  You could also alter your master script to
detect if the virtual drive is sda and automatically format sdb instead,
but eliminating unnecessary devices is probably the better solution.


We had the same problem with SAN and decide to added the BLACKLIST option for 
SALI
{{{
BLACKLIST=kernel_modules

Specify which kernel modules must be blacklisted to prevent udev from loading 
them.

Specify as: BLACKLIST=module_a;module_b;module_c
}}}

In our install script we use the the /dev/ names. In the install script we set a LABEL on the disk and use this LABEL in the /etc/fstab so we are not depended on the /dev/ names anymore.

regards


--
********************************************************************
*  Bas van der Vlies                    e-mail: [email protected]       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to