Operating System - HP-UX
1754287 Members
3434 Online
108813 Solutions
New Discussion юеВ

Re: How to check san disk on HP

 
SOLVED
Go to solution
Jayraj
Frequent Advisor

How to check san disk on HP

Hi all,

How to confirm whether a disk is a local disk or a SAN disk on HP-UX, And for some of the servers, SAN disks will be connected but we dont have any san software installed on the server, in that case how to confirm whether that server actually using the SAN..
9 REPLIES 9
Ganesan R
Honored Contributor
Solution

Re: How to check san disk on HP

Hi,

There are many ways you can identify. One is by looking at the hardware path of the luns.

#ioscan -funC fc -> will list the hardware path of th FC HBA cards. LUNS starting from this hardware paths are from the SAN.

Another way is, DESCRIPTION field in ioscan -funC disk output. This field will show the details about SAN disks like this.

disk 134 0/2/0/0.200.4.0.0.0.1 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c11t0d1 /dev/rdsk/c11t0d1


And all the servers will have maximum of 1-4 internal disks which can be easily identified by its hardware path and description field on ioscan output.
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: How to check san disk on HP

Hi Again,

Forgot to add.
>>And for some of the servers, SAN disks will be connected but we dont have any san software installed on the server, in that case how to confirm whether that server actually using the SAN.<<

You don't need any san software to view or access the luns. If the luns are presented to the server ioscan will automatically show the disks and you can use it after creating the device files using insf -e.
Best wishes,

Ganesh.
Jozef_Novak
Respected Contributor

Re: How to check san disk on HP

>> And all the servers will have maximum of 1-4 internal disks which can be easily identified by its hardware path and description field on ioscan output. <<

This is not really true. An rx6600, for example can have up to 16 internal disks installed.

However, in majority of cases, SAN disks can be indentified from the description field. If it reads something like OPEN-*, SYMMETRIX, HSV, HSG, then the device comes from an external, SAN attached disk array.

J.
Suraj K Sankari
Honored Contributor

Re: How to check san disk on HP

Hi,

Its depending upon your storage for EMC you can use this below command

#ioscan -fnC disk | grep -i emc

Suraj
VK2COT
Honored Contributor

Re: How to check san disk on HP

Hello,

Heh, this has always been an interesting issue.

Through experience and testing, I have found out various strings that different SAN and
other arrays generate in ioscan(1M).

Here they are (as listed in my Perl
script):

OPEN-|HSV|HSG|MSA|IBM DMV|NEXSAN|OPENstorage|EMC|DGC|SYMMETRIX|IR Volume|LOGICAL VOLUME

Perl script is at:

http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Taifur
Respected Contributor

Re: How to check san disk on HP

Hi,

You can check SAN disk by below procedure
First check the
#ioscan -funC fc

for hrdawre path of HBA
then
#ioscan -funC disk

For SAN disk , no need any SAN software.

If it helps, pls assign point.
Rgds//
Taifur

Johnson Punniyalingam
Honored Contributor

Re: How to check san disk on HP

>>How to confirm whether a disk is a local disk or a SAN disk on HP-UX,<<

by always , performing "ioscan" command as below

# ioscan -fnC disk "look for HW path address"

>>And for some of the servers, SAN disks will be connected but we dont have any san software installed on the server<<

Yes, your right, that why we use system command to check them

Example:-

# ioscan -fnC disk
#ioscan -fn |more --> Check fc claimed

or you can use "script" to check disk connected to SAN storage

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Sajjad Sahir
Honored Contributor

Re: How to check san disk on HP


Dear Swaraj

ioscan -funC disk

if u don't know lun number try to find the lun number by using xpinfo or evainfo etc...it depends on storage.
xpstorage

xpinfo -i | grep -i lun number will give
u disk
xpinfo -i c#t#d# will give u lun number


thanks and regards

Sajjad sahir
Jayraj
Frequent Advisor

Re: How to check san disk on HP

Thank you All..