vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group
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]
Signature · 2 lines
GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Quoted 10 lines · On Sat, 3 Aug 2002 [email protected] wrote:
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/sdjand/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?
Quoted 3 lines
Thanks a lot for your help
Dmitri
Because LVM does not currently mount part volume groups for safety... I believe at some in in the future this might be solved.
Do you still have /dev/sdj and /dev/sdi you say they are unpluged at the moment and you don't want access to the info on them... if they have data that is split onto other pvs use pvmove move so only have lvs you don't what on those two pvs then use vgsplit to remove them from the vg, then you can unplug those two disks as they will be in a new volume group.
lv = logical volume
pv = physical volume
vg = volume group
james
Quoted 32 lines · On Sat, 3 Aug 2002 [email protected] wrote:
Quoted 3 lines
Hello,
I have a problem with my vg00 - the LVM doesn't have it any more. Ifound
Quoted 1 line
such postings in the list archive, but I don't want to restore - as I
think.
Quoted 2 lines
To the problem:
I had 10 disks in my Computer (/dev/sda.../dev/sdj) in the vg00. Then Ihave
Quoted 1 line
2 of them (
/dev/sdjand/dev/sdi) unplugged. I hoped it would be noproblem
Quoted 1 line
for the LVM to work with the rest 8, but it doesn't do. I dont' worry
about
Quoted 6 lines
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
DmitriBecause LVM does not currently mount part volume groups for safety... I believe at some in in the future this might be solved.
Do you still have
/dev/sdjand/dev/sdiyou say they are unpluged at the moment and you don't want access to the info on them... if they have data that is split onto other pvs use pvmove move so only have lvs you don't what on those two pvs then use vgsplit to remove them from the vg, then you can unplug those two disks as they will be in a new volume group.
Quoted 8 lines
lv = logical volume
pv = physical volume
vg = volume groupjames
The 2 disks are for us temporarily unavailable (problem with a controller) and I can't wait untill I can use them (so no pvmove :-( ). Can I tell LVM it have only with the other 8 disks to go on ?
Dmitri
Signature · 2 lines
GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
(Response to message from [email protected], [email protected] on Saturday, August 03, 2002 2:05:30 PM)
Hello,
Couldn't that have possibly disastrous results, since files or directories may have their PE's mapped partly on an available disk and partly on one that's missing?
Signature · 2 lines
Regards, sander
Quoted 5 lines · you
The 2 disks are for us temporarily unavailable (problem with a controller) and I can't wait untill I can use them (so no pvmove :-( ). Can I tell LVM it have only with the other 8 disks to go on ?
Dmitri
We should simply take an example:
a VG vg00 resides on 10 PVs (sda...sdj) and has 4 LVs in it: lvol1...lvol4. Only lvol4 resides on sdaj and sdi, and they become unavailable. For the other LVs in the vg00 are all PVs still OK, so I should be able to use them, such as HP-UX or Veritas Volume Manages do. Indeed I have now a situation, that the entire vg00 ist not available!
Help! (F1! F1! ;-)) )
Dmitri
Quoted 32 lines
(Response to message from [email protected], [email protected] on Saturday, August 03, 2002 2:05:30 PM)
Hello,
Couldn't that have possibly disastrous results, since files or directories may have their PE's mapped partly on an available disk and partly on one that's missing?
Signature · 2 lines
Regards, sanderQuoted 1 line · you
The 2 disks are for us temporarily unavailable (problem with a
controller)
Quoted 1 line
and I can't wait untill I can use them (so no pvmove :-( ). Can I tell
LVM it
Quoted 3 lines
have only with the other 8 disks to go on ?
Dmitri
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 2 lines
GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net