[linux-lvm] vgscan can't find my vg.
Toad
toad at amphibian.dyndns.org
Mon Nov 10 11:13:04 UTC 2003
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>
On Thu, May 01, 2003 at 11:31:19PM +0200, Hans T?rnquist wrote:
> 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
--
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20031110/ea09ec28/attachment.sig>
More information about the linux-lvm
mailing list