Operating System - HP-UX
1834620 Members
3289 Online
110069 Solutions
New Discussion

Want a list of all storage devices connected to system.

 
SOLVED
Go to solution
Prasad Joshi
Regular Advisor

Want a list of all storage devices connected to system.

Hi all,

How can I find the list of all the storage devices connected to machine?

Thanks &regards,
Prasad
6 REPLIES 6
RAC_1
Honored Contributor
Solution

Re: Want a list of all storage devices connected to system.

ioscan -fnC fc
ioscan -fnC ext_bus

All disks connected.
ioscan -fnC disk
pvlist tool
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Want a list of all storage devices connected to system.

Hi Prasad,

You can use # ioscan -fnC disk. It will display everything you want.

#ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336754LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 215 0/3/1/1.33.11.19.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c10t0d0 /dev/rdsk/c10t0d0
disk 217 0/3/1/1.33.11.19.0.0.2 sdisk NO_HW DEVICE EMC SYMMETRIX
/dev/dsk/c10t0d2 /dev/rdsk/c10t0d2
disk 218 0/3/1/1.33.11.19.0.0.3 sdisk NO_HW DEVICE EMC SYMMETRIX
/dev/dsk/c10t0d3 /dev/rdsk/c10t0d3
disk 219 0/3/1/1.33.11.19.0.0.4 sdisk NO_HW DEVICE EMC SYMMETRIX
/dev/dsk/c10t0d4 /dev/rdsk/c10t0d4

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Want a list of all storage devices connected to system.

Use ioscan command to list it.

# ioscan -fnC disk

Find more class type which can be used with -C option as,

# ls /usr/conf/master.d/

Get related device informations from that.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Want a list of all storage devices connected to system.

Hi Prasad,

Also, you can use "sam" to find it out.

# sam --> Disks and File Systems --> Disk devices

Disk Devices 0 of 18 selectedâ
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â Hardware Number Volume Total â
â Path of Paths Use Group Mbytes Descri â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â â 0/0/2/0.0.0.0 1 Unused -- 0 DVD-ROM ^ â
â â 0/1/1/0.0.0 1 LVM vg00 34732 HP 36.4 â
â â 0/1/1/0.1.0 1 Unused -- 34732 HP 36.4 â
â â 0/3/1/1.33.11.19.0.0.0 2 Unused -- 180 EMC SYM â
â â 0/3/1/1.33.11.19.0.2.7 1 Unused -- 5 EMC SYM

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: Want a list of all storage devices connected to system.

hi Prasad,

you can also query this information using STM.

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Prasad Joshi
Regular Advisor

Re: Want a list of all storage devices connected to system.

I got it

Thank a lot