* AW: Am I dead?
@ 2002-12-02 13:53 Martin Bene
2002-12-02 14:17 ` Jakob Oestergaard
0 siblings, 1 reply; 2+ messages in thread
From: Martin Bene @ 2002-12-02 13:53 UTC (permalink / raw)
To: Jakob Oestergaard, Nick Lindsell; +Cc: linux-raid
Hi Jakob / Nick
> > Am I dead or can I "freshen" sda2 so I can at least have 2
> > devices in my array and therefore
> > have a chance of either backing off the data or rebulding
> > with a new sdc ?
>
> http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO.html
>
> Section 6.1 "Recovery from Multiple Disk Failure"
I think a pointer to neils mdadm should be included in the howto: Neils tool
allows much easier recovery from this situation, as it'll just override the
event counter and reuse all the other information. This means that you can't
mess up because of incorrect raidtab etc.
As Neil wrote recently:
mdadm -A /dev/md0 --force /dev/sda1 /dev/sdb1 /dev/sdc2
will only 'force' into the array enough drives to make it work. For
a 3 drive raid5 array, it ony needs to force in 2 drives, so it
takes the two most recent drives and uses them. They will have all
the data on them, but no redundancy.
I suggest that after assembling the array, you 'fsck' the filesystem
on md0 just to make sure that the data is fine and then simply hot-add
the third device:
mdadm /dev/md0 -a /dev/sdc
If fsck reports lots of error..... maybe try force the assmbly from a
different pair of drives. e.g.
mdadm -A --force /dev/sda1 /dev/sdc2
and then do the fsck.
When doing these fscks to see if recovery worked, make sure you only check
but don't write/change anything to the disks. (e2fsck -n for example).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: AW: Am I dead?
2002-12-02 13:53 AW: Am I dead? Martin Bene
@ 2002-12-02 14:17 ` Jakob Oestergaard
0 siblings, 0 replies; 2+ messages in thread
From: Jakob Oestergaard @ 2002-12-02 14:17 UTC (permalink / raw)
To: Martin Bene; +Cc: Nick Lindsell, linux-raid
On Mon, Dec 02, 2002 at 02:53:44PM +0100, Martin Bene wrote:
> Hi Jakob / Nick
>
> > > Am I dead or can I "freshen" sda2 so I can at least have 2
> > > devices in my array and therefore
> > > have a chance of either backing off the data or rebulding
> > > with a new sdc ?
> >
> > http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO.html
> >
> > Section 6.1 "Recovery from Multiple Disk Failure"
>
> I think a pointer to neils mdadm should be included in the howto: Neils tool
> allows much easier recovery from this situation, as it'll just override the
> event counter and reuse all the other information. This means that you can't
> mess up because of incorrect raidtab etc.
>
I completely agree. mdadm is a tremendously useful tool, which I
unfortunately hasn't had the time to get acquainted to.
I will be very happy to include your submission ;)
--
................................................................
: jakob@unthought.net : And I see the elder races, :
:.........................: putrid forms of man :
: Jakob Østergaard : See him rise and claim the earth, :
: OZ9ABN : his downfall is at hand. :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-02 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02 13:53 AW: Am I dead? Martin Bene
2002-12-02 14:17 ` Jakob Oestergaard
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.