Douglas Gilbert said the following on 21/10/2005 02:11:
Robin, You may like to fetch sg3_utils and try sg_format thus: sg_format /dev/sda assuming a disk you have fetched from the array is placed at /dev/sda .
Douglas, THanks for the tip, I'll give it a go.
If that fails, the disk is probably dead. Otherwise it should tell you several things (and doesn't change anything). Often drives in RAIDs are formatted to a sector size slightly greater than 512 bytes. To re-use the disk (freestanding) in linux you will need to format it back 512 bytes thus: sg_format --format --size=512 /dev/sda A format may not be needed. In any case, the next step would usually be to partition the disk (e.g. with fdisk) then make a file system on one or more of its partitions (e.g. with mkfs.ext3 ). The disk (or at least its partition) should then be ready to mount and use.
Thanks again, R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still wrong? - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html