vgscan can't find my vg.
I have change my system from slackware to gentoo and I can't get my lvm to work.
When I run vgscan I get:
# 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 "ftp_vg" 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
and pvscan:
# pvscan pvscan -- reading all physical volumes (this may take a while...) pvscan -- inactive PV "/dev/ataraid/disc0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus1/target0/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus1/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus0/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host0/bus0/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- total: 5 [496.34 GB] / in use: 5 [496.34 GB] / in no VG: 0 [0]
And now to my problem.
when I used slackware all my pv's was located by pvscan at /dev/hdb and forward but now at /dev/ide/host?/bus?/lun0/disc.
So if anybody got a clue how to fix it, pleace tell me.
/Hans Törnquist
What kernel are you using? Does it have device mapper enabled? Have you tried vgcfgrestore ? IIRC On LVM1, that's vgcfgrestore -n <physical volume> , on LVM2 it's vgcfgrestore <volume group name>
Quoted 27 lines · Hans T?rnquist
I have change my system from slackware to gentoo and I can't get my lvm to work.
When I run vgscan I get:
# 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 "ftp_vg" 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 groupand pvscan:
# pvscan pvscan -- reading all physical volumes (this may take a while...) pvscan -- inactive PV "/dev/ataraid/disc0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus1/target0/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus1/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host2/bus0/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- inactive PV "/dev/ide/host0/bus0/target1/lun0/disc" is associated to unknown VG "ftp_vg" (run vgscan) pvscan -- total: 5 [496.34 GB] / in use: 5 [496.34 GB] / in no VG: 0 [0]And now to my problem.
when I used slackware all my pv's was located by pvscan at/dev/hdband forward but now at /dev/ide/host?/bus?/lun0/disc.So if anybody got a clue how to fix it, pleace tell me.
/Hans T?rnquist
Signature · 3 lines
Matthew J Toseland - [email protected] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.