How to clear fmadm log or FMA faults log

Here are the step by step of clearing the FMA faults on most of Oracle/Sun server. Work perfectly on Solaris 10:

Clear fmadm log, Example :
———————————-
For each fault listed in the ‘fmadm faulty’ run:
# fmadm repair <uuid>   (OR if the components are listed instead, e.g.:)
# fmadm repair 568a9180-7308-4535-92e6-a7c17ef1bfef

[Clear ereports and resource cache:
# cd /var/fm/fmd
# rm e* f* c*/eft/* r*/*

[Clearing out FMA files with no reboot needed:
svcadm disable -s svc:/system/fmd:default
cd /var/fm/fmd
find /var/fm/fmd -type f -exec ls {} \;
find /var/fm/fmd -type f -exec rm {} \;
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

Comments:

V=This is a very useful blog post, use it when fmd service is out of sync with syslogd and fmadm clear is not working properly.
On some system this step is explicit about what is being removed:

cd /var/fm/fmd
rm errlog fltlog ckpt/eft/* rsrc/*

line above replaces find /var/fm/fmd -type f -exec rm {} \;

Posted by Tina on June 20, 2012 at 10:09 PM WIT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Will talk and discuss mostly related with Oracle product: Oracle Solaris, Unix/Linux application, Storage, Tape Library and backup/restore hardware/software

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today