Operating System - HP-UX
1752829 Members
3626 Online
108789 Solutions
New Discussion

Re: How to update Volume Group information with alternate disk links?

 
dictum9
Super Advisor

How to update Volume Group information with alternate disk links?

Running autopath and it's showing disks that are different from the disks that are used by LVM.

 

strings /etc/lvmtab

 

/dev/vg01_eva
/dev/dsk/c0t0d1

. . .

. ..

 

pvdisplay -v /dev/dsk/c0t0d1
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t0d1":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg01_eva".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t0d1".
#

 

That same disk shows up as c2t0d1 and c7t0d1 in autopath display. How do I update the VG info with the correct link?

 

c0t0d1 is the same disk as c2t0d1 but the FC controlled failed, which causes none of the volume groups to activate.

 

I tried pvchange -a n /dev/dsk/c0t0d1 but could not run it due to volume group not activated, and unable to activate it.

 

I realize I will have to update the WWW name stuff once I get the FC controlled replaced, but I would like to bring up the VGs now via alternate links.

 

 

# autopath display | head -66

==================================================================
 HPswsp Version        : A.3.0F.03F.00F
==================================================================
 Auto Discover         : ON
==================================================================
 Array Type            : EVA-AA
 Array WWN             : 5001-4380-025C-3450
 Read Optimize         : ON
 Path Verification Period : 00:10
==================================================================
 Lun WWN               : 6001-4380-024D-0AFC-0000-6000-0094-0000
 Virtual Device File   : /hpap/dsk/hpap1
 Load Balancing Policy : Shortest Service Time
 Lun Timeout           : Infinite Retry (-1)
==================================================================
 Device Path                    Status
==================================================================
 /dev/dsk/c2t0d1                Active
 /dev/dsk/c7t0d1                Active

 

 

 

 

1 REPLY 1
dictum9
Super Advisor

Re: How to update Volume Group information with alternate disk links?

I tried this to no avail:

 

# pvchange -s /dev/dsk/c2t0d1
pvchange: Couldn't find the volume group to which
physical volume "/dev/dsk/c2t0d1" belongs.
#