LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   my hard disk is suddenly full ????? (https://www.linuxquestions.org/questions/linux-newbie-8/my-hard-disk-is-suddenly-full-671538/)

Linux Fan 09-22-2008 05:22 AM

my hard disk is suddenly full ?????
 
I tried this:
[root@mail log]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 36G 36G 0 100% /
/dev/i2o/hda1 1.6T 867G 664G 57% /archive
/dev/hda1 99M 9.3M 85M 10% /boot
/dev/shm 251M 0 251M 0% /dev/shm
10.1.2.11:/Volumes/NEXSAN/mailbak
8.9T 4.1T 4.8T 46% /mailbak

what I can do to know what is the problem, it is my mail server

indeliblestamp 09-22-2008 06:14 AM

Maybe you could the size of /var/log, the problem could be out there.
Code:

du -sh /var/log

jolphil 09-22-2008 07:37 AM

I had a very similar problem..
Google this> Need help with full /tmp folder
It was a way to find and fix a full disk in Mandriva..
Goodluck
jolphil

CRC123 09-22-2008 07:52 AM

There are some apps out there that will show you a graphical representation of your filesystem which will then allow you to see what parts are the largest just by looking. Konqueror from KDE3 has a plugin for this called 'File Size View'(FSview). In konqueror/KDE3 you can get to it by View->View Mode->File Size View. It may help in spotting overly large files.

i92guboj 09-22-2008 08:25 AM

Code:

du -sh /*
You can start there, and then look inside the bigger folder, and so on, until you find the big thing.

Linux Fan 09-24-2008 05:33 AM

thanks guys for the help
I want to know where the directories are located in the hard drive
can I do that, for example can I check where my log file located in the hard disk (hda1 or hda2)
thanks again

I got this error msg when I tried to send an email

the size of the message you are trying to send exceeds a temporary size limit of the server. the message was not sent, try to reduce the message size then try again. the server responded: 4.4.5 Insufficient disk space, try again later.

pinniped 09-24-2008 06:17 AM

If it is your mail server, where is the mail being delivered to? If it is somewhere in /var then you may need to adjust your system to mount a partition for the mail (or even for the entire /var directory - whatever you're happy with). Note: a little work needs to be done; you can't simply mount a new partition and expect things to work; you still need to preserve any directory structure and files for all the tools that use the directory.

chrism01 09-24-2008 08:20 AM

Looking at that /var will be on the disk that ids full, which is where your logs /var/log are and prob the temp space used by your email.


All times are GMT -5. The time now is 04:54 PM.