[linux-lvm] Error after moving volume group to another machi
Florian Hinzmann
f.hinzmann at hamburg.de
Wed Sep 4 06:01:01 UTC 2002
Uh, oh, replying to myself:
On 03-Sep-2002 Florian Hinzmann wrote:
> But the moved VG isn't detected properly. This is what I get:
> vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "vg01" from physical volume(s)
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "vgpum01"
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: This program does not do a VGDA backup of your volume groups
The disks are back in their original machine currently.
pvdata gives me:
--- Physical volume ---
PV Name /dev/hdb1
VG Name vg01
PV Size 76.34 GB [160086526 secs] / NOT usable 8.19 MB [LVM: 166 KB]
PV# 4
PV Status available
Allocatable yes (but full)
Cur LV 5
PE Size (KByte) 8192
Total PE 9769
Free PE 0
Allocated PE 9769
PV UUID jRyOAJ-1KHk-564T-jrQS-BHWC-OKhu-JiL9d4
--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 9
Open LV 0
MAX LV Size 511.98 GB
Max PV 256
Cur PV 4
Act PV 4
VG Size 212.07 GB
PE Size 8 MB
Total PE 27145
Alloc PE / Size 27145 / 212.07 GB
Free PE / Size 0 / 0
VG UUID BVZr37-mltv-69XE-pnBS-5ryg-NcKL-k6Fcfy
--- List of logical volumes ---
pvdata -- logical volume "/dev/vg01/home" at offset 0
pvdata -- logical volume "/dev/vg01/usr" at offset 1
[...]
"VG Name" in "--- Volume group ---" is empty. Is this normal? In case
this or some other errors within the data structures within one or
more partitions is the cause of my problems:
My setup is currently working obviosly. Is there a way to write this
working configuration into every LVM partition's metadata overwriting
some possible errors there?
Regards
Florian
--
Florian Hinzmann private: f.hinzmann at hamburg.de
Debian: fh at debian.org
PGP Key / ID: 1024D/B4071A65
Fingerprint : F9AB 00C1 3E3A 8125 DD3F DF1C DF79 A374 B407 1A65
More information about the linux-lvm
mailing list