Operating System - HP-UX
1829121 Members
2126 Online
109986 Solutions
New Discussion

how to find out the local and storage disks in itanium server

 
Rineesh Nallatath
Occasional Contributor

how to find out the local and storage disks in itanium server

Hi,

How we can identify the local disks connected in the itanium server.
ioscan -fnC disk output shows storage luns also.
15 REPLIES 15

Re: how to find out the local and storage disks in itanium server

HP-UX (or in fact most operating systems)knows no difference between a disk thats in the same chassis as it, and ones that are attached via a FC SAN or in external SAS or SCSI enclosures...

So you need to have at least some knowledge of what is attached to the server and where, plus what model server you are using.

So for example, if you knew that _all_ the external storage was attached via fibre channel SANs, then you could look at the hardware paths you get from the fibre channel ports on the system:

ioscan -fuC fc

And then compare that to the HW paths you got from your "ioscan -fnCdisk" output. Anything that is on a fibre channel HW path you would know was external.

... of course that doesn't help you if you have external SCSI or SAS disks... like I said you need to know something about your server configuration already.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Michael Steele_2
Honored Contributor

Re: how to find out the local and storage disks in itanium server

Hi

lvlnboot -v will tell you the boot disks, which in today's world will always be your only local disks.

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t0d0s2 (0/0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t0d0s2 (2/0/1/1/0.0.0) -- Boot Disk

#######################

There is always a product description describing the type of disk, for example, EMC SYMMETRIX is the name of the disk array:

Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 16 0/5/2/0.221.35.0.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
/dev/rdsk/c0t0d0

#######################

You can also refer to the HBA's Hard Path. Any disk on the same path as an HBA is a disk array disk.

# ioscan -fC fc
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/2/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter


In this case 0/2/0/0 is the Hardware path for HBA /dev/td0

Now ioscan -funC disk

Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/2/0/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373
454LC
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 1 0/2/0/1/0/4/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373
454LC
/dev/dsk/c0t2d2 /dev/rdsk/c0t2d2

Anything along the same HW patch, 0/2/0 is a disk array disk since its on a HBA.
Support Fatherhood - Stop Family Law
Torsten.
Acclaimed Contributor

Re: how to find out the local and storage disks in itanium server

Please post

# model

and

# ioscan -fn

and we will see what we can do.

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!   

Re: how to find out the local and storage disks in itanium server

Michael,

>> ... in today's world will always be your only local disks.


I'd disagree with that - the rx2660, rx3600 and rx6600 can have 8, 8 and 16 internal disks respectively - a lot more than might be used for boot (although I'd agree not many folks do... I'm just being pedantic)

Duncan

I am an HPE Employee
Accept or Kudo
Torsten.
Acclaimed Contributor

Re: how to find out the local and storage disks in itanium server

On the other hand many systems may boot from external disks ...

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!   
Michael Steele_2
Honored Contributor

Re: how to find out the local and storage disks in itanium server

pedantic best synonym for annal I've ever read

PS Didn't you know? All good SA's are pedantic.
Support Fatherhood - Stop Family Law
Rahul Rai_1
Frequent Advisor

Re: how to find out the local and storage disks in itanium server

Hi Rineesh.

lvlnboot -v will show you the local disks,


Regards,
Rahul Rai.
Torsten.
Acclaimed Contributor

Re: how to find out the local and storage disks in itanium server

>> lvlnboot -v will show you the local disks,

Sorry, but this is nonsense.

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!   
Kapil Jha
Honored Contributor

Re: how to find out the local and storage disks in itanium server

you can check with 2 commands....
#ioscan -fnC fc
#ioscan -fnC disk

Now check the paths all the disks coming via FC path are extenal and other are internal.

Second in ioscan, if you sure about what storage is connected you can see it in description section.

disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GHUS153014VL3800
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 36 0/4/2/0.51.2.0.0.0.1 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1


BR,
Kapil+

I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: how to find out the local and storage disks in itanium server

>> How we can identify the local disks...

First it has to be defined what "local" is.

Is an external SCSI disk local?

Is an direct connected FC disk (not an array!, e.g. a DS2405 or DS2500) local?

Are only internal disks local?

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!   
Torsten.
Acclaimed Contributor

Re: how to find out the local and storage disks in itanium server

Regarding the lvlnboot:

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d2s2 (1/0/12/1/0/4/0.12.0.0.0.1.2) -- Boot Disk

...




ioscan:

disk 3 1/0/12/1/0/4/0.12.0.0.0.1.2 sdisk CLAIMED DEVICE HP
HSV200
/dev/dsk/c2t1d2 /dev/rdsk/c2t1d2
/dev/dsk/c2t1d2s1 /dev/rdsk/c2t1d2s1
/dev/dsk/c2t1d2s2 /dev/rdsk/c2t1d2s2
/dev/dsk/c2t1d2s3 /dev/rdsk/c2t1d2s3




It's on an EVA - is it local?

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!   
Michael Steele_2
Honored Contributor

Re: how to find out the local and storage disks in itanium server

This thread is from 10/23, not 11/20.
Support Fatherhood - Stop Family Law
Rineesh Nallatath
Occasional Contributor

Re: how to find out the local and storage disks in itanium server

Hi all

Local means, my internal disk which is connected in the system itself.


Regards
Rineesh Nallatath
SoorajCleris
Honored Contributor

Re: how to find out the local and storage disks in itanium server

Dear Rineesh,

Before going too deep ,

Do you want to know about a specific model ? or any Integrity?

tell me the model I can help you.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Michael Steele_2
Honored Contributor

Re: how to find out the local and storage disks in itanium server

Everybody knows that- Time to close this thread and start a new one.
Support Fatherhood - Stop Family Law