/var/fm/fmd is very big


 
Thread Tools Search this Thread
Operating Systems Solaris /var/fm/fmd is very big
# 1  
Old 04-06-2009
/var/fm/fmd is very big

After an initial OS (Solaris 10 10/08) jumpstart to a sever, several fmd errors were reported and noticed that / is 100% used. I then noticed that /var/fm/fmd contains a lot of core.fmd.* files which fill the disk, so I deleted them manually. Disk usage dropped to about %20. After sometime another error was reported by fmd and disk usage jumped to %44, so I fixed it by fmadm repair. However, /var/fm/fmd is still full of core.fmd.* files (about 300 files, 18M each).

# du -ko /|sort -n | tail -2
505416 /platform/sun4v
2914444 /var/fm/fmd

How these files (core.fmd.*) can be cleaned up? I do not seem to see anything in the cron that is related. Any advice?
# 2  
Old 04-06-2009
To manage the files I suggest taking a look at:
Managing Fault Management Log Files - Scott Davenport @ Sun

But the primary concern is why the Fault Management system is making so many log files, perhaps there is a fault, that needs fixing? Perhaps taking a look at the syslog might enlighten you as what the root cause is?

Consider looking at man fmd(1m).
# 3  
Old 04-06-2009
I have seen the article by Scott, but it does not mention how to deal with core.fmd.* files; it only discusses errlog and fltlog. Manual page for fmd does not provide any detail and did not see indication in syslog Smilie
# 4  
Old 04-07-2009
May I suggest you take a look at: Solaris Fault Management to see how to find out what fmd(1m) is complaining about.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

2. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

3. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

4. Solaris

/var/adm & /var/sadm

what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os please can any one respond quickly thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies

5. UNIX for Dummies Questions & Answers

How big is too big a config.log file?

I have a 5000 line config.log file with several "maybe" errors. Any reccomendations on finding solvable problems? (2 Replies)
Discussion started by: NeedLotsofHelp
2 Replies

6. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

7. Solaris

Solaris 10 10/08 fmd core dump

There's something strange with fmd in update 6. On four identical machines (Netra T2000) all installed thru jumpstart (same configuration, same packages, same patches, same firmware) fmd randomly refuses to start after reboot. $ cat /var/svc/log/system-fmd:default.log ... $ svcs... (8 Replies)
Discussion started by: Luka
8 Replies

8. UNIX for Dummies Questions & Answers

How to view a big file(143M big)

1 . Thanks everyone who read the post first. 2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too. How to view it ? If I want to view 200-300 ,how can I implement it 3 . Thanks (3 Replies)
Discussion started by: chenhao_no1
3 Replies
Login or Register to Ask a Question