]> sourceware.org Git - lvm2.git/commit
vgname_from_mda now tries to parse for vgname even
authorMilan Broz <mbroz@redhat.com>
Tue, 3 Mar 2009 16:35:32 +0000 (16:35 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 3 Mar 2009 16:35:32 +0000 (16:35 +0000)
commitc3b50730b843f156a36858fa605851bdbe4df6b9
treec8d4488f639791576cec8ed13c06ac662ea94787
parent33617240332047f2417d2765308128d41986c4c7
vgname_from_mda now tries to parse for vgname even
if rlocn not defined (there is no metadata area).

In most cases it fails in validate_name(),
unfortunately there are situatuions, when
validate_name is ok and later code fails with
checksum error.

Reproducer:

# dd if=/dev/zero of=/dev/loop0

# pvcreate --metadatasize 637k /dev/loop0
  Physical volume "/dev/loop0" successfully created

# pvs /dev/loop0
  /dev/loop0: Checksum error
      PV         VG   Fmt  Attr PSize PFree
        /dev/loop0      lvm2 --   1.00M 1.00M

Signed-off-by: Milan Broz <mbroz@redhat.com>
-
WHATS_NEW
lib/format_text/format-text.c
This page took 0.034535 seconds and 5 git commands to generate.