From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <3C50250F.40209@cgg.com> From: Guillaume Duquesnay MIME-Version: 1.0 Subject: Re: [linux-lvm] VG lost, no lvmconf => Help ! References: <3C4EDF1A.3000409@cgg.com> <20020124154339.A8972@sistina.com> Content-Transfer-Encoding: 7bit Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Thu Jan 24 09:18:03 2002 List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-lvm@sistina.com Heinz J . Mauelshagen wrote: > Can you send "vgscan -d" to me in personal email (mge@sistina.com)? OK, i'll do that. > What does lvm-1.0.1-1 mean. We don't have such version. In fact, 1.0.1-1-mdk (Mandrake), you can find it on rpmfind.net > Please check with for eg. "vgdisplay -h". --------------- vgdisplay -h Logical Volume Manager 1.0.1 Heinz Mauelshagen, Sistina Software 26/11/2001 (IOP 10) vgdisplay -- display volume group information vgdisplay [-c|--colon | -s|--short | -v[v]|--verbose [--verbose]] [-d|--debug] [-h|--help] [--version] [-A|--activevolumegroups | [-D|--disk] [VolumeGroupName...] ] --------------- A little more info : i tried to reimport the old PVs ---------------- ]# vgimport -f -v main /dev/sda1 /dev/sda3 vgimport -- locking logical volume manager vgimport -- checking volume group name vgimport -- checking volume group "main" existence vgimport -- trying to read physical volumes vgimport -- checking for duplicate physical volumes vgimport -- checking physical volume name "/dev/sda1" vgimport -- reading data of physical volume "/dev/sda1" from disk vgimport -- checking for exported physical volume "/dev/sda1" vgimport -- reallocating memory vgimport -- checking consistency of physical volume "/dev/sda1" vgimport -- checking for duplicate physical volumes vgimport -- checking physical volume name "/dev/sda3" vgimport -- reading data of physical volume "/dev/sda3" from disk vgimport -- checking for exported physical volume "/dev/sda3" vgimport -- reallocating memory vgimport -- checking consistency of physical volume "/dev/sda3" vgimport -- physical volumes "/dev/sda3" and "/dev/sda1" are in different volume groups ---------------- Next, i said my pvdata was identical for /dev/sda1 and /dev/sda3, but i discover that was'nt true : --------------- #]pvdata -P /dev/sda3 --- Physical volume --- PV Name /dev/sda3 VG Name main PV Size 1.39 GB / NOT usable 7.65 MB [LVM: 125.00 KB] PV# 2 PV Status NOT available Allocatable yes Cur LV 1 PE Size (KByte) 4096 Total PE 355 Free PE 99 Allocated PE 256 PV UUID none ---------------- see that PVUUID ? So i did try uuid_fixer, which finally give me a human readable error : ---------------- ]# ./uuid_fixer /dev/sda1 /dev/sda3 /dev/sda3 - UUID corrupt ---------------- Damned. So where do we go now ? thanks, Guillaume