determine the hard disk type in hpux pa-risc computer - HP UX

This is a discussion on determine the hard disk type in hpux pa-risc computer - HP UX ; Is there a hpux command to determine the hard disk type (e.g. disk size, interface type) in an hpux pa-risc computer without looking at the disk physically?...

+ Reply to Thread
Results 1 to 5 of 5

Thread: determine the hard disk type in hpux pa-risc computer

  1. determine the hard disk type in hpux pa-risc computer

    Is there a hpux command to determine the hard disk type (e.g. disk
    size, interface type) in an hpux pa-risc computer without looking at
    the disk physically?

  2. Re: determine the hard disk type in hpux pa-risc computer

    TsanChung wrote:
    > Is there a hpux command to determine the hard disk type (e.g. disk
    > size, interface type) in an hpux pa-risc computer without looking at
    > the disk physically?


    There is fstyp(1M) with the -v option.

  3. Re: determine the hard disk type in hpux pa-risc computer

    TsanChung wrote:
    > Is there a hpux command to determine the hard disk type (e.g. disk
    > size, interface type) in an hpux pa-risc computer without looking at
    > the disk physically?


    ioscan -C disk -f

    for d in /dev/rdsk/*; do
    diskinfo $d
    done

    --
    echo imhcea\.lophc.tcs.hmo |
    sed 's2\(....\)\(.\{5\}\)2\2\122;s1\(.\)\(.\)1\2\11g;1 s;\.;::;2'

  4. Re: determine the hard disk type in hpux pa-risc computer

    hpux11.31B # ioscan -mdsf
    Persistent DSF Legacy DSF(s)
    ========================================
    /dev/pt/pt4 /dev/rscsi/c5t0d0
    /dev/rscsi/c7t0d0
    /dev/pt/pt7 /dev/rscsi/c12t3d0
    /dev/rscsi/c10t3d0
    /dev/rdisk/disk12 /dev/rdsk/c1t0d0
    /dev/rdisk/disk12_p1 /dev/rdsk/c1t0d0s1
    /dev/rdisk/disk12_p2 /dev/rdsk/c1t0d0s2
    /dev/rdisk/disk12_p3 /dev/rdsk/c1t0d0s3
    /dev/rdisk/disk12_p4 /dev/rdsk/c1t0d0s4
    /dev/rdisk/disk12_p5 /dev/rdsk/c1t0d0s5
    /dev/rdisk/disk23 /dev/rdsk/c3t2d5
    <--SNIP-->

    # diskinfo /dev/rdisk/disk23
    SCSI describe of /dev/rdisk/disk23:
    vendor: EMC
    product id: SYMMETRIX
    type: direct access
    size: 70709760 Kbytes
    bytes per sector: 512


  5. Re: determine the hard disk type in hpux pa-risc computer

    Yes
    Diskinfo -v /dev/rdsk/cxtydz
    Hope it helps
    Florent



+ Reply to Thread