[HPADM] Query regarding ioscan

From: Deepak John Cutinha (deepak_cutinha_at_yahoo.com)
Date: 04/05/05

  • Next message: Jagadesh Selvaraj: "[HPADM] print queue not working"
    Date: Tue, 5 Apr 2005 04:23:40 -0700 (PDT)
    To: hpux-admin@dutchworks.nl
    
    

    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)
    

  • Next message: Jagadesh Selvaraj: "[HPADM] print queue not working"

    Relevant Pages

    • [HPADM] Re: Query regarding ioscan
      ... Class I H/W Path Driver S/W State H/W ... disk 1 0/1/1/0.0.0 sdisk CLAIMED ... DEVICE COMPAQ MSA1000 VOLUME ... This message and its attachments may contain privileged and confidential ...
      (HP-UX-Admin)
    • [HPADM] RE: how to see phisycal disks
      ... Class I H/W Path Driver S/W State H/W Type Description ... disk 0 8/0.3.0 sdisk CLAIMED DEVICE SEAGATE ST39236LC ... Where S/W State means state of the disk. ...
      (HP-UX-Admin)