Robin Bowes said the following on 21/10/2005 12:38:
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 .
Hmm, sg3_utils doesn't seem to contain sg_format:
[root@compact ~]# rpm -ql sg3_utils
/usr/bin/scsi_devfs_scan
/usr/bin/sg_dd
/usr/bin/sg_inq
/usr/bin/sg_logs
/usr/bin/sg_map
/usr/bin/sg_modes
/usr/bin/sg_rbuf
/usr/bin/sg_read
/usr/bin/sg_readcap
/usr/bin/sg_reset
/usr/bin/sg_scan
/usr/bin/sg_senddiag
/usr/bin/sg_start
/usr/bin/sg_test_rwbuf
/usr/bin/sg_turs
/usr/bin/sginfo
/usr/bin/sgm_dd
/usr/bin/sgp_dd
(man pages snipped)
Let me re-phrase that, the Fedora Core 4 sg3_utils-1.06-5 rpm doesn't
contain sg_format (the above listing is from there).
I see from rpmfind that it is in the mandrake sg3_utils-1.16-1mdk rpm.
Ah, I've got the latest version from http://sg.torque.net/sg/index.html
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