Clearing FMA faults on Oracle / Sun Fire T1000/T2000

After replacing a defective part on a Sun Fire T1000/T2000 boxes, we need to clear the FMA Faults. There are two ways that we can achieve this task – via the System Controller (SC) or Solaris OS. I usually prefer the path because there is no downtime required but there would be times that we need to do it on the OS side.

Clearing faults from SC:

Show the faults on the system controller

sc> showfaults -v

For each fault listed run

sc> clearfault <uuid>

If there are any disabled components run

sc> clearasrdb

Clear ereports

sc> setsc sc_servicemode true
sc> clearereports -y
sc> setsc sc_servicemode false

To clear the FMA faults and error logs from Solaris:

Show faults in FMA

[email protected]# fmadm faulty

For each fault listed in the ‘fmadm faulty’ run

[email protected]# fmadm repair <uuid>

Clear ereports and resource cache

[email protected]# cd /var/fm/fmd
[email protected]# rm e* f* c*/eft/* r*/*

Reset the fmd serd modules

[email protected]# fmadm reset cpumem-diagnosis
[email protected]# fmadm reset cpumem-retire
[email protected]# fmadm reset eft
[email protected]# fmadm reset io-retire

Reboot the system

[email protected]# reboot
[email protected]# shutdown -y -g0 -i6