Link to home
Start Free TrialLog in
Avatar of z670193
z670193

asked on

My /var fs got full to 100%

Hi,

My /var fs got full to 100%. I have removed some files from /var/mail but it just came down to 97%. I am not receiving any mails or able to send any mails. which files or directories can i remove. can any one help us in this.

one more - how to remove e-mail address - some of my old employee's mails are still receiving mails - i want to remove their e-mail address. how to and where to remove those e-mail address permamnently.

i appreciate u r help on this.

thanks
ASKER CERTIFIED SOLUTION
Avatar of eaperezh
eaperezh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rindi
What distro are you using? If it is based on debian, you would probably have a /var/cache/apt/archives. Here the downloaded archives of your .deb files are located. These you don't need anymore and you can delete them. You can also use apt-get clear to delete them. If it is fedora-core or red-hat, and you are using yum to update the system you can delete the rpm's in /var/cache/yum/.... which are there for the same reason as in debian.

If you have a partition with enough room, you could use a livecd like knoppix, and then with that OS, move the var folder to the other partition. Then make a symlink in the / with var as name. Just make sure the partition you are copying var to is loaded at bootup.
Avatar of cyan990
cyan990

Hi,

Funny you mention this problem....I just got done fixing our server running UNIX that was having the same problem.  I ended up emptying SPAM messages from /var/spool/mqueue.  Don't know if you have the same directory.  But the general idea, is to check the incoming queue and see what's going on.

Thanks,

Cyan990