System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure a LUN with information in an HP-UX 11.31

lukas_Bass1
Occasional Visitor

How to configure a LUN with information in an HP-UX 11.31

Hello

i hope you can help me. I have a Production and Test servers both are HP-UX 11.31. The production server has a Production LUN in an EVA4400 working perfectly. In the same EVA4400 i did a snapclone or copy of Production LUN called Test LUN. Test LUN was presented to Test Server (All is configured correctly from Storage side). The question is "how i can configure TEST LUN (The TEST LUN has information)in TEST Server".

Lukas

Thanks
7 REPLIES
John Guster
Trusted Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

to start with do ioscan -fn to get the device files. are you saying Test LUN already has all data on ? if so you then import the disks into volume group, fsck, then mount it for use.
Suraj K Sankari
Honored Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

Hi,

Once storage temp assigned lun to your server you can see them with
"ioscan -fnC disk"
once you see your new luns then you can create VG and LV,
same as how we create vg and lv.


Suraj
Torsten.
Acclaimed Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

if the lun is a clone, there is already a vg, right?

now you need to run vgchgid and vgimport (or just vgimport, if this is a different server).

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!   
lukas_Bass1
Occasional Visitor

Re: How to configure a LUN with information in an HP-UX 11.31

Let me check your recomendations and i will let you know the results
Uday_S_Ankolekar
Honored Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

on 11.31 you can use ioscan -m lun or ioscan -m dsf to see devices

-USA..
Good Luck..
Raj D.
Honored Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

Lukas,

> Test LUN was presented to Test Server (All is configured correctly from Storage side). The question is "how i can configure TEST LUN (The TEST LUN has information)in TEST Server".

- On the Test Server you can do following to use the cloned lun:

1. # ioscan -fnC disk
2. # mkdir /dev/vg_name
# mkdnod /dev/vg_name/group c 64 0x100000
(minor number must be unique)

3. # vgimport vg_name
or if you have a mapfile :
# vgimpor -v -s -m vg_name.map vg_name
[ If you have the map file and copied to current directory. ]
[ You can use -N option to import the vg in agile mode ]

4. Activate the vg:
# vgchange -a y


5. # vgdisplay vg_name
- You can mount the FS's at this point.


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Steven E. Protter
Exalted Contributor

Re: How to configure a LUN with information in an HP-UX 11.31

Shalom,

When the LUN is cloned, it must be presented to the new server by World Wide Name.

This information can be obtained by fcmsutil.

What I'm assuming here is that you used an EVA utility to clone the LUN. This does not automatically configure the LUN for use by another system.

There may be an option in the EVA software for this, but maybe not. Check that the LUN is presented with World Wide Name information that is correct for the receiving system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com