1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format1
Milan Broz 980d2d8683 Fix handling of partial VG for lvm1 format metadata
If some lvm1 device is missing, lvm fails on all operations
# vgcfgbackup -f bck -P vg_test
  Partial mode. Incomplete volume groups will be activated read-only.
  3 PV(s) found for VG vg_test: expected 4
  PV segment VG free_count mismatch: 152599 != 228909
  PV segment VG extent_count mismatch: 152600 != 228910
  Internal error: PV segments corrupted in vg_test.
  Volume group "vg_test" not found

Allow loading of lvm1 partial VG by allocating "new" missing PV,
which covers lost space. Also this fake mising PV inform code
that it is partial VG.

https://bugzilla.redhat.com/show_bug.cgi?id=501390
2010-09-22 13:45:21 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
disk-rep.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
disk-rep.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format1.c Fix handling of partial VG for lvm1 format metadata 2010-09-22 13:45:21 +00:00
format1.h split orphan VG by format type 2008-02-06 15:47:28 +00:00
import-export.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
import-extents.c Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
layout.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm1-label.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm1-label.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
Makefile.in Install plugins to subdirs 2010-05-06 10:07:46 +00:00
vg_number.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00