Operating System - HP-UX
1751780 Members
4377 Online
108781 Solutions
New Discussion

Re: How to configure LUN ?

 
redhat7012
Advisor

How to configure LUN ?

Hi,

 

10GB of LUN assigned by Storage team and the device given is 16DD.

 

i WANT TO KNOW , hOW TO CONFIGURE IT NOW ?

 

How to create the mount point for the device ?

 

How to find the LUN which is allocated by the Storage Team ?

 

 

 

Please help me with the steps and commands to execute ...........

 

Regards,

Aparna.

 

 

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: How to configure LUN ?

This variees based on the type of storage.

 

In general, ioscan perhaps with insf -C disk  will put the new LUN in a state where it has been discovered and you can run pvcreate on it.

 

EMC utilities have a utility that must be run to discover new EMC luns. The procedure varies OS to OS.

 

Regards,

 

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
pradeep m
Respected Contributor

Re: How to configure LUN ?

> How to create the mount point for the device ?

Once you detect the new LUN in the "ioscan -fnC disk" output, run LVM commands to make the new LUN part of a new or existing volume group. Create a Logical volume on it to mount the device.. 

 

> How to find the LUN which is allocated by the Storage Team ?

It depends on the type of storage used. Example: for eva and XP storage, you can use the "evainfo" and "xpinfo" utilities from the HP-UX to see the storage luns presented. 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Matti_Kurkela
Honored Contributor

Re: How to configure LUN ?

> 10GB of LUN assigned by Storage team and the device given is 16DD.

 

A 4-digit hex identifier for the device... seems like it might be an EMC storage system.

 

Here is the download location for a free EMC tool for identifying EMC disks:

ftp://ftp.emc.com/pub/elab/inquiry/

 

Currently, the latest version is here:

ftp://ftp.emc.com/pub/elab/inquiry/v7.3.2.0/

Pick the appropriate version for your HP-UX system: inq.HPUXIA64 for Itanium systems, inq.hpux64 for 64-bit PA-RISC HP-UX 11i systems, or inq.hpux1100 for obsolete HP-UX 11.00 or 32-bit 11i v1 systems.

 

Download in binary mode (default in most web browsers), save to your HP-UX systems and set it as executable.

 

To detect new devices, run "ioscan -fnCdisk" and then "insf" as others have already pointed out. (In 11.31, insf may not be needed, but it is not harmful.)

 

Then run the downloaded inq command. It will output a list of all disks in the system.

For devices with "EMC" in "Vendor" column, look at the "Ser Num" column: it will contain a 10-digit hex number.

The middle 4 digits of the Ser Num field will contain the device identifier.

 

The EMC device serial number format: SS0XXXXnnn

  • SS = the 2 last digits of the serial number of the storage system
  • XXXX = the 4-digit device ID
  • nnn = usually all zeroes; may be different in some storage system configurations

You may see multiple disks with the same "Ser Num" field: these are multiple I/O paths to the same LUN.

If you are using HP-UX 11.31, the OS will automatically handle this and you should use only the /dev/disk/diskNN device for configuring LVM; for older HP-UX versions, you should specify all the /dev/dsk/cXtYdZ devices referring to a particular LUN in your LVM configuration, so LVM will automatically list them as alternate paths and will failover to another path if the active path fails.

MK