1753846 Members
7545 Online
108807 Solutions
New Discussion юеВ

Re: file system full

 
file system
Frequent Advisor

file system full

Hi all.
When I go to my office,Linux box has a file system full.

so I deleted the file one of the biggest files.

but it still seemed full. what is it? why it seemed to be full


5 REPLIES 5
Srimalik
Valued Contributor

Re: file system full

Which file system is full? /, /opt ....

or have installed the system in a single partition.

Please send output of "df" command.

What command did you use to remove the file ?


abandon all hope, ye who enter here..
Jeeshan
Honored Contributor

Re: file system full

send your df output and root crontab entry.
a warrior never quits
file system
Frequent Advisor

Re: file system full

/var file system was fulled

[root@web root]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ida/c0d0p2 20159932 3210028 15925824 17% /
/dev/ida/c0d0p1 1032056 27348 952284 3% /boot
/dev/ida/c0d0p5 3120296 445676 2516116 16% /home
none 1027740 0 1027740 0% /dev/shm
/dev/ida/c0d0p3 7224712 4057148 2800568 60% /usr
/dev/ida/c0d0p7 1032056 944880 34752 97% /var
ns40g:/fs_affis/affis
206515200 120893728 85621472 59% /affisportal
ns40g:/nastv 252092992 139623872 112469120 56% /nastv
spa:/A2 204746784 154156800 48542528 77% /nastv_old

It displays as below in the crontab file

0 * * * * /home/ebrother/client/bin/RecoveryTrans.sh
#0-59 * * * * /opt/FJSVj2ee/var/deployment/ijserver/portal/apps/soft.sh
30 5 * * * /usr/sbin/ntpdate 211.237.50.12
#0-59 * * * * /bin/sh /root/mon_ssostart
#45 3 * * * /bin/sh /root/restart_was.sh
#0 8 * * 1-5 /opt/FJSVj2ee/var/deployment/ijserver/portal/apps/portal/makepage/publish.sh
#30 12 * * * /opt/FJSVj2ee/var/deployment/ijserver/portal/apps/portal/makepage/publish.sh
#30 17 * * * /opt/FJSVj2ee/var/deployment/ijserver/portal/apps/portal/makepage/publish.sh
#20 * * * * /opt/FJSVj2ee/var/deployment/ijserver/portal/apps/portal/makepage/pub_ws.sh
00 6 * * * /usr/local/bin/affismon
Jeeshan
Honored Contributor

Re: file system full

purge your /var/log/messages file and check to see your crontab entries in /etc 's

cron.d
cron.daily
cron.hourly
cron.weekly
cron.monthly

files, which is not needed by you. and also in /etc/crontab file, which is unnecessary for you. may be most of the items in that file is overhead for your system.
a warrior never quits
Matti_Kurkela
Honored Contributor

Re: file system full

Maybe you deleted a file that was still in use by some application. In this case, it will vanish from the directory listing immediately but will not actually be removed from the disk until the application stops using it. This is standard Unix-style behaviour.

The command "lsof +L1" can be used to find any deleted files that are still being used. It will also indicate the PID file of the process using the file, so you can find out what application needs to be stopped to free the disk space.

MK
MK