From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i7I2sMa08320 for ; Tue, 17 Aug 2004 22:54:22 -0400 Message-ID: <025001c484ce$95942560$5208580a@b034547> From: "Rob Schwartz" Date: Tue, 17 Aug 2004 22:53:48 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_024D_01C484AD.0E790F80" Subject: [linux-lvm] vgscan vs vgcfgrestore 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: Linux-LVM@Sistina.com This is a multi-part message in MIME format. ------=_NextPart_000_024D_01C484AD.0E790F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Heinz, Forgive me for writing in English. As I come from the United States I = am embarassingly uni-lingual. I have been working with LVM for several = months now and finally have had the opportunity to get into the guts of = the lvm configuration. I am preparing myself for the situation where = my LVM environment gets corrupted in some manner. Actually, last week I = encountered a problem with LVM and was unable to quickly recover so I = ended up simply rebuilding the LVM PV's, VG's and LV's and restoring = data. Fortunately, it was an easy restore. I have been comparing the = vgscan utility with vgcfgrestore. In a test environment I have deleted = the /etc/lvm* stuff and even deleted the /dev/lvm* stuff and = successfully recovered the VG and LV by simply doing a vgscan. Whew... = nice... I understand vgcfgbackup and vgcfgrestore but am not sure when I = would need to use the configuration backup. The VGDA as I understand = it is stored on the PV's. If I have the PV's intact I therefore have = the VGDA and hence am able to recover using vgscan. When would I need = to use vgcfgrestore? I have found much information on LVM on the web = but nothing that really pinpoints my question. If there is something = out there that I can refer to, please tell me. Regards, Rob ------=_NextPart_000_024D_01C484AD.0E790F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Heinz,
 
Forgive me for writing in English.   As I = come from=20 the United States I am embarassingly uni-lingual.   I have = been=20 working with LVM for several months now and finally have had the=20 opportunity to get into the guts of the lvm configuration.   I = am=20 preparing myself for the situation where my LVM environment gets = corrupted in=20 some manner.  Actually, last week I encountered a problem with LVM = and was=20 unable to quickly recover so I ended up simply rebuilding the LVM PV's, = VG's and=20 LV's and restoring data.  Fortunately, it was an easy = restore.  =20 I have been comparing the vgscan utility with vgcfgrestore.   = In a=20 test environment I have deleted the /etc/lvm* stuff and even deleted the = /dev/lvm* stuff and successfully recovered the VG and LV by simply doing = a=20 vgscan.   Whew... nice... I understand vgcfgbackup and=20 vgcfgrestore but am not sure when I would need to use the configuration=20 backup.   The VGDA as I understand it is stored on the=20 PV's.   If I have the PV's intact I therefore have the VGDA = and hence=20 am able to recover using vgscan.    When would I need to = use=20 vgcfgrestore?   I have found much information on LVM on the = web but=20 nothing that really pinpoints my question.  If there is something = out there=20 that I can refer to, please tell me.
 
Regards,
Rob
------=_NextPart_000_024D_01C484AD.0E790F80--