* mkraid-problems
@ 2003-08-15 20:33 Ekkehard Lissner
2003-08-15 21:01 ` mkraid-problems Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Ekkehard Lissner @ 2003-08-15 20:33 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mkraid-problems
2003-08-15 20:33 mkraid-problems Ekkehard Lissner
@ 2003-08-15 21:01 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2003-08-15 21:01 UTC (permalink / raw)
To: Ekkehard Lissner; +Cc: linux-raid
On Friday August 15, ekkehard@lissners.de wrote:
>
> 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?
>
Your array sounds very sick, though it is not at all clear what the
problem really is.
I suggest you get mdadm, and use
mdadm --assemble --force /dev/md0 /dev/sd[bcd]1
It will try to assemble the array for force-update event counts as
necessary.
What kernel version are you running?
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-15 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 20:33 mkraid-problems Ekkehard Lissner
2003-08-15 21:01 ` mkraid-problems Neil Brown
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).