All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Bowes <robin-lists@robinbowes.com>
To: dougg@torque.net
Cc: linux-scsi@vger.kernel.org
Subject: Re: Recover SCSI disks
Date: Fri, 21 Oct 2005 12:35:59 +0100	[thread overview]
Message-ID: <4358D29F.1010206@robinbowes.com> (raw)
In-Reply-To: <4358404B.9080006@torque.net>

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?

  reply	other threads:[~2005-10-21 11:36 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
2005-10-21 11:35   ` Robin Bowes [this message]
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=4358D29F.1010206@robinbowes.com \
    --to=robin-lists@robinbowes.com \
    --cc=dougg@torque.net \
    --cc=linux-scsi@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.