]> sourceware.org Git - lvm2.git/commit
Allow manipulation with precommited metadata even when a PV is missing.
authorMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 19:29:04 +0000 (19:29 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 19:29:04 +0000 (19:29 +0000)
commita3c8fbc6b6b4c7ba1a3f988614fcdd9a2fb408a1
tree129df3f5056a60adbe99a1b23d3279557904737e
parente9dc6880af54cf282ab2043444bbbb78d7d0875b
Allow manipulation with precommited metadata even when a PV is missing.

The new recovery code first tries to repair LV and then removes failed PV
from VG. It means that during operation there can be VG with PV missing,
and vg_read code handles it like not consistent VG.

We already allows returning "inconsistent" commited metadata,
for mirror repair we need this for precommited too.
(The suspend call prepares precommited metadata to inactive table on
other cluster nodes.)

"Inconsistent" here means - correct metadata, just with some metadata areas
not found (obviously on missing or failed PVs).
WHATS_NEW
lib/metadata/metadata.c
This page took 0.041636 seconds and 5 git commands to generate.