logo       

Re: "failed-disk" ?: msg#00128

linux.raid

Subject: Re: "failed-disk" ?



Actually I thought that meant only when converting a root to raid, but
as a random guess tried this. I had to physically swap the lines so it
looked like:

device /dev/lvm-vg2/lvm2
raid-disk 1
device /dev/lvm-vg1/lvm1
failed-disk 0

It came right up after that.


Thus spake danci@xxxxxxxxx (danci@xxxxxxxxx):

> On Mon, 24 Mar 2003, Robert L. Harris wrote:
>
> > I'm at the point of trying to restart /dev/md0 with one mirror dead.
> > My raidtab looks like this:
> >
> > raiddev /dev/md0
> > raid-level 1
> > nr-raid-disks 2
> > nr-spare-disks 0
> > chunk-size 16
> > persistent-superblock 1
> > device /dev/lvm-vg1/lvm1
> > raid-disk 0
> > device /dev/lvm-vg2/lvm2
> > raid-disk 1
> >
> > I changed the first raid-disk line to be:
> > failed-disk 0
>
> I'm not sure if this is your problem, but the Software RAID How-To says:
>
> "Don't put the failed-disk as the first disk in the raidtab, that will
> give you problems with starting the RAID. Create the RAID, and put a
> filesystem on it."
>
> It may be that SW RAID cannot really use LVMs. It is usually the
> other way around (LVM using RAID arrays).
>
> D.

:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.

Diagnosis: witzelsucht

IPv6 = robert@xxxxxxxxxxxxx http://ipv6.rdlg.net
IPv4 = robert@xxxxxxxxxxxxx http://www.rdlg.net

Attachment: pgpVcm7LLGxcs.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise