archive mirror
 help / color / mirror / Atom feed
From: Max Ehrlich <>
Subject: [linux-lvm] Recovering Failed LVM Raid-5 Array
Date: Wed, 24 Jul 2019 21:32:20 -0400	[thread overview]
Message-ID: <> (raw)

I originally posted this over at superuser but I thought maybe I would
find more LVM experts here that might know the answer.

I have a failed raid-5 array that I can't seem to recover. Basically
the story is I had this data in raid 5 and I was using LVM which has
built-in raid now. I noticed one of the disks going bad so I got a new
one and issued pvmove to move the extents from the failing disk to the
new disk. Some time during the migration, the old disk failed and
completely stopped responding (not sure why it would cause that). So I
rebooted it and now the array doesn't come up at all. Everything looks
well enough, e.g. 3/4 disks are working, and I'm pretty sure even the
failed one is back up temporarily (don't trust it though). But when I
issue lvchange -a y vg-array/array-data I get a failure with the
following in dmesg

not clean -- starting background reconstruction
device dm-12 operational as raid disk 1
device dm-14 operational as raid disk 2
device dm-16 operational as raid disk 3
cannot start dirty degraded array.

I'm pretty sure there are ways to force the start using mdadm but I
havent seen anything for lvm. But since I have three disks, all my
data is there so it must be recoverable. Does anyone know how to do
it? To summarize, it's a 4 disk raid 5 array, 3/4 disks are working,
but I still am not able to start the logical volume even in degraded
mode to copy the data off of it

                 reply	other threads:[~2019-07-25  1:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: [linux-lvm] Recovering Failed LVM Raid-5 Array' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).