All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Wuertele <dave-gnus@bfnet.com>
To: linux-raid@vger.kernel.org
Subject: Please help!  How to reconstitute array (drive order problem)?
Date: Wed, 27 Oct 2004 03:51:58 -0700	[thread overview]
Message-ID: <m3vfcw3035.fsf@bfnet.com> (raw)

My 1.5TB SW RAID5 array is hosed because my motherboard stopped
recognizing drives on two of its controllers.  I have moved drives
around so that they are all recognized now, but the drive names have
all changed, and even though I've tried all combinations nothing seems
to work.  I have run out of troubleshooting tools.  Please help!

Here's what I had before the crash:

Motherboard IDE Controller bus 0:  One 250GB drive
Motherboard IDE Controller bus 1:  One 250GB drive
SIS IDE Controller 1 bus 0:        One 250GB drive
SIS IDE Controller 1 bus 1:        One 250GB drive
SIS IDE Controller 2 bus 0:        One 250GB drive
SIS IDE Controller 2 bus 1:        One 250GB drive
SIS IDE Controller 3 bus 0:        One 250GB drive
SIS IDE Controller 3 bus 1:        nothing

These drives came up something like hda, hdi, hdh, hdk, hdm, hdn, hdp,
but I don't know which physical drive got which name.  I had one 240GB
partition from each drive mapped to the RAID5 array md0 in
/etc/raidtab.

When the machine hanged, I found that the bios was not recognizing
both the SIS IDE Controller 1 drives and the SIS IDE Controller 3
drive.  These drives were hda, hdi, and hdk (I only know this because
they were inaccessible after linux booted).

So I moved the drives that were on SIS Controller 1 and 3 onto SIS
Controller 2 and the Motherboard controller.  I know that having two
drives on the same bus is a huge performance hit, but I just want my
data back!!!  On boot, all drives were recognized, but now their names
are different, so I figured all I need to do is edit /etc/raidtab to
reflect the new drive names.  Is that right?

Anyway, using fdisk I discovered that the drives' new names were hde,
hdg, and hdo.  Since I didn't know what physical drive had what
logical name before or after the switch, I tried all six combinations.
For example, the first thing I tried was to do the following in
/etc/raditab:

s/hda/hdo/
s/hdi/hde/
s/hdk/hdg/

I saved raidtab, and rebooted, but the array was not recognized by the
kernel and so I repeated the swap with all six possible combinations.
None of them worked.

Now I'm out of ideas.  How can I reconstruct my raid array?  This data
is very important to me, so any help you might have would be highly
appreciated.

Thanks!
Dave


             reply	other threads:[~2004-10-27 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27 10:51 David Wuertele [this message]
2004-10-27 18:31 ` Please help! How to reconstitute array (drive order problem)? Guy
2004-10-27 12:09   ` David Wuertele
2004-10-27 19:51     ` Guy
2004-10-27 18:54 ` Jim Paris

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=m3vfcw3035.fsf@bfnet.com \
    --to=dave-gnus@bfnet.com \
    --cc=linux-raid@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.