[HPADM] Query regarding ioscan

From: Deepak John Cutinha (deepak_cutinha@yahoo.com)
Date: Tue Apr 05 2005 - 07:23:40 EDT


Hi,

I am trying to give the following command :

#/usr/sbin/ioscan -d sdisk -f
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
disk 1 0/1/1/0.0.0 sdisk CLAIMED
DEVICE HP 73.4GST373454LC
disk 2 0/1/1/1.2.0 sdisk CLAIMED
DEVICE HP 73.4GST373453LC
disk 3 0/4/1/0.1.0.0.0.1.3 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
disk 4 0/4/1/0.1.0.0.0.1.4 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
disk 5 0/4/1/0.1.0.0.0.1.5 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
disk 6 0/4/1/0.1.0.0.0.1.6 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME

And the other option is :

#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 73.4GST373454LC
                           /dev/dsk/c2t0d0
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0
/dev/rdsk/c2t0d0s2
                           /dev/dsk/c2t0d0s1
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1
/dev/rdsk/c2t0d0s3
disk 2 0/1/1/1.2.0 sdisk CLAIMED
DEVICE HP 73.4GST373453LC
                           /dev/dsk/c3t2d0
/dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0
/dev/rdsk/c3t2d0s2
                           /dev/dsk/c3t2d0s1
/dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s1
/dev/rdsk/c3t2d0s3
disk 3 0/4/1/0.1.0.0.0.1.3 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
                           /dev/dsk/c4t1d3
/dev/rdsk/c4t1d3
disk 4 0/4/1/0.1.0.0.0.1.4 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
                           /dev/dsk/c4t1d4
/dev/rdsk/c4t1d4
disk 5 0/4/1/0.1.0.0.0.1.5 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
                           /dev/dsk/c4t1d5
/dev/rdsk/c4t1d5
disk 6 0/4/1/0.1.0.0.0.1.6 sdisk CLAIMED
  DEVICE COMPAQ MSA1000 VOLUME
                           /dev/dsk/c4t1d6
/dev/rdsk/c4t1d6

I want to find out if I can get an output from
ioscan or any such command where i get the details of
/dev/dsk/cxtxdx in one line..

I want this as an input for another script of mine.

Kindly advice.

br,

Deepak

                
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:46 EDT