[Tfug] Multiple SCSI cards and RAID question

Nick Lopez i.am at the.glowingmonkey.org
Sun Nov 27 00:11:34 MST 2005


On Sat, Nov 26, 2005 at 10:19:23AM -0700, Mike Morrell wrote:
>  I have two SCSI cards in my computer.  On the second card I have a set 
> of drives that I am using in a software RAID 5 array as defined in 
> raidtab.   Normally the drives on the first card, an external array, are 
> off so the drives in raidtab are defined as /dev/sda(bcd)1.  If you have 
> not guessed by now, when I turn on the external drives on the first card 
> and then boot into linux the RAID array can start because all the drives 
> that are part of the array are now under different names.
>  One solution of course is to move the cards/drives around so the 
> drives that will be on all the time are first but to me that seems like 
> a Microsoft answer to the problem.  How can I setup my RAID to use the 
> physical device location (/dev/scsi/host1/bus0/target3/lun0/part1) to 
> access the raid even if other drives get turned?  Of course I would try 
> /dev/scsi/... in my raidtab but at least for kernel 2.6.14 and udev 
> these devices dont exist anymore.
  Easy, don't use raidtab, the kernel can find all the parts and reassemble
them itself or also mdadm will scan too I think.  I'm not sure what you
might have to do to migrate the array from needing a raidtab but it should
be simple.

  - Nick Lopez
    spamtrap at glowingmonkey.org

  -- Randomly selected signature --
Atheism is no more a religion that baldness is a hair colour.


More information about the tfug mailing list