]> 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)
commit26ab12e69d2d5ba257a74ddeab1a73853489f930
treeb0d689e4c0ece4147afc797bf2701f3195814df8
parentdd815a4f7b8163ae076fdcd753d28486be5c66d1
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.034898 seconds and 5 git commands to generate.