listing drives attached to a particular controller

Darrick J. Wong djwong at us.ibm.com
Thu Jun 14 19:08:11 UTC 2007


On Mon, Jun 11, 2007 at 02:31:03PM -0700, Gaston, Jason D wrote:
> How would you go about listing the hard drives attached to a particular
> controller?  For example, say you have a SCSI controller card w/ drives
> and an onboard SATA RAID controller in your system.  In the future,
> dmraid will have the ability to create a RAID array from the command
> line.  You may want to only add drives to the array that are attached to
> the same controller.  Otherwise, when the system boots, the RAID option
> ROM may display the RAID array as broken, as it will only see the drives
> attached to the single controller.
> 
> Should this functionally be added to the dmraid utility?  Should dmraid
> block or warn about using block devices that are attached to different
> controllers?

Seems reasonable to me.  I suppose it's possible that one could end up
in that situation while recovering a RAID array, but a warning message
would be helpful if one accidentally biffs it. :)

--D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20070614/83caf67a/attachment.sig>


More information about the Ataraid-list mailing list