[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vgscan can't find my vg.



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 amphibian dyndns org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]