From: Douglas Gilbert <dougg@torque.net>
To: Robin Bowes <robin-lists@robinbowes.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Recover SCSI disks
Date: Fri, 21 Oct 2005 11:11:39 +1000 [thread overview]
Message-ID: <4358404B.9080006@torque.net> (raw)
In-Reply-To: <dj8a8v$ta0$1@sea.gmane.org>
Robin Bowes wrote:
> Hi,
>
> I've got a Compaq U2 storage array connected to a Compaw Smart 2/p
> controller with an assortment of 4.3GB and 9.1GB disks that I use for
> testing purposes.
>
> Some of the drives have "died" on me, i.e. I get yellow lights when they
> are plugged into the arrays.
>
> Is it possible to do anything low-level to ressurect these drives? e.g.
> take them out of their caddies, connected them directly to a SCSI
> controller and low-level format them or something?
>
> (There's no data on them - I just want them to work again!)
>
> Any suggestions appreciated.
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 .
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.
Doug Gilbert
next prev parent reply other threads:[~2005-10-21 1:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 14:40 Recover SCSI disks Robin Bowes
2005-10-21 1:11 ` Douglas Gilbert [this message]
2005-10-21 11:35 ` Robin Bowes
2005-10-21 11:38 ` Robin Bowes
2005-10-21 12:43 ` Robin Bowes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4358404B.9080006@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=robin-lists@robinbowes.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).