Re: Recover SCSI disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux