My Oracle Support Banner

How to Reset the iostat -E Error Counters Without Rebooting (Doc ID 1012731.1)

Last updated on MAY 17, 2023

Applies to:

Solaris Operating System - Version 10 and later
All Platforms


If iostat -E is reporting non zero values for errors, these values will not be reset to zero until system is rebooted.

In certain situations, it may be preferred that these parameters be reset to zero. For instance, after replacing a faulty disk the error counters for the faulty disk needs to be reset. This can be easily achieved in Solaris 10 and 11.

CAUTION: The safest method to reset these values is to reboot your system! If you use the following script you do so at your own risk.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.