1752701 Members
6083 Online
108789 Solutions
New Discussion юеВ

Errors in vgdisplay

 
mjos
Super Advisor

Errors in vgdisplay

Hi,

I am seeing the below errors when I do a vgdisplay on a particular vg.
However the vg is online & the filesystem is mounted & accessible.
can a vgscan -a after moving the lvmtab file get rid of these errors. Do I need to activate the VG after doing a vgscan (vgchange -a y )? Can the vgscan be done online without affecting the application or the db?
Please help.

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c11t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c12t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c13t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c14t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c16t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.


diskinfo on the luns showing up in the error msgs -

#diskinfo /dev/rdsk/c9t0d3
SCSI describe of /dev/rdsk/c9t0d3:
vendor: HP
product id: HSV210
type: direct access
size: 33554432 Kbytes
bytes per sector: 512
#diskinfo /dev/rdsk/c10t0d3
SCSI describe of /dev/rdsk/c10t0d3:
vendor: HP
product id: HSV210
type: direct access
size: 33554432 Kbytes
bytes per sector: 512
#diskinfo /dev/rdsk/c11t0d3
SCSI describe of /dev/rdsk/c11t0d3:
vendor: HP
product id: HSV210
type: direct access
size: 33554432 Kbytes
bytes per sector: 512
2 REPLIES 2
johnsonpk
Honored Contributor

Re: Errors in vgdisplay

Hi ,

If you are sure that the specified LUN is not used in your VG , try the below steps to get rid of that disk form vg

#vgreduce -f
#vgchange -a y


and the above command can be done online with out service interruption

Regards!
Johnson
likid0
Honored Contributor

Re: Errors in vgdisplay

yes you can do the vgscan online.

mv /etc/lvmtab /etc/lvmtab.old
vgscan -av
####Check if the new lvmtab has all disks###
vgchange -a y

and you should get rid of the messages
Windows?, no thanks