a) Show faults in FMA
# fmadm faulty
b) For each fault UUID listed in the 'fmadm faulty' run
# fmadm repair <uuid>
# fmadm faulty (to make sure the output is clean afterrepair)
c) Clear ereports and resource cache
# cd /var/fm/fmd
# rm e* f* c*/eft*
d) Reset the fmd serd modules
# fmadm reset cpumem-diagnosis
# fmadm reset cpumem-retire
# fmadm reset eft
# fmadm reset io-retire
# fmadm faulty
b) For each fault UUID listed in the 'fmadm faulty' run
# fmadm repair <uuid>
# fmadm faulty (to make sure the output is clean afterrepair)
c) Clear ereports and resource cache
# cd /var/fm/fmd
# rm e* f* c*/eft*
d) Reset the fmd serd modules
# fmadm reset cpumem-diagnosis
# fmadm reset cpumem-retire
# fmadm reset eft
# fmadm reset io-retire
e) Reboot the system
To clearthe FMA faults and error logs from Solaris without rebooting thesystem:
a) Stop the fmd:
# svcadm disable -s svc:/system/fmd:default
b) Remove all files from the FMA log directories. This is veryspecific to the files found in the FMS directories, all directoriesmust be left intact.
# cd /var/fm/fmd
# find /var/fm/fmd -type f -exec ls {} \;
c) Check that only files within the /var/fm/fmd directory areidentified then replace the ls with rm to remove them.
# find /var/fm/fmd -type f -exec rm {} \;
d) Restart fmd after the files are removed
# svcadm enable svc:/system/fmd:default