[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Recovery of LVM after kernelupdate (2.4.10 -> 2.4.19)



On Fri, Nov 22, 2002 at 10:21:51PM +0100, Thomas Mellenthin wrote:
> Hello,
> 
> > Under SuSE 8.1:
> >         - what does vgscan display ?
> router:/home/melle # vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
> volume group "hxvg01" from physical volume(s)
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume
> group
> >         - what does pvscan display ? Does it show your PVs on hd[cd]1 ?
> router:/home/melle # pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/hdc1"  is associated to unknown VG "hxvg01"
> (run vgscan)pvscan -- inactive PV "/dev/hdd1" is in no VG  [41.93 GB]
> pvscan -- inactive PV "/dev/hdb1"  is associated to unknown VG "hxvg01"
> (run vgscan)pvscan -- total: 3 [160.54 GB] / in use: 2 [118.62 GB] / in no VG: 1
> [41.93 GB]
> > No need to vgcfgrestore, because your metadata should still be on hd[cd]1
> > unless you (or yast) write somethig onto hd[cd]1. You didn't create files
> > systems during the update ther, did you ? ;)
> uhm... no. But I created a logical volume on a new VG
> (I thought it's just a naming problem and tried to create VG
> and LV with the same names. Mounting the file system failed and
> I stopped any 'experimental' actions). So the filesystem should
> be ok, but the metadata on the PV is somehow damaged.
> 
> I guess that the job is to force the assignemt of /dev/hdd1 to
> VG "hxvg01" and to make this VG 'known' to the LVM and activate
> the PVs.
> I'm a bit lost know, because I don't know how to 'write back'
> these information from the hxvg01.conf file to the PVs.
> 
> Any help would be deeply appreciated.

Thomas,
please send the output file named Thomas.Mellenthin.vgda.tar.bz2 of

for d in hd[b-d]1
	dd if=/dev/$d of=$d.vgda bs=1k count=4k
done
tar cvf - hd[b-d]1.vgda | bzip2 > Thomas.Mellenthin.vgda.tar.bz2
rm hd[b-d]1.vgda

to me in private email (mge sistina com) for further investigation.

> 
> // melle
> 
> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]