Question about the hareware path and device name


 
Thread Tools Search this Thread
Operating Systems HP-UX Question about the hareware path and device name
# 1  
Old 03-13-2007
Question about the hareware path and device name

# ioscan -f | grep disk
Class I H/W Path Driver S/W State H/W Type Description
disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC c2t0d0
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC c2t1d0
disk 2 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC c3t2d0
From the document, it says that :
In the hareware path, like 0/1/1/0.1.0, the second zero from left represents the address of SCSI adapte.
In the device name, like c2t0d0, the digit number after 'c' represents the adapter that the disk connects to.
Why are they different for a disk?
Another question is that, there are three disk in my hpux machine, in the directory, there are four files
# ls /dev/dsk
c0t0d0 c2t0d0 c2t1d0 c3t2d0
what does the c0t0d0 represent for ?
Thanks,^_^!
# 2  
Old 03-13-2007
Quote:
Another question is that, there are three disk in my hpux machine, in the directory, there are four files
# ls /dev/dsk
c0t0d0 c2t0d0 c2t1d0 c3t2d0
what does the c0t0d0 represent for ?
Looks like that is your cdrom drive - disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies

2. Red Hat

Ethernet Port device path?

Hi, I have a server program that reads data coming in on USB ports. Device paths are in the format: /dev/ttyUSB0 Now, I would like to log data from another device coming in over Ethernet. My first step is trying to track down what the correct device path is which I am unsure of. Anyone... (9 Replies)
Discussion started by: fedora18
9 Replies

3. Solaris

Tape device 1cbn path not getting created

After we upgraded one PW450 machine from (networker 7.2 & solaris 9) to (networker 7.4 and solaris 10) through scratch installation Only one of two HP tape drives is shown in inquire command And we are getting strange logs in messages file (attached) For 2nd drive 1cbn character specific file... (4 Replies)
Discussion started by: kashif_islam
4 Replies

4. UNIX for Advanced & Expert Users

PATH included in .o file of device driver

Hello friends, I am building one driver related to wifi. When I am looking its hex dump, I can see that it is including a path to one particular file of kernel headers. It is as under. 6C 75 65 2E 0A 00 00 00 25 64 2E 25 64 2E 25 64 lue.....%d.%d.%d 2D 25 73 00 00 00 00 00 42 45... (4 Replies)
Discussion started by: linuxdevnoob
4 Replies

5. Red Hat

device-mapper-multipath path [undef]

I have an HP blade with Qlogic HBA's connected to an EVA8000. I have downloaded the latest multipath.conf from HP's website. The drive presented to the server appears to be configured and working except the output of "multipath -l" shows for all paths. What is causing this output? mpath0... (2 Replies)
Discussion started by: manzier
2 Replies

6. SuSE

PATH question

How does one decide where to un-zip a tar file ? I've downloaded one and placed it in my own directory but it has created USR and various sub libraries such as BIN. In trying to run the executable, I'm getting hercules: error while loading shared libraries: libherc.so: cannot open shared... (6 Replies)
Discussion started by: stansaraczewski
6 Replies

7. Solaris

question about opb boot device

hi all: I have a sun blade-1000 for labs only, with 73G hd loaded, which boot block installed on slice 0. I'm confused by setting "boot-device" value in obp, which my question as follow: in ok mode, I got device alias like this: disk0: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@2,0 as I know the... (4 Replies)
Discussion started by: netshu
4 Replies

8. UNIX for Dummies Questions & Answers

Question regarding the PATH

"Never put the current directory (specified by . (period)) in the PATH value specified for the root user. Never allow the current directory to be specified in /etc/profile. The root user should have its own PATH specification in his private .profile file " Infos: Refer:... (1 Reply)
Discussion started by: owange_county
1 Replies

9. UNIX for Dummies Questions & Answers

serial port device path

hi. Im trying to install a switch. And the manual says i should type a command including a SerialPortDevicePath. which is the filepath to serial port used for connection. However.. nothing about how to find this info. Could anyone help me where to find this path? thx mr.T (6 Replies)
Discussion started by: tyskertÝs
6 Replies

10. UNIX for Dummies Questions & Answers

browsing OBP device tree -- question

Does anyone know the difference between these two OBP commands? dev device-path Chooses the indicated device node, making it the current node. " device-path" select-dev Selects the specified device and make it the active node. I am a bit confused about this...Thanks. (1 Reply)
Discussion started by: dangral
1 Replies
Login or Register to Ask a Question

Featured Tech Videos