1836451 Members
2393 Online
110100 Solutions
New Discussion

Problem with disk in vgs

 
SOLVED
Go to solution
Carme Torca
Super Advisor

Problem with disk in vgs

Hi,

I have two vgs that have more disk in /etc/lvmtab than in the vg.

And when I do (lvlnboot -v), it works nok.


#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t1d0 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0
/dev/dsk/c2t1d0
Root: lvol3 on: /dev/dsk/c2t0d0
/dev/dsk/c2t1d0
Swap: lvol2 on: /dev/dsk/c2t0d0
/dev/dsk/c2t1d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0

lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgOVOarc".
Current path "/dev/dsk/c6t0d3" is an alternate link, skip.
Current path "/dev/dsk/c10t0d3" is an alternate link, skip.
Current path "/dev/dsk/c8t0d4" is an alternate link, skip.
Current path "/dev/dsk/c12t0d3" is an alternate link, skip.
lvlnboot: Couldn't query physical volume "/dev/dsk/c10t0d4":
The specified path does not correspond to physical volume attached to
this volume group

In the /etc/lvmtab I have

/dev/vg1
/dev/dsk/c4t0d4
/dev/dsk/c6t0d4
/dev/dsk/c10t0d4
/dev/dsk/c12t0d4
/dev/vg2
/dev/dsk/c4t0d5
/dev/dsk/c6t0d5
/dev/dsk/c10t0d5
/dev/dsk/c12t0d5
And when I do vgdisplay it shows me:

VG Name /dev/vg1
VG Write Access read/write
VG Status available, exclusive
....

--- Physical volumes ---
PV Name /dev/dsk/c4t0d4
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Status available
Total PE 4863
Free PE 0
Autoswitch On
Proactive Polling On


and


G Name /dev/vg2
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
...
--- Physical volumes ---
PV Name /dev/dsk/c4t0d5
PV Name /dev/dsk/c6t0d5 Alternate Link
PV Status available
Total PE 2047
Free PE 0
Autoswitch On
Proactive Polling On


How could I put all this ok?

Thank you!
Carmen.




Users are not too bad ;-)
11 REPLIES 11
Robert-Jan Goossens
Honored Contributor

Re: Problem with disk in vgs

Hi Carmen,

Try below steps.

# mv /etc/lvmtab /etc/lvmtab.org
# /usr/sbin/vgscan -p -v
if all is ok
# /usr/sbin/vgscan -v

Regards,
Robert-Jan
Carme Torca
Super Advisor

Re: Problem with disk in vgs

Hi,

I do it, buts its no ok.
It shows me the same:

/dev/vg1
/dev/dsk/c4t0d4
/dev/dsk/c6t0d4
/dev/dsk/c10t0d4
/dev/dsk/c12t0d4

/dev/vg2
/dev/dsk/c4t0d5
/dev/dsk/c6t0d5
/dev/dsk/c10t0d5
/dev/dsk/c12t0d5

Users are not too bad ;-)
Robert-Jan Goossens
Honored Contributor

Re: Problem with disk in vgs

Carmen could you please attach the complete output of the "vgdisplay -v" command?
Carme Torca
Super Advisor

Re: Problem with disk in vgs

Hi,
Here you are,
Thanks!

#vgdisplay -v
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg3".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg4".

Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 240
Current LE 15
Allocated PE 30
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 768
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 768
Used PV 2

LV Name /dev/vg00/lvol7
Standard input
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 768
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvolswap
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 768
Used PV 2

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol13
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol14
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 1204
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 1268
Autoswitch On
Proactive Polling On


VG Name /dev/vg5
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2048
VGDA 4
PE Size (Mbytes) 4
Total PE 4046
Alloc PE 2047
Free PE 1999
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg5/lvOVISarc
LV Status available/syncd
LV Size (Mbytes) 8188
Current LE 2047
Allocated PE 2047
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c4t0d3
PV Name /dev/dsk/c6t0d3 Alternate Link
PV Name /dev/dsk/c10t0d3 Alternate Link
PV Name /dev/dsk/c12t0d3 Alternate Link
PV Status available
Total PE 2047
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t0d4
PV Name /dev/dsk/c8t0d4 Alternate Link
PV Status available
Total PE 1999
Free PE 1999
Autoswitch On
Proactive Polling On


VG Name /dev/vg1
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 1
ct PV 1
Max PE per PV 4865
VGDA 2
PE Size (Mbytes) 4
Total PE 4863
Alloc PE 4863
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg1/lvSDESKbin
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 1280
Allocated PE 1280
Used PV 1

LV Name /dev/vg1/lvSDESKlog01
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg1/lvSDESKlog02
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg1/lvSDESKdat01
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1

LV Name /dev/vg1/lvSDESKind01
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1

LV Name /dev/vg1/lvSDESKtmp
LV Status available/syncd
LV Size (Mbytes) 1020
Current LE 255
Allocated PE 255
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c4t0d4
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Status available
Total PE 4863
Free PE 0
Autoswitch On
Proactive Polling On
G Name /dev/vg2
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2048
VGDA 2
PE Size (Mbytes) 4
Total PE 2047
Alloc PE 2047
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg2/lvSDESKarc
LV Status available/syncd
LV Size (Mbytes) 8188
Current LE 2047
Allocated PE 2047
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c4t0d5
PV Name /dev/dsk/c6t0d5 Alternate Link
PV Status available
Total PE 2047
Free PE 0
Autoswitch On
Proactive Polling On


