Scripted RAID config

Philip Rowlands phr at doc.ic.ac.uk
Fri Oct 8 06:33:50 UTC 2004


On Thu, 7 Oct 2004, Peter Eisch wrote:

> hds=`awk '{print $4}' < /proc/partitions |grep sd[a-z]$`
>
>I can skip the hardware raid controllers (cciss/ida <--assuming that's a
>raid controller) as folks are already doing hardware raid.
>
>Would a scsi cdrom show up under /dev/cd* or might it pose as an sd-device?
>(I've never loaded a system with something other than atapi drives it
>seems.)

SCSI CDs appear as /dev/scd*, and don't appear at all (IIRC) in
/proc/partitions, although some CDs (e.g. Solaris installation discs)
*do* have a partition table but I don't think Linux fully supports them.


Cheers,
Phil




More information about the Kickstart-list mailing list