Operating System - HP-UX
1752754 Members
4425 Online
108789 Solutions
New Discussion юеВ

Re: Connecting HP-UX System to SAN Disk

 
Adeel Zia
Occasional Advisor

Connecting HP-UX System to SAN Disk

I have two fc for my rp7420 server which i saw thorough the "ioscan тАУfunC fc" command
I made a volume at the SAN end
then added it on my server through "insf тАУe тАУC disk" command
then I did a "ioscan -funC disk" and saw two new device file entries,suppose

disk 12 0/1/2/0.124.15.19.0.0.0 sdisk CLAIMED DEVICE STK OPENstorage D280 /dev/dsk/c28t0d0 /dev/rdsk/c28t0d0
and
disk 13 0/1/2/0.124.15.19.0.1.2 sdisk CLAIMED DEVICE STK OPENstorage D280 /dev/dsk/c28t1d2 /dev/rdsk/c28t1d2

Now I want to create a Physical Volume at the server end for which path to pv is required

i.e /usr/sbin/pvcreate pv_path

which device file should I use from the above two either /dev/rdsk/c28t0d0 or /dev/rdsk/c28t1d2 or both

thanks in advance
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: Connecting HP-UX System to SAN Disk

both. First is LUN0, second LUN2

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!   
Michal Kapalka (mikap)
Honored Contributor

Re: Connecting HP-UX System to SAN Disk

hi,

its very simple is you are not sure, use diskinfo on the /dev/rdsk/c28t1d2.

mikap
Yarema A. Mikhajliv
Frequent Advisor

Re: Connecting HP-UX System to SAN Disk

What is the version of HP-UX? If 11.31, then use command

ioscan -m dsf

You'll see smth like that:


/dev/rdisk/disk25 /dev/rdsk/c5t0d2
/dev/rdsk/c3t0d2

Use pvcreate with /dev/rdisk/disk25 disk.

In case of HP-UX version < 11.31 you should add both disks to VG
sudheerch
Frequent Advisor

Re: Connecting HP-UX System to SAN Disk

hi
it depends on storage if it is multipathing
u will create PV with any one name only /dev/rdsk/c28t0d0 or /dev/rdsk/c28t1d2


if it 2 Luns means u will have two different disks so u will create PV on both disks
/dev/rdsk/c28t0d0 and /dev/rdsk/c28t1d2
Adeel Zia
Occasional Advisor

Re: Connecting HP-UX System to SAN Disk


Looking at these two posts:

Yarema A. Mikhajliv
"In case of HP-UX version < 11.31 you should add both disks to VG"

I have HP-UX B.11.11

and

sudheerch
" if it 2 Luns means u will have two different disks so u will create PV on both disks"

in my case only 1 LUN was created at the SAN end

What should I be doing???

Also can any body tell me why it created two device files?
Torsten.
Acclaimed Contributor

Re: Connecting HP-UX System to SAN Disk

You have a LUN0 and LUN10 (LUN2 was wrong, sorry). Maybe LUN0 is for managing only, please consult hardware documentation.

In this case LUN10 is for your data (/dev/dsk/c28t1d2).

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!   
Elmar P. Kolkman
Honored Contributor

Re: Connecting HP-UX System to SAN Disk

Start with doing a diskinfo on both disks.
If one of them is a 'command device', it should report a small size.

Also look at the SAN drviec. At what LUN number did you create your LUN ?
Every problem has at least one solution. Only some solutions are harder to find.