linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group
@ 2002-08-03  5:56 d.levitin
  2002-08-03  6:36 ` James Hawtin
  0 siblings, 1 reply; 10+ messages in thread
From: d.levitin @ 2002-08-03  5:56 UTC (permalink / raw)
  To: linux-lvm

Hello,
I have a problem with my vg00 - the LVM doesn't have it any more. I found
such postings in the list archive, but I don't want to restore - as I think.
To the problem: 
I had 10 disks in my Computer (/dev/sda.../dev/sdj) in the vg00. Then I have
2 of them (/dev/sdj and /dev/sdi) unplugged. I hoped it would be no problem
for the LVM to work with the rest 8, but it doesn't do. I dont' worry about
the volumes on the sdi and sdj, but the other volumes are a problem...
So why the LVM dosn't see the other disks as well?

Thanks a lot for your help
Dmitri
 

# 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 "vg00" 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

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda4"  is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdb3"  is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdc"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdd"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sde"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdf"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdg"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- inactive PV "/dev/sdh"   is associated to unknown VG "vg00"
(run vgscan)
pvscan -- total: 8 [200.21 GB] / in use: 8 [200.21 GB] / in no VG: 0
[0]


-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [linux-lvm] vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group
@ 2007-01-09 18:26 `VL
  2007-01-10 17:08 ` Heinz Mauelshagen
  2007-01-11 11:20 ` Joel Rees
  0 siblings, 2 replies; 10+ messages in thread
From: `VL @ 2007-01-09 18:26 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

Dear ALL, <linux-lvm@redhat.com>

I have a problem with LVM volume(details below) probably after bad shutdown:

There are 2 volumes: lvm2 and lvm1 (just names, type is lvm-1). lvm2 is fine
and mounted,
and lvm1 has problems:

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/sda1" of VG "lvm2" [372.56 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/sdb1" of VG "lvm2" [372.56 GB / 0 free]
pvscan -- inactive PV "/dev/hdg1"  is associated to unknown VG "lvm1" (run
vgscan)
pvscan -- inactive PV "/dev/hdf1"  is associated to unknown VG "lvm1" (run
vgscan)
pvscan -- inactive PV "/dev/hdb1"  is associated to unknown VG "lvm1" (run
vgscan)
pvscan -- total: 5 [1.36 TB] / in use: 5 [1.36 TB] / in no VG: 0 [0]

# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "lvm2"
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
volume group "lvm1" 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
groups

 ls -l /dev/lvm*
crw-r-----  1 root root 109, 0 2005-03-27 17:11 /dev/lvm

/dev/lvm1:
total 0
crw-r-----  1 root disk 109, 0 2007-01-05 17:14 group

/dev/lvm2:
total 0
crw-r-----  1 root disk 109, 1 2007-01-09 21:22 group
brw-rw----  1 root disk  58, 1 2007-01-09 21:22 lv2


System description:

kernel 2.4.31 vanilla
slackware-10.2.0
lvm-1.0.8-i486-1

any help will be greatly appreciated.

[-- Attachment #2: Type: text/html, Size: 1969 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-01-12 18:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-03  5:56 [linux-lvm] vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group d.levitin
2002-08-03  6:36 ` James Hawtin
2002-08-03  7:04   ` d.levitin
2002-08-03 17:32     ` sander
2002-08-04  5:41       ` d.levitin
  -- strict thread matches above, loose matches on Subject: below --
2007-01-09 18:26 `VL
2007-01-10 17:08 ` Heinz Mauelshagen
2007-01-10 18:16   ` `VL
2007-01-11 11:20 ` Joel Rees
2007-01-12 18:44   ` `VL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).