[linux-lvm] Volume group inconsistent

Marcos Dutra macdutra at gmail.com
Wed Feb 11 21:45:53 UTC 2015


Hi Eric,

I ran the dd command and I saw the flags "MISSING" yet, if I run pvs, I
don't see MISSING flag.

# pvs /dev/mapper/plt-25
  PV                 VG       Fmt  Attr PSize   PFree
  /dev/mapper/plt-25 platinum lvm2 a--  500.00g    0

The same disk after dd command (dd if=/dev/mapper/plt-25 of=plt-25.br
bs=512 count=4000)

pv23 {
id = "CEPd6z-Bklc-BNsq-pqcn-SMhu-jdVS-6GIPI6"
device = "/dev/mapper/plt-25"

status = ["ALLOCATABLE"]
flags = ["MISSING"]
dev_size = 1048576000
pe_start = 2048
pe_count = 127999
}

Now I know why I receive the "MISSING" flag after create new volume, how
can I fix it? Do you have any idea?

Before I restored my lvm backup with vgcfgrestore, I can see now it didn't
work properly.

Thank you

Marcos Dutra

2015-02-11 9:19 GMT-02:00 service hofman <service.hofman at googlemail.com>:

> Hi
>
> dd if=/dev/sda of=/boor/sda.mbr bs=512 count=4000
>
> mcedit -e /boot/sda.mbr
> or
> hexedit
>
>
> look lvm list in bootrecord
>
> eric hofman
>
> service.hofman at gmail.com
>
> --
> ComputerAlarmTechnologySystem©
>
> http://plus.google.com/105013137826111836446
> +44 77 04 24 74 00
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20150211/873cdd78/attachment.htm>


More information about the linux-lvm mailing list