Solaris kstat sdX disk nread counter value decreasing

Posted by mykhal on Server Fault See other posts from Server Fault or by mykhal
Published on 2009-12-21T10:25:57Z Indexed on 2011/06/21 0:23 UTC
Read the original article Hit count: 177

Filed under:
|

I get strange disk io nread (bytes read) counter values (from kstat) on Solaris. Example of collected nread value for sd6 disk collected in 30s interval (command kstat -n sd6):

768579416
768579416
768579416
768579416
768579416
768579416
768579416
768496080
768496080
768496080
768496080
768496080
768496080
768496080
768496080
768530896
768530896
768447560
768447560
768447560

One would suppose that the relative read bytes count can't be negative.. I wonder what can couse this situation and whether there is more reliable disk io data available.

Some info about the system:

machine:~ # uname -a
SunOS machine 5.10 Generic_127112-11 i86pc i386 i86pc
machine:~ # cat /etc/release 
                        Solaris 10 11/06 s10x_u3wos_10 X86
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 14 November 2006

© Server Fault or respective owner

Related posts about solaris

Related posts about disk