We are at a loss in understanding how SAR generated
device IO stats relate to IOSTAT device stats. 
Specifically, SAR lists devices in the syntax of
dev8-X while IOSTAT lists devices in the syntax of
sdaX.  We have not found a direct method of
correlating dev8-X to sdaX.  I understand that, for
example, dev8-x refers to a physical disk and
/dev/sda1 refers to partitions. 

Some of the things that we've tried...
iostat -x and iostat don't provide the correlation.

Fstab does not provide the information.  

/proc/partitions at first glance looks like it
provides the correct info but it does not.

stat /dev/sda1   doesn't provide the information

DF presents a realtionship between partitions and
sdaX, but not dev8-X

I know that we could run some tests and develop a
mapping empirically, but we would rather avoid that
path.

Take a look at the following examples...

>sar -f sa14 -d
Linux 2.4.9-e.9enterprise (server2)     01/13/2003
10:00:00 PM       DEV       tps    blks/s
10:10:00 PM    dev8-0      7.14    132.02
10:10:00 PM    dev8-1      7.09      7.09
10:10:00 PM    dev8-2      0.03      0.03
10:10:00 PM    dev8-3      0.03      0.03
10:10:00 PM    dev8-4     90.04   7556.51
10:20:00 PM    dev8-0      7.08    149.14
10:20:00 PM    dev8-1      6.99      6.99
10:20:00 PM    dev8-2      0.03      0.03
10:20:00 PM    dev8-3      0.03      0.03
10:20:00 PM    dev8-4     90.65   7836.31

>iostat
Device:  rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s
avgrq-sz avgqu-sz   await  svctm  %util
sda        1.52   6.80  0.89  6.11   12.11   99.56   
15.93     0.36   51.23   7.78   0.55
sda1       0.01   0.00  0.00  0.00    0.02    0.01   
13.12     0.00  181.28  96.06   0.00
sda2       0.25   0.51  0.34  0.24    3.49    4.57   
13.88     0.14  232.79  19.40   0.11
sda3       0.20   0.71  0.30  0.44    3.09    8.34   
15.59     0.06   77.53  16.91   0.12
sda5       0.00   0.00  0.00  0.00    0.00    0.00    
8.00     0.00  100.00 100.00   0.00
sda6       0.08   3.27  0.01  1.38    0.19   36.70   
26.62     0.04   28.15   8.25   0.11
sda7       0.17   0.43  0.16  0.46    2.70    7.13   
15.79     0.03   44.81  15.40   0.10
sda8       0.23   1.87  0.07  3.60    1.42   42.81   
12.07     0.10   27.13   9.27   0.34
sdb      252.00 343.27 52.57 36.56 2412.65 3099.16   
61.84    52.43  586.65  13.92  12.41
sdb1       0.00   0.00  3.39  3.39    3.39    3.39    
1.00     0.16   23.31  23.31   1.58
sdb2     252.00 343.27 49.18 33.17 2409.26 3095.77   
66.85    52.27  633.03  14.47  11.91
sdc        0.00   0.00  0.20  0.00    1.42    0.00    
7.10     0.03  150.44  42.87   0.09
sdc1       0.00   0.00  0.20  0.00    1.42    0.00    
7.11     0.03  150.50  42.88   0.09
sdd        0.00 165.38  0.13  6.98    0.86 1378.94  
194.00     0.99  138.99  28.75   2.04
sdd1       0.00 165.38  0.13  6.98    0.86 1378.94  
194.01     0.99  138.99  28.75   2.04
sde      155.11 179.59 17.08  7.00 1377.38 1494.00  
119.23    39.30 1632.08  32.99   7.95
sde1     155.11 179.59 17.08  7.00 1377.38 1494.00  
119.23    39.30 1632.08  32.99   7.95

Thanks,

...Robert

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to