* [linux-lvm] vgscan can't find my vg.
@ 2003-05-10 8:37 Hans Törnquist
2003-11-10 11:13 ` Toad
0 siblings, 1 reply; 2+ messages in thread
From: Hans Törnquist @ 2003-05-10 8:37 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2476 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] vgscan can't find my vg.
2003-05-10 8:37 [linux-lvm] vgscan can't find my vg Hans Törnquist
@ 2003-11-10 11:13 ` Toad
0 siblings, 0 replies; 2+ messages in thread
From: Toad @ 2003-11-10 11:13 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1913 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-10 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-10 8:37 [linux-lvm] vgscan can't find my vg Hans Törnquist
2003-11-10 11:13 ` Toad
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.