1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/format_text
Peter Rajnoha 5680d14ecd 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
2011-11-15 11:54:15 +00:00
..
archive.c Replace free_vg with release_vg 2011-08-10 20:25:29 +00:00
archiver.c Replace free_vg with release_vg 2011-08-10 20:25:29 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Use size_t return type 2011-09-01 10:25:22 +00:00
flags.c Avoid 'mda inconsistency' by properly registering UNLABELLED_PV flag (2.02.86). 2011-11-15 11:54:15 +00:00
format-text.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
format-text.h Make create_text_context fn static and move it inside create_instance fn. 2011-03-11 14:45:17 +00:00
import_vsn1.c Drop mempool parameter from read functions 2011-10-23 16:05:45 +00:00
import-export.h Use size_t return type 2011-09-01 10:25:22 +00:00
import.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
layout.h more metadataignore message/code cleanup 2010-06-30 17:13:05 +00:00
tags.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
text_export.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
text_import.h Replace const usage of dm_config_find_node with more appropriate value-lookup 2011-08-31 15:19:19 +00:00
text_label.c Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary. 2011-05-28 09:48:14 +00:00