[linux-lvm] VG lost, no lvmconf => Help !
Guillaume Duquesnay
gduquesnay at cgg.com
Thu Jan 24 09:18:03 UTC 2002
Heinz J . Mauelshagen wrote:
> Can you send "vgscan -d" to me in personal email (mge at 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
More information about the linux-lvm
mailing list