LVM incorrectly reported missing after power failure
Posted
by
mensi
on Server Fault
See other posts from Server Fault
or by mensi
Published on 2012-06-29T15:06:24Z
Indexed on
2012/06/29
15:17 UTC
Read the original article
Hit count: 158
We have had a major power failure in the data-center. We are using a set of servers for our storage needs. The main server has several pairs of disks mirrored with mdadm. The resulting /dev/mdX are LVM physical volumes and belong to a big volume-group with all our data.
After the powerloss, we had the problem that one of the mdadm devices was not auto-detected due to a missing entry in mdadm.conf
. As a consequence, the volumegroup had inactive logical volumes due to the missing PV.
We were able to fix the mdadm config and reboot. pvscan
shows all expected PVs but one LV still does not come up. vgdisplay shows:
[...]
Cur PV: 3
Act PV: 2
[...]
Neither vgscan nor pvscan show any missing devices.
What went wrong? How can we force LVM to activate all PVs?
© Server Fault or respective owner