All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ekkehard Lissner <ekkehard@lissners.de>
To: linux-raid@vger.kernel.org
Subject: mkraid-problems
Date: Fri, 15 Aug 2003 22:33:21 +0200	[thread overview]
Message-ID: <3F3D4391.2020702@lissners.de> (raw)

Hello,

I have a problem with a raid-5-array. The array consits of 3 disks, 
sdb1, sdc1 and sdd1.

First I found disk sdb1 out of synch - the timestamp caused it to be 
kicked out of the array.
Second I added the device again with raidhotadd to the array.
Third I rebooted the machine after I had seen a "synched"-message in syslog.

When the machine boots up, it stopped because the raid could not start 
up again.

When starting the raid manually with raidstart, it shows up that sdb1 
and sdc1 have the same timestamp,
sdd1 is a lower timestamp. But for some strange reason, sdb1 is also not 
in the array. This results in
the array not comming up, because it can not run with only one disk left.

My question here:
How can I reconstruct the array without losing my data?
The device was formated with a ext2-fs, and since the first failure im 
very confident that no write-access
has been done to the array (it was mounted read-only).
What is the effect of mkraid -f? Does it force a re-construct and does 
this destroy the filesystem on the md-device?

If there is no normal way to reconstruct the array without losing my 
data, how about patching the timestamps with
a disk-editor? Which bytes must be read from sdc1 and be written to sdd1 
and sdb1?

Regards
Ekkehard Lissner




             reply	other threads:[~2003-08-15 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-15 20:33 Ekkehard Lissner [this message]
2003-08-15 21:01 ` mkraid-problems Neil Brown

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=3F3D4391.2020702@lissners.de \
    --to=ekkehard@lissners.de \
    --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.