Ok my saga into software RAID continues.  Here's an interesting trick. 
The SATA controller on the supermicro actually looks like a SCSI device to
the OS.

I'm not sure if this true about all SATA controllers.

Anyway on my box it is possible to hotswap SATA drives the same way SCSI
drives are swapped.

The old drive can be removed with:

echo "scsi remove-single-device 0 0 n 0" > /proc/scsi/scsi

where n is the LUN number for the drive...

The new drive can be added with:

echo "scsi add-single-device 0 0 n 0" > /proc/scsi/scsi

again where n is the LUN number for the drive...

The more I learn about SATA software RAIDs, the more I think they aren't
so bad.

-- 
Christopher Baus
http://www.baus.net/
Tahoe, Wine, and Linux.

_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://lists.rlug.org/mailman/listinfo/rlug

Reply via email to