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

How to identify disk types on HP Itanium

 
Shyam Moghe
Occasional Advisor

How to identify disk types on HP Itanium

Please can someone tell the command to identify the disk attached to HP ITANIUM 11.31 box is SAN LUN.
Basically we want to differentiate between local disk, DVD and SAN lun.
14 REPLIES
Rita C Workman
Honored Contributor

Re: How to identify disk types on HP Itanium

Have you tried "ioscan -fn C disk > output.lis

It should give enough info to identify internal disk (obvious by address); the DVD; and which disk is EMC's.

Just a thought,
Rita
Torsten.
Acclaimed Contributor

Re: How to identify disk types on HP Itanium

Please post

# model

# ioscan -fn

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!   
Johnson Punniyalingam
Honored Contributor

Re: How to identify disk types on HP Itanium

In refernce to your below post

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1413783

I could you have posted "ioscan -fnC disk" output are you referring to same server ?

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/6/0/0/0/0/4/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3
disk 1 0/7/0/0/0/0.22.1.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 2 0/7/0/0/0/0.22.1.255.0.0.1 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1
disk 3 0/7/0/0/0/0.22.1.255.0.0.2 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d2 /dev/rdsk/c1t0d2
disk 4 0/7/0/0/0/0.22.1.255.0.0.3 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d3 /dev/rdsk/c1t0d3
disk 5 0/7/0/0/0/0.22.1.255.0.0.4 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d4 /dev/rdsk/c1t0d4
disk 6 0/7/0/0/0/0.22.1.255.0.0.5 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d5 /dev/rdsk/c1t0d5
disk 7 0/7/0/0/0/0.22.1.255.0.0.6 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d6 /dev/rdsk/c1t0d6
disk 8 0/7/0/0/0/0.22.1.255.0.0.7 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d7 /dev/rdsk/c1t0d7
disk 20 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0


>>Basically we want to differentiate between local disk, DVD and SAN lun<< what differents ? size ? HW manufacture info .. some thing like that ..?

you use diskinfo command to check that

# diskinfo /dev/rdsk/c0t0d0 -> OS vg00 disk which has been sliced into c0t0d0s1 c0t0d0s2 c0t0d0s1

# diskinfo /dev/rdsk/c1t0d0

# diskinfo /dev/rdsk/c2t0d0
Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor

Re: How to identify disk types on HP Itanium

If this is the same server, it has an internal hardware RAID "HP LOGICAL VOLUME" and an internal DVD. All other disks are on SAN.

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!   
Johnson Punniyalingam
Honored Contributor

Re: How to identify disk types on HP Itanium

also please take note as mentioned by >>Torsten.

device files will not change! which is important from "System point view"

hardware path decides about the order, which nothing related "System point view" so you no need to worry. only (device file important)

Finally if satisfied with answers, D'not forget to assign points

ITRC member since: October 24, 2005
Last contribution date: March 11, 2010
I have assigned points to 0 of 7 responses to my questions.
Take a read of this.

so far you have assigned 0 points since 2005

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

it explains how to assign points
Problems are common to all, but attitude makes the difference
Shyam Moghe
Occasional Advisor

Re: How to identify disk types on HP Itanium

# model
ia64 hp server rx3600

# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=================================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (4030)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
tty 0 0/0/1/0 rmp3f01 CLAIMED INTERFACE PCI class(255,0) (103c1303)
tty 1 0/0/1/1 rmp3f01 CLAIMED INTERFACE PCI SimpleComm (103c1302)
tty 2 0/0/1/2 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/diag/mux2 /dev/mux2 /dev/tty2p0
usb 0 0/0/2/0 hcd CLAIMED INTERFACE NEC OHCI Controller
usbcomp 0 0/0/2/0.1 usbcomposite CLAIMED DEVICE USB Composite Device
usbhid 0 0/0/2/0.1.0 hid CLAIMED DEVICE USB HID Kbd(0)
/dev/hid/hid_000
usbhid 1 0/0/2/0.1.1 hid CLAIMED DEVICE USB HID Pointer(1)
/dev/hid/hid_001
usb 1 0/0/2/1 hcd CLAIMED INTERFACE NEC OHCI Controller
usb 2 0/0/2/2 ehci CLAIMED INTERFACE NEC EHCI Controller
usbms 0 0/0/2/2.2 ms CLAIMED DEVICE USB Mass Storage [0]
graphics 0 0/0/4/0 gvid_core CLAIMED INTERFACE PCI Display (10025159)
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 0 0/1/1 pci_slot CLAIMED SLOT PCI Slot
slot 1 0/1/2 pci_slot CLAIMED SLOT PCI Slot
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 2 0/2/1 pci_slot CLAIMED SLOT PCI Slot
ba 3 0/3 gh2p CLAIMED BUS_NEXUS Local Bus Adapter
ba 4 0/3/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
slot 3 0/3/0/0/0 pci_slot CLAIMED SLOT PCI Slot
ba 5 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 4 0/4/1 pci_slot CLAIMED SLOT PCI Slot
slot 5 0/4/2 pci_slot CLAIMED SLOT PCI Slot
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
ba 6 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 6 0/5/1 pci_slot CLAIMED SLOT PCI Slot
ba 7 0/6 gh2p CLAIMED BUS_NEXUS Local Bus Adapter
ba 8 0/6/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
ba 9 0/6/0/0/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
ba 10 0/6/0/0/0/0/2/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
slot 7 0/6/0/0/0/0/2/0/0 pci_slot CLAIMED SLOT PCI Slot
ba 11 0/6/0/0/0/0/4/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
slot 8 0/6/0/0/0/0/4/0/0 pci_slot CLAIMED SLOT PCI Slot
ext_bus 0 0/6/0/0/0/0/4/0/0/0 ciss CLAIMED INTERFACE PCIe SAS SmartArray P400 RAID Controller
/dev/ciss0
target 0 0/6/0/0/0/0/4/0/0/0.0 tgt CLAIMED DEVICE
disk 0 0/6/0/0/0/0/4/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3
ba 12 0/7 gh2p CLAIMED BUS_NEXUS Local Bus Adapter
ba 13 0/7/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge
slot 9 0/7/0/0/0 pci_slot CLAIMED SLOT PCI Slot
fc 0 0/7/0/0/0/0 fclp CLAIMED INTERFACE HP AD355-60001 4Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp0
fcp 0 0/7/0/0/0/0.22 fclp_fcp CLAIMED INTERFACE FCP Domain
ext_bus 1 0/7/0/0/0/0.22.1.255.0 fclp_vbus CLAIMED INTERFACE FCP Device Interface
target 1 0/7/0/0/0/0.22.1.255.0.0 tgt CLAIMED DEVICE
disk 1 0/7/0/0/0/0.22.1.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 2 0/7/0/0/0/0.22.1.255.0.0.1 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d1 /dev/rdsk/c1t0d1
disk 3 0/7/0/0/0/0.22.1.255.0.0.2 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d2 /dev/rdsk/c1t0d2
disk 4 0/7/0/0/0/0.22.1.255.0.0.3 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d3 /dev/rdsk/c1t0d3
disk 5 0/7/0/0/0/0.22.1.255.0.0.4 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d4 /dev/rdsk/c1t0d4
disk 6 0/7/0/0/0/0.22.1.255.0.0.5 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d5 /dev/rdsk/c1t0d5
disk 7 0/7/0/0/0/0.22.1.255.0.0.6 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d6 /dev/rdsk/c1t0d6
disk 8 0/7/0/0/0/0.22.1.255.0.0.7 sdisk CLAIMED DEVICE DGC RAID 0
/dev/dsk/c1t0d7 /dev/rdsk/c1t0d7
fc 1 0/7/0/0/0/1 fclp CLAIMED INTERFACE HP AD355-60001 4Gb PCIe 2-port Fibre Channel Adapter
/dev/fclp1
processor 0 120 processor CLAIMED PROCESSOR Processor
processor 1 121 processor CLAIMED PROCESSOR Processor
processor 2 122 processor CLAIMED PROCESSOR Processor
processor 3 123 processor CLAIMED PROCESSOR Processor
ba 14 250 pdh CLAIMED BUS_NEXUS Core I/O Adapter
ipmi 0 250/0 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
tty 3 250/1 asio0 CLAIMED INTERFACE Built-in RS232C
/dev/diag/mux3 /dev/mux3 /dev/tty3p0
acpi_node 0 250/2 acpi_node CLAIMED INTERFACE Acpi Hardware
usbmsvbus 1 255/1 mass_storage CLAIMED VIRTBUS USB Mass Storage
ext_bus 2 255/1/0 usb_ms_scsi CLAIMED INTERFACE USB Mass Storage SCSI
target 2 255/1/0.0 tgt CLAIMED DEVICE
disk 20 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
#
Torsten.
Acclaimed Contributor

Re: How to identify disk types on HP Itanium

The rx3600 has 8 internal SAS disk bays.

Your servers has an optional P400 smart array controller, so you cannot see the disks directly, but the logical drives only.

Answered?

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 identify disk types on HP Itanium

There is no "automatic" way to find this out.

You can be sure all disks behind an FC HBA are somewhere outside.

But you cannot be sure all SCSI/SAS are internal. Same for USB.

You need to know the server and read the ioscan.

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!   
Shyam Moghe
Occasional Advisor

Re: How to identify disk types on HP Itanium

We know that the system has 8 SAN disks and one local disk and one dvd drive.

But we want to know this from the output of some command/s which can tell us dynamically which devices are SAN luns and which are local ones.
Using o/p of this command/s, some other code has to determine disks types.

Is there any such command/s?

Torsten.
Acclaimed Contributor

Re: How to identify disk types on HP Itanium

No.

See my previous post.




There are some special tools depending on the array model, e.g. evainfo for EVA, xpinfo for XP, etc.



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!   
Johnson Punniyalingam
Honored Contributor

Re: How to identify disk types on HP Itanium

As mentioned on the earlier post, you cannot use HP-UX system commands

suspecting if my "physic power stronger" you are using EMC SYMMETRIX CX700 calirion storage ???

It would be better for all us by if you can provide the "diskinfo command output" which posted earlier.



>>But we want to know this from the output of some command/s<<

you need to install "powerpath" for EMC
using "powerrmt command" you can achieve it :)
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: How to identify disk types on HP Itanium

Shalom,

I use ioscan -fnC disk to get the devices and diskinfo to get the type.

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
Sp4admin
Trusted Contributor

Re: How to identify disk types on HP Itanium

Hello,

Most likely the internal disk is being mirror at the hardware level via the SAS controller. The "ioscan -fkNC disk" produces only the one internal drive.

sp,
Chandrahasa s
Valued Contributor

Re: How to identify disk types on HP Itanium

Hi,
swlist | grep -i pow
confomr your having powerpath
if you have powerpath installed
you can get all san disk assinged using command
powermt display all