Operating System - HP-UX
1752800 Members
5477 Online
108789 Solutions
New Discussion

Weird volume group issue - vg's pointing to wrong disk number?

 
nameless_girl
Advisor

Weird volume group issue - vg's pointing to wrong disk number?

OK, I will preface this by saying that I am relatively new to hp-ux.  I've run into an issue that I don't know how to fix, although I can see what's wrong (I think).  We're running 11.23 on Itanium.

 

I have a server that has several LUNs presented from a SAN.  The server is connected, and "autopath display" displays the attached LUNs.  The problem seems to be that the physical disks identified in /etc/lvmtab don't match their actual disk identifications that autopath provides. 

 

From autopath (I have about a dozen of these, but I'm using just one for example):

==================================================================
Lun WWN : 6005-08B4-0010-524C-0000-D000-0551-0000
Load Balancing Policy : Shortest Service Time
==================================================================
Device Path Status
==================================================================
/dev/dsk/c18t1d2 Active
/dev/dsk/c20t1d2 Active
/dev/dsk/c22t1d2 Active
/dev/dsk/c24t1d2 Active

 

This should be /dev/vg_ifmx_dev_std8

 

However, in /etc/lvmtab, this VG is referencing :

/dev/vg_ifmx_dev_std8
/dev/dsk/c26t1d2

 

so it's pointing to a disk that apparently doesn't exist at this location, although it exists at /dev/dsk/c18t1d2.  

 

This was all working before a reboot this past weekend, it seems that somehow the referencing between lvm and autopath got hosed up ??  

 

I've tried renaming /etc/lvmtab and rescanning (vgscan -av) but that didn't help, I get:

 

/dev/vg_ifmx_dev_std8
/dev/dsk/c18t1d2
/dev/dsk/c20t1d2
/dev/dsk/c22t1d2
/dev/dsk/c24t1d2

 

The Volume Group /dev/vg_std8 was not matched with any Physical Volumes.

 

Is there any easy way to fix this reference, aside from recreating every VG from scratch to point to the 'new' physical device?

 

Please let me know if you need more info.  Thank you,

1 REPLY 1
Robert_Jewell
Honored Contributor

Re: Weird volume group issue - vg's pointing to wrong disk number?

I guess I am confused (not the first time!).  I am not really familiar with AutoPath so perhaps its me.

 

You state:

 

---------------

/dev/dsk/c18t1d2 Active
/dev/dsk/c20t1d2 Active
/dev/dsk/c22t1d2 Active
/dev/dsk/c24t1d2 Active

 

This should be /dev/vg_ifmx_dev_std8

 

However, in /etc/lvmtab, this VG is referencing :

/dev/vg_ifmx_dev_std8
/dev/dsk/c26t1d2

--------------

 

But after the vgscan you say you now have:

 

--------------

/dev/vg_ifmx_dev_std8
/dev/dsk/c18t1d2
/dev/dsk/c20t1d2
/dev/dsk/c22t1d2
/dev/dsk/c24t1d2

---------------

 

Is that not what you wanted?

 

This message...

---------------

The Volume Group /dev/vg_std8 was not matched with any Physical Volumes.

 

--------------

 

   ...is saying that the vgscan could not detect any LUNs/disks that belong to that VG.  Is this the problem?

 

 

Sorry if I missed something.

 

-Bob

 

 

----------------
Was this helpful? Like this post by giving me a thumbs up below!