physical device path

i am an oracle dba doing troubleshooting of some unusual high volume of disk access. just a bit puzzled now.

when i do a sar -d output

19:44:47device%busyavquer+w/s blks/s avwait avserv

19:44:52nfs1 00.0000.00.0

..........

..........

sd35 00.0010.00.7

sd35,c00.0000.00.0

sd35,h00.0010.00.7

sd305 00.01100.01.0

my question is what is the physical device path for device such as sd305?

if i check the path_to_inst file, it shows me it maps to '"/pci@1f,2000/scsi@1/sd@5,1"', but, i dont see such device when i do a "format".

format output:

AVAILABLE DISK SELECTIONS:

0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>

/pci@1f,4000/scsi@3/sd@0,0

1. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>

/pci@1f,4000/scsi@3/sd@1,0

2. c2t5d0 <Symbios-StorEDGEA1000-0205 cyl 52037 alt 2 hd 64 sec 64>

/pseudo/rdnexus@2/rdriver@5,0

3. c2t5d1 <Symbios-StorEDGEA1000-0205 cyl 17344 alt 2 hd 64 sec 64>

/pseudo/rdnexus@2/rdriver@5,1

4. c2t5d2 <Symbios-StorEDGEA1000-0205 cyl 17344 alt 2 hd 64 sec 64>

/pseudo/rdnexus@2/rdriver@5,2

if i do a long list under /dev, certain device would show in format of dsk/cXtXdXsX, eg,

sd3a -> dsk/c0t0d0s0, but sd305 would be displayed as

sd305a -> ../devices/pci@1f,2000/scsi@1/sd@5,1:a

any Solaris guru can hint to me what device those sd305 are? thanks

[1487 byte] By [giantpanda] at [2007-11-25 23:15:30]
# 1
Instead of sar try using iostat with the -n option:iostat -xnz 5This should give you the devices in cxtydz format. One catch.... you may get a permission denied on your A1000 devices. May need to run this as root.... (/dev/osa is set 774)
jtstachl at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 2

thanks for response...

the iostat actually return the same result, that is the reason puzzled me.

iostat output

bash-2.03$ iostat -xnp

extended device statistics

r/s w/skr/skw/s wait actv wsvc_t asvc_t %w %b device

0.9 4.038.461.9 0.0 0.21.539.203 c0t0d0

0.0 0.00.00.0 0.0 0.00.03.700 c0t0d0s0

0.0 0.00.60.0 0.0 0.00.034.700 c0t0d0s1

0.0 0.00.00.0 0.0 0.00.00.000 c0t0d0s2

0.0 0.00.00.0 0.0 0.00.05.400 c0t0d0s4

0.9 4.037.861.9 0.0 0.21.539.203 c0t0d0s6

0.9 4.038.660.0 0.0 0.21.337.103 c0t1d0

0.0 0.00.00.0 0.0 0.00.00.000 c0t1d0s0

0.0 0.00.00.0 0.0 0.00.00.000 c0t1d0s1

0.0 0.00.00.0 0.0 0.00.00.000 c0t1d0s2

0.0 0.00.00.0 0.0 0.00.04.000 c0t1d0s3

0.9 4.038.660.0 0.0 0.21.337.103 c0t1d0s4

0.0 0.00.00.0 0.0 0.00.00.000 c0t6d0

2.7 2.989.631.1 0.1 0.810.8 139.50 18 sd35

0.0 0.00.00.0 0.0 0.00.00.000 sd35,c

2.7 2.989.631.1 0.1 0.810.9 141.60 18 sd35,h

0.5 3.49.279.4 0.2 0.962.2 219.82 15 sd305

0.0 0.00.00.0 0.0 0.00.00.000 sd305,c

0.5 3.49.279.4 0.2 0.962.3 220.02 15 sd305,h

0.2 3.14.344.9 0.1 0.529.2 137.11 13 sd306

0.0 0.00.00.0 0.0 0.00.00.000 sd306,c

0.2 3.04.344.9 0.1 0.529.4 138.11 13 sd306,h

giantpanda at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 3

Ok... you must be running an older version of Solaris? 2.6 maybe?

You'll need to look at your /etc/path_to_inst file. Find the sd entry for example sd35. Then you should be able to correlate that to the rdriver entry... and that you should be able to match up to your format display...

jtstachl at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 4
thanks....the server is running 2.7i actually checked path_to_instance file (see my 1st message), just a bit puzzled why those device did not have an address in the format of cXtXdXsX
giantpanda at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 5
oops... sorry... overlooked that. I'm not sure the reason why it doesn't automatically give you the cxtydz format, but that is the way it works until you get to Solaris 8. In 8 it will give you the cxtydz format...
jtstachl at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 6
thanks for your response and suggestion. really appreciate that.
giantpanda at 2007-7-5 18:04:34 > top of Java-index,Storage Forums,Storage General Discussion...
# 7
Hi!Its' problem with A1000.rdactl - virtual driver, and cXtXdXsX - symbolic link to this virtual driver. iostat - say phisical device.May be, it was usable documents like infodoc: 22759( it's depend of server platform)
Nikolay_GNV at 2007-7-5 18:04:35 > top of Java-index,Storage Forums,Storage General Discussion...