1753523 Members
6338 Online
108795 Solutions
New Discussion юеВ

Identify Hard Disks

 
SOLVED
Go to solution
Alan Garner
Frequent Advisor

Identify Hard Disks

I have 6 physical disks installed in slots 3-8 on my rx3600 running v31...

If I know the device file is c0t0d0 and the hardware path is 0/4/1/0.0.0.0.0 how do I translate that into the actual drive slot that disk resides?

I hope I made sense!

Thanks.
18 REPLIES 18
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Identify Hard Disks

Probably the easist method that works independent of hardware is the "winky-blinky" test.

dd if=/dev/rdsk/c0t0d0 bs=1k count=5000 of=/dev/null

and watch for the flashing LED on the drive.

If it ain't broke, I can fix that.
Alan Garner
Frequent Advisor

Re: Identify Hard Disks

Thank you. That did the trick. Now about the results...

All 6 disks responded to the "ping" if you will but that means there is no cxtxdx file for my DVD drive. That's wierd because I just used it to cold instll the system this morning! It worked to install the system but now there is no device file for it so therefore I mount it for use! I ran an insf -e to regenerate all the device files to no avail.

Any other suggestions?
A. Clay Stephenson
Acclaimed Contributor

Re: Identify Hard Disks

Do this:

ioscan -fn
insf
ioscan -fn -C disk and see if your CD/DVD drive isn't now listed.
If it ain't broke, I can fix that.
Alan Garner
Frequent Advisor

Re: Identify Hard Disks

No dice! What else can I try?
Tim Nelson
Honored Contributor

Re: Identify Hard Disks

running 'ioscan -kfnC disk' should show you the disks and DVD

A. Clay Stephenson
Acclaimed Contributor

Re: Identify Hard Disks

Post the output of "ioscan -fn".
If it ain't broke, I can fix that.
Alan Garner
Frequent Advisor

Re: Identify Hard Disks

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
OO 0 0/0/2/0 UsbOhci CLAIMED INTERFACE PCI SerialBus (10330035)
OO 1 0/0/2/1 UsbOhci CLAIMED INTERFACE PCI SerialBus (10330035)
OO 3 0/0/2/1.0 UsbMiniBus CLAIMED INTERFACE OO Device Driver
OO 5 0/0/2/1.0.0 UsbBulkOnlyMS CLAIMED DEVICE OO Device Driver
disk 1 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED DEVICE OO Device Driver
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
/dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
OO 6 0/0/2/2 UsbEhci CLAIMED INTERFACE PCI SerialBus (103300e0)
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 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 3 0/3/1 pci_slot CLAIMED SLOT PCI Slot
lan 0 0/3/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 1 0/3/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 4 0/4/1 pci_slot CLAIMED SLOT PCI Slot
escsi_ctlr 0 0/4/1/0 sasd CLAIMED INTERFACE HP PCI/PCI-X SAS MPT Adapter
/dev/sasd0
ext_bus 0 0/4/1/0.0.0 sasd_vbus CLAIMED INTERFACE SAS Device Interface
target 0 0/4/1/0.0.0.0 tgt CLAIMED DEVICE
disk 8 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 2 0/4/1/0.0.0.1 tgt CLAIMED DEVICE
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
target 5 0/4/1/0.0.0.2 tgt CLAIMED DEVICE
disk 4 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t2d0 /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s1 /dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s1 /dev/rdsk/c0t2d0s3
target 4 0/4/1/0.0.0.3 tgt CLAIMED DEVICE
disk 3 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
target 1 0/4/1/0.0.0.4 tgt CLAIMED DEVICE
disk 7 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
target 3 0/4/1/0.0.0.5 tgt CLAIMED DEVICE
disk 5 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
target 6 0/4/1/0.0.0.6 tgt CLAIMED DEVICE
disk 6 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
slot 5 0/4/2 pci_slot CLAIMED SLOT PCI Slot
lan 2 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 3 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
ba 5 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 6 0/5/1 pci_slot CLAIMED SLOT PCI Slot
slot 7 0/5/2 pci_slot CLAIMED SLOT PCI Slot
ba 6 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (122e)
slot 8 0/6/1 pci_slot CLAIMED SLOT PCI Slot
ba 7 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
slot 9 0/7/1 pci_slot CLAIMED SLOT PCI Slot
lan 4 0/7/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 5 0/7/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
processor 0 120 processor CLAIMED PROCESSOR Processor
processor 1 121 processor CLAIMED PROCESSOR Processor
ba 8 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
Bill Hassell
Honored Contributor

Re: Identify Hard Disks

Since ioscan can't see the DVD, the drive has malfunctioned. Did you connect another SCSI device onto the system without checking for overlapping addresses?

As far as installing, the ability to boot off the DVD has nothing to do with HP-UX and it's ability to see the drive. When cold-installing, you are using only the processor ROMs. Once HP-UX is running, then insf and ioscan will probe all addresses for devices and create the necessary device files. If ioscan does not report a CD/DVD drive then you have a hardware problem. I am ASSUMING that this is a standard HP SCSI CD/DVD that came with the system and not an add-on connected with USB or some other interface.


Bill Hassell, sysadmin
Alan Garner
Frequent Advisor

Re: Identify Hard Disks

That is correct...nothing new, just orginal hardware. Now that I think of it, maybe its a version issue. The server came with v2 and the DVD was present as c0t0d0 and had a description of TEAC. I then mounted it and used it to UPGRADE to v3. That was last week. I ve not had the need to use it so I don't know if it was present after the upgrade or not!

I guess I'll spend the rest of the day on the phone with HP!

Thank you for all your help and quick response!