LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

 
Occasional Advisor

vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

Hello, I am trying to cretae a new FS by adding clarion luns. i am able to create FS but it goes off when i reboot. OS is 11.31.

Error:
# vgchange -a y vg02
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c5t0d0":
I/O error
vgchange: I/O error
vgchange: Couldn't activate volume group "vg02":
Quorum not present, or some physical volume(s) are missing.

vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c7t0d1":
The specified path does not correspond to physical volume attached to
this volume group
7 REPLIES 7
Honored Contributor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

Have the device files changed for the LUNS configured in this VG?
Do a strings at /etc/lvmtab and then do an ioscan to see those device files appear as claimed
Occasional Advisor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

yes.. it appears in lvmtab_p and ioscan shows as claimed. we are able to create the FS's with the available luns . However vg does not activate when i tried to reboot and will throw the above msg whn i try to activate vg .
Advisor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

Hi Prathap,

I too received this error a day ago and the lvols were not mounting, throwing d same error.

According to me this occured b'cos u had RESTARTED the system which might have abruptly caused a problem with d LUNS.

Try to SHUTDOWN the system and then start I hope tht would solve ur problem.... cos this is how it worked for me...

I m jst trying 2 find out the cause of this error :)

Regards,
Rajiv
Honored Contributor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

# vgchange -a y vg02
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c5t0d0":
I/O error
vgchange: I/O error
vgchange: Couldn't activate volume group "vg02":
Quorum not present, or some physical volume(s) are missing.

Are you sure you can see the lun after rebooting?

try with:
#diskinfo /dev/rdsk/c5t0d0

also try recreating the your lvmtab with lvmtab, and have a look if the disk is there.

if you are in 11.31, why don't you use agile view ?


Windows?, no thanks
Honored Contributor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

Hi,

It looks there are some issue with LUNS availablity or I/O error with Luns.

How many luns are there in vg02?

Could you provide the following?
#ioscan -fnC disk
#strings /etc/lvmtab
#vgdisplay -v vg02
#pvdisplay -v /dev/dsk/c5t0d0
#diskinfo /dev/rdsk/c5t0d0
#dd if=/dev/rdsk/c5t0d0 of=/dev/null bs=1024k count=25
Best wishes,

Ganesh.
Occasional Advisor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

Hi..
Issue resolved after modification being done on clarion.

HP-UX 11.31 volume group on an EMC Clariion CX320, the following steps in Navisphere need to be done.

The Clariion Flare code must be at level 26.

The host must be defined as Clariion open .

The fail-over type must be 4 . (This makes the array look like it is active/active .)

Thanks all for your help.

Occasional Advisor

Re: vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0

no issues found after changes being made