From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1BLjucl012721 for ; Wed, 11 Feb 2015 16:45:56 -0500 Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1BLjrx0007370 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Wed, 11 Feb 2015 16:45:54 -0500 Received: by mail-oi0-f51.google.com with SMTP id g201so16655912oib.10 for ; Wed, 11 Feb 2015 13:45:53 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <54D87F38.4010303@redhat.com> Date: Wed, 11 Feb 2015 19:45:53 -0200 Message-ID: From: Marcos Dutra Content-Type: multipart/alternative; boundary=001a113306be7d3204050ed6edae Subject: Re: [linux-lvm] Volume group inconsistent Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --001a113306be7d3204050ed6edae Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3D/dev/mapper/plt-25 of=3Dplt-25.br bs=3D512 count=3D4000) pv23 { id =3D "CEPd6z-Bklc-BNsq-pqcn-SMhu-jdVS-6GIPI6" device =3D "/dev/mapper/plt-25" status =3D ["ALLOCATABLE"] flags =3D ["MISSING"] dev_size =3D 1048576000 pe_start =3D 2048 pe_count =3D 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 : > Hi > > dd if=3D/dev/sda of=3D/boor/sda.mbr bs=3D512 count=3D4000 > > mcedit -e /boot/sda.mbr > or > hexedit > > > look lvm list in bootrecord > > eric hofman > > service.hofman@gmail.com > > -- > ComputerAlarmTechnologySystem=C2=A9 > > http://plus.google.com/105013137826111836446 > +44 77 04 24 74 00 > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --001a113306be7d3204050ed6edae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Eric,

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

# pvs /dev/mapper/plt-25
=C2=A0 PV = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 VG =C2=A0 =C2=A0 = =C2=A0 Fmt =C2=A0Attr PSize =C2=A0 PFree
=C2=A0 /dev/mapper/plt-2= 5 platinum lvm2 a-- =C2=A0500.00g =C2=A0 =C2=A00=C2=A0
=C2=A0
The same disk after dd command (dd if=3D/dev/mapper/plt-25 of=3Dplt-25.br bs=3D512 count=3D4000)
pv23 {
id =3D "CEPd6z-Bklc-BNsq-pqcn-SMhu-j= dVS-6GIPI6"
device =3D "/dev/mapper/plt-25"
<= div>
status =3D ["ALLOCATABLE"]
flags =3D= ["MISSING"]
dev_size =3D 1048576000
pe_start= =3D 2048
pe_count =3D 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&= #39;t work properly.

Thank you

Marcos Dutra

2015-02-11 9:19 GMT-02:00 service hofman <= ;service= .hofman@googlemail.com>:
Hi

dd if=3D/dev/sda of=3D/boor/sda.mbr bs=3D512 count=3D4000

mcedit -e /boot/sda.mbr
or
hexedit


look lvm list in bootrecord

eric hofman

service.hofman@gmail.com
--
ComputerAlarmTechnologySystem=C2=A9

= http://plus.google.com/105013137826111836446
+44 = 77 04 24 74 00

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

--001a113306be7d3204050ed6edae--