1753784 Members
7058 Online
108799 Solutions
New Discussion юеВ

HP-UX Reinstall

 
SOLVED
Go to solution
cheesytime
Regular Advisor

HP-UX Reinstall

I had a box running HP-UX 11.31, that box had mapped a NetAPP LUN, that particular NetAPP lun was into vg01 and had a logical volume on it with lots of data.

That box was re installed with HP-UX 11.23 for a proyect, with ioscan I see the NetAPP lun (2 paths)

disk 3 0/2/1/0.11.8.0.0.0.0 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/6/1/0.10.8.0.0.0.0 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0

I would like to know how can I view the data on that NetAPP LUN again?

Do i need to create a VG (say vg01) and then create a LV inside vg01 and mount it and the data will be there?

Please advice
4 REPLIES 4
Vivek Bhatia
Trusted Contributor
Solution

Re: HP-UX Reinstall

Hi,

So if your current machine is 11.23 then you need to perform the following steps.

Do you have a old map file? If not , then follow below steps

1. mkdir /dev/vg01
2. mknod /dev/vg01/group c 64 0x010000
3. vgimport /dev/vg01 /dev/dsk/c4t0d0 /dev/dsk/c6t0d0

If yes, then
1. mkdir /dev/vg01
2. mknod /dev/vg01/group c 64 0x010000
3. vgimport -m tmp/vg01.map /dev/vg01 /dev/dsk/c4t0d0 /dev/dsk/c6t0d0

Thanks
Vivek Bhatia
cheesytime
Regular Advisor

Re: HP-UX Reinstall

done, tried to mount the lvol

# mount /dev/vg01/lvol1 /omni
UX:vxfs mount: ERROR: V-3-20013: unrecognized vxfs version number
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version

I get that error...
Vivek Bhatia
Trusted Contributor

Re: HP-UX Reinstall

Hi ,

This is because the 11.31 machine is having the JFS layout version 7 and if you try to mount that on 11.23 , then it will give you this error as 11.23 doesnot support this JFS layout version?

Can you run fstyp -v /dev/vg01/lvolX ?

Thanks
Vivek Bhatia
chris huys_4
Honored Contributor

Re: HP-UX Reinstall

Hi,

> , then it will give you this error as
> 11.23 doesnot support this JFS layout
> version?
Or better, the version of vxfs that was installed on HP-UX 11.31, which could be vxfs 4.1 / vxfs 5.0 or vxfs 5.0.1 , is a higher version then the one that is now installed on HP-UX 11.23, which can be vxfs 3.5/ vxfs 4.1 / vxfs 5.0.

To see which version of the base-vxfs bundle is installed on the current HP-UX 11.23, execute "swlist".

Then crosscheck the disklayout version that you get with the previous response "fstyp output", with which vxfs version that supports this on HP-UX 11.23 and upgrade to that version and retry the mount.

Greetz,
Chris