]> sourceware.org Git - lvm2.git/commit
Avoid 'mda inconsistency' by properly registering UNLABELLED_PV flag (2.02.86).
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 15 Nov 2011 11:54:15 +0000 (11:54 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 15 Nov 2011 11:54:15 +0000 (11:54 +0000)
commit5680d14ecd1cc788dd06bce6642fa605659414ed
treeb0d689e4c0ece4147afc797bf2701f3195814df8
parentbf09a32006570e16c28fc3002f770b6e41a2788a
Avoid 'mda inconsistency' by properly registering UNLABELLED_PV flag (2.02.86).

When a PV label write is deferred to a vg_write call (as introduced by a patch
in 2.02.86), the PV is flagged with the internal UNLABELLED_PV flag. However,
when calling vg_archive before vg_write, we still have the PV labelled with the
UNLABELLED_PV flag which was not recognised as a proper flag while exporting
VG metadata:

  # vgcreate vg /dev/sda
  No physical volume label read from /dev/sda
  Metadata inconsistency: Not all flags successfully exported.
  Metadata inconsistency: Not all flags successfully exported.
  Writing physical volume data to disk "/dev/sda"
  Physical volume "/dev/sda" successfully created
  Volume group "vg" successfully created
WHATS_NEW
lib/format_text/flags.c
This page took 0.037379 seconds and 5 git commands to generate.