Operating System - HP-UX
1748200 Members
3856 Online
108759 Solutions
New Discussion

Re: Disks have different device file names

 
Ghazanfar_1
Advisor

Disks have different device file names

Its HP-UX 11.31. Server's hba card get faulty. after replacing it, the server has detected the storage vdisks as different device file name, resulting in failure of vg activation.

 

Older device file names are /dev/dsk/c4t0d5 and /dev/dsk/c9t0d4, which are physically no more.

New device file names are /dev/dsk/c9t0d2 and /dev/dsk/c9t0d3

 

Below are the steps/information which I have taken collected. Now need to recover my VG.

 

# vgexport -p -s -m /tmp/VG99.map /dev/VG99

# vgexport /dev/VG99

# mkdir -m 755 /dev/VG99

# mknod /dev/VG99/group c 64 0x010000

# vgimport -s -m /tmp/VG99.map /dev/VG99
Couldn't access the list of physical volumes for volume group "/dev/VG99".

 

VGSCAN:
vgscan: Couldn't access the list of physical volumes for volume group "/dev/VG99".
Physical Volume "/dev/dsk/c9t0d2" is not part of a Volume Group
Physical Volume "/dev/dsk/c9t0d3" is not part of a Volume Group

 

# strings /etc/lvmconf/VG99.conf
CONFIG01
/dev/VG99
/dev/rdsk/c4t0d5
/dev/rdsk/c9t0d4
LVMREC01
LVMREC01
VGDA0001
VGSA0001P
#

 

I think, I need to recreate the VG and before importing need to rename the device file names with new ones.

 

Gurus, need help!!

 

Regards,

Ghazanfar Aziz
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Disks have different device file names

>>

Older device file names are /dev/dsk/c4t0d5 and /dev/dsk/c9t0d4, which are physically no more.

New device file names are /dev/dsk/c9t0d2 and /dev/dsk/c9t0d3

 

 

IMHO this is impossible, because the "old" LUNs were 4 and 5, the new LUNs are 2 and 3.

 

These may be the wrong LUNs!

 

 

Did you adjust zoning and presentation? The new HBA comes with a new WWN.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ghazanfar_1
Advisor

Re: Disks have different device file names

Can we change the LUNs from HP-UX, because from storage the vdisk is same as before?

Zoning and presentation is OK.
Also checked the new disk with diskinfo and it is showing the correct values.

Second, is there any possibility by creating a new VG?
Regards,

Ghazanfar Aziz
Torsten.
Acclaimed Contributor

Re: Disks have different device file names

Do you habe a single FC HBA only in this server?

 

Looks like somebody presented the LUNs with new numbers.

 

These numbers are set on the storage, so check and correct the settings.

 

 

You may also use "vgscan -v -p", but better to correct the presentation settings.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
madhuthelearner
Occasional Advisor

Re: Disks have different device file names

Hi,

 

If HBA is replaced,wwn will be changed.

check what is the status of fc using

 

ioscan -kfnC fc

ioscan -fnC fc

 

look for wwn in fcmsutil.

 

 

regards

 

Madhu

karthikbalu
Advisor

Re: Disks have different device file names

This may helps you :-  Import the VG with the current device.

 

vgimport -m /tmp/VGname.map /dev/VGname  /dev/dsk/c9t0d2 /dev/dsk/c9t0d3