By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,227 Members | 1,026 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,227 IT Pros & Developers. It's quick & easy.

File System Full

P: n/a
vj
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.

Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Monitor the filesystems using a tool like Tivoli and generate automated
alerts to the proper parties when one gets to 80% or 90% full. Have the
System Admin add space when that happens.

vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.

Nov 12 '05 #2

P: n/a
Create two files:
1. dft.awk -containing below
$4 > 90
{
}

2. Create dft.sh
rm /tmp/dft.out
rm /tmp/dft.txt
rm /tmp/dft1.txt
df -k |tr -d '%' |tail +1 >/tmp/dft.out
awk -f dft.awk </tmp/dft.out >/tmp/dft1.txt
grep -iv "filesystem" /tmp/dft1.txt >/tmp/dft.txt

if [ -s '/tmp/dft.txt' ]
then
for email in `cat /db2/bin/ini/dft_email.ini` # Store
email/pager address/cell phone address in dft_email.ini
do
mail -s "File System Warning: Please Check " "$email"
</tmp/dft.txt
echo "emailing"
done
fi

Test the above and use it in crontab to monitor every minute.
vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Nov 12 '05 #3

P: n/a
vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Next to the DB2 monitoring facilities, you could try a monitoring system
like zabbix (www.zabbix.org) to monitor disk space. In case of a
threshold overflow, it can report through a number of media.

Obviously the answer to your question is:
Prevent the filesystem from getting full. Monitor diskusage and let your
systems administrator add storage when needed.

-R-
Nov 12 '05 #4

P: n/a
Hi,

You can use SiteScope also. It is very very useful one for these
kind of monitoring. You can download the trial version from mercury
site (http://www.mercury.com/us/website/fw_transition.html).

With Regards

Bala

vj wrote:
What are the various tasks which can be done to avoid the error message
" file System full" ?

Thanks,
Vj.


Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.