Operating System - HP-UX
1753792 Members
7500 Online
108799 Solutions
New Discussion юеВ

Re: vgdisplay showing errors

 
jtran
Advisor

vgdisplay showing errors

I have have a rp4440 with 2 x HBA.
A failed HBA was replaced recently and switch rezoned to accomodate the new WWN.

I have done a vgscan -a -v to scan for all new paths and to update the /etc/lvmtab

However when I do a vgscan -v , I am getting errors:

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.

/dev/dsk/c5t0d1 is the altenate path via the replaced HBA, but vgdisplay is showing errors?

It is also showing PV as 1, while it should be 2.
9 REPLIES 9
Prashanth.D.S
Honored Contributor

Re: vgdisplay showing errors

Hi Johnny,

What is the status of the card in ioscan, is it in claimed status ?
Have u check the same disk from the other path is it working fine ?
Can you check if the SCSI id for the replaced HBA card ?
Check the cable also..

Best Regards,
Prashanth
jtran
Advisor

Re: vgdisplay showing errors

Both cards are claimed

#ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
fc 0 0/4/2/0/4/0 fcd CLAIMED INTERFACE HP 2Gb PCI/PCI-X Fibre Channel FC/GigE Dual Port Combo Adapter
/dev/fcd0
fc 1 0/5/2/0/4/0 fcd CLAIMED INTERFACE HP 2Gb PCI/PCI-X Fibre Channel FC/GigE Dual Port Combo Adapter
/dev/fcd1
jtran
Advisor

Re: vgdisplay showing errors

The disk is working via the other path.

In SAM, it shows the primary and alternate path as well.
freddy_21
Respected Contributor

Re: vgdisplay showing errors

Hello Jhonny,

could you check with ioscan -fnC disk. is disk c5t0d1 detect by system. i think your device disk changes.

for recover please do:
mv /etc/lvmtab /etc/lvmtab.ori
vgscan -av

and check your lvmtab, do you have new lvmtab?

check with vgdisplay 0v vg


thanks
freddy
jtran
Advisor

Re: vgdisplay showing errors

root@bilptal1 #ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
sdisk CLAIMED DEVICE HP OPEN-V
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1

Have already done vgscan -av

#strings /etc/lvmtab |grep c5t0d1
/dev/dsk/c5t0d1
Prashanth.D.S
Honored Contributor

Re: vgdisplay showing errors

Yes agreed recreating the lvmtab should resolve your issue..

Best Regards,
Prashanth
Prashanth.D.S
Honored Contributor

Re: vgdisplay showing errors

Hi Johnny,

Can u attach the syslog output ?? the last 100 lines atleast..we might get some more info from there..

jtran
Advisor

Re: vgdisplay showing errors

After re-creating the /etc/lvmtab


Then re-activating the vg has fixed the problem.

#vgchange -a y
freddy_21
Respected Contributor

Re: vgdisplay showing errors

is it xp storage? you must check from xp side. need to do changes or not regarding changes wwn from your HBA.


thanks
freddy