VG Name /dev/vg6dat
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 3584
VGDA 4
PE Size (Mbytes) 4
Total PE 3998
Alloc PE 3583
Free PE 415
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg6dat/lvRADIAbin
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 1280
Allocated PE 1280
Used PV 1

LV Name /dev/vg6dat/lvRADIAlog01
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg6dat/lvRADIAlog02
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg6dat/lvRADIAdat01
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1

LV Name /dev/vg6dat/lvRADIAind01
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/vg6dat/lvRADIAtmp
LV Status available/syncd
LV Size (Mbytes) 2044
Current LE 511
Allocated PE 511
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c14t0d1
PV Name /dev/dsk/c8t0d1 Alternate Link
PV Status available
Total PE 1999
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t0d2
PV Name /dev/dsk/c8t0d2 Alternate Link
PV Status available
Total PE 1999
Free PE 415
Autoswitch On
Proactive Polling On


VG Name /dev/vg6arc
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1279
VGDA 2
PE Size (Mbytes) 4
Total PE 1279
Alloc PE 1279
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg6arc/lvRADIAarc
LV Status available/syncd
LV Size (Mbytes) 5116
Current LE 1279
Allocated PE 1279
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c14t0d3
PV Name /dev/dsk/c8t0d3 Alternate Link
PV Status available
Total PE 1279
Free PE 0
Autoswitch On
Proactive Polling On


VG Name /dev/vg7
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 8
Open LV 10
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 3585
VGDA 6
PE Size (Mbytes) 4
Total PE 5997
Alloc PE 5630
Free PE 367
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg7/lvOVISbin
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 1280
Allocated PE 1280
Used PV 1

LV Name /dev/vg7/lvOVISlog01
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg7/lvOVISlog02
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg7/lvOVISdat01
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1

LV Name /dev/vg7/lvOVISind01
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/vg7/lvOVIStmp
LV Status available/syncd
LV Size (Mbytes) 2044
Current LE 511
Allocated PE 511
Used PV 2

LV Name /dev/vg7/lvOVISdat02
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1

LV Name /dev/vg7/lvOVISind02
LV Status available/syncd
LV Size (Mbytes) 2044
Current LE 511
Allocated PE 511
Used PV 2

LV Name /dev/vg7/lvol7
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1

LV Name /dev/vg7/lvol8
LV Status available/syncd
LV Size (Mbytes) 2044
Current LE 511
Allocated PE 511
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c14t0d5
PV Name /dev/dsk/c8t0d5 Alternate Link
PV Status available
Total PE 1999
Free PE 0
Autoswitch On
LV Size (Mbytes) 2044
Current LE 511
Allocated PE 511
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c14t0d5
PV Name /dev/dsk/c8t0d5 Alternate Link
PV Status available
Total PE 1999
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t0d6
PV Name /dev/dsk/c8t0d6 Alternate Link
PV Status available
Total PE 1999
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t0d7
PV Name /dev/dsk/c8t0d7 Alternate Link
PV Status available
Total PE 1999
Free PE 367
Autoswitch On
Proactive Polling On

Users are not too bad ;-)
Robert-Jan Goossens
Honored Contributor

Re: Problem with disk in vgs

did you post the complete output of the /etc/lvmtab?

could also post the pvdisplay output of one the disks?
# pvdisplay -v /dev/dsk/c10t0d4

Robert-Jan
Carme Torca
Super Advisor

Re: Problem with disk in vgs

No, its not all at lvmtab, only this vgs (vg1 and vg2).

#pvdisplay -v /dev/dsk/c10t0d4
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d4":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d4":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Couldn't query the list of physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg1".
pvdisplay: Cannot display physical volume "/dev/dsk/c10t0d4".
Users are not too bad ;-)
Prashanth Waugh
Esteemed Contributor

Re: Problem with disk in vgs

Hi,

Pls check
#vgdisplay -v | grep "/dev/dsk/cntndn"

Regards
Prashant
For success, attitude is equally as important as ability
Robert-Jan Goossens
Honored Contributor
Solution

Re: Problem with disk in vgs

I believe you missing some alternate links for your volume groups.

Try to reactivate your volume groups

# vgchange -a y /dev/vgxx

http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01027976-3

Title: vgdisplay error -> Warning: couldn't query physical volume
Document ID: emr_na-c01027976-3
Carme Torca
Super Advisor

Re: Problem with disk in vgs

It returns me error:

#vgchange -a y /dev/vg1
vgchange: Activation mode requested for the volume group "/dev/vg1" conflicts with configured mode.


#vgchange -a y /dev/vg2
vgchange: Activation mode requested for the volume group "/dev/vg2" conflicts with configured mode.
Users are not too bad ;-)
Robert-Jan Goossens
Honored Contributor

Re: Problem with disk in vgs

is this your primary/active node in the cluster?

# vgchange -a e /dev/vg1

-e exclusive
Carme Torca
Super Advisor

Re: Problem with disk in vgs

Perfect!!!

Now its all ok.

vgdisplay /dev/vg1
...


--- Physical volumes ---
PV Name /dev/dsk/c4t0d4
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Name /dev/dsk/c10t0d4 Alternate Link
PV Name /dev/dsk/c12t0d4 Alternate Link


vgdisplay /dev/vg2
...


--- Physical volumes ---
PV Name /dev/dsk/c4t0d5
PV Name /dev/dsk/c6t0d5 Alternate Link
PV Name /dev/dsk/c10t0d5 Alternate Link
PV Name /dev/dsk/c12t0d5 Alternate Link
PV Status available
Total PE 2047
Free PE 0
Autoswitch On

Thanks you very much!!!
Carmen.
Users are not too bad ;-)