iostat command question

Iostat inquiry;# iostat -e
---- errors ---
device s/w h/w trn tot
fd0 0 0 0 0
md0 0 0 0 0
md1 0 0 0 0
md2 0 0 0 0
md10 0 0 0 0
md11 0 0 0 0
md12 0 0 0 0
md30 0 0 0 0
md31 0 0 0 0
md32 0 0 0 0
md40 0 0 0 0
md41 0 0 0 0
md42 0 0 0 0
md50 0 0 0 0
md51 0 0 0 0
md52 0 0 0 0
md60 0 0 0 0
md61 0 0 0 0
md62 0 0 0 0
sd0 0 78 74 152
sd1 0 8 0 8
sd6 0 0 0 0

After a drive replaement sd0, is there an iostat command that will clear the errors. I am told only a reboot will do that. Looked at the man page and not finding it or have over looked it ............ please advise and thank in advance ..

I searched for it and this is what I have found, hope it helps:

https://forums.oracle.com/forums/thread.jspa?threadID=2211599

This will only work for Solaris10 +, all other reboot is needed.

1 Like

thanks I will give that a try

---------- Post updated at 02:16 PM ---------- Previous update was at 01:22 PM ----------

Further checking ..... learned reboot is the only way to clear those errors . FYI..