Page 1 of 1

iostat stops reporting IO after 2TB

Posted: 03 Aug 2016, 21:11
by xerces8
I am running a long dd copy on a large 5TB disk (sda).
After I while I noticed that "iostat 2" prints 0 kb/s for sda, even if transfers are in progress.

The tps value is updated, but read/write speed and amount read/written is all 0.

I'm using v4.8.0 64 bit (kernel 4.1.27).

Re: iostat stops reporting IO after 2TB

Posted: 02 Apr 2017, 16:26
by xerces8
It is the same in v4.9.3.

I guess it is a limitation of the 32 bit API used by the 32 bit userspace apps.

Details:
- count stops at 2TB with 64 bit kernel
- with 32 bit kernel, it wraps around to zero each 2TB (I guess it is 2TB as I was not around to see the exact moment of wraparound, I just saw that after 5TB it was showing less than 2TB)