How to clear fmadm log or FMA faults log2


Example of clearing out FMA files with no reboot needed.

Disable service:
svcadm disable -s svc:/system/fmd:default
Clearing logs:
# go to directory with logs
cd /var/fm/fmd

# looking list of logs/files
find /var/fm/fmd -type f -exec ls {} \;

# clearing logs
find /var/fm/fmd -type f -exec rm {} \;
Enable fmd service:
svcadm enable svc:/system/fmd:default
Reset the fmd serd modules:
fmadm reset cpumem-diagnosis
fmadm reset cpumem-retire
fmadm reset eft
fmadm reset io-retire