Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have redhat enterprise linux running on my sustem. Till yesterday my / was 36% full suddenly(as it was sunday many have not used the server) I am seeing it as 100% full.
I have /home /usr /var /boot mounted in other partions.
# df -k (on today)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 8063408 8063400 0 100% /
/dev/sda1 99134 14933 79082 16% /boot
/dev/sda7 100703656 24865008 70723156 27% /home
none 1030540 0 1030540 0% /dev/shm
/dev/sda5 7055272 2605900 4090976 39% /usr
/dev/sda2 20158332 725820 18408512 4% /var
my /var was also showing 100 % full. I deleting the mail log and it came back to 4%. Can anyone tell me so that can isee what is needed to deleted from / partion.
#df -k (yesterday)
------------------ Disk Space --------------------
If you run du -sh /* you will see which top level directories are using up the space. If for example, it was /var, you would then type du -sh /var/* and so on until you find out where the files using up the space are located.
Thanks my /tmp shows have all the space
# du -sh /*
5.2M /bin
11M /boot
428K /dev
22M /etc
24G /home
4.0K /initrd
139M /lib
16K /lost+found
4.0K /misc
12K /mnt
244K /opt
du: `/proc/22856/fd/4': No such file or directory
5.0K /proc
62M /root
12M /sbin
7.5G /tmp
2.5G /usr
678M /var
[root@bic httpd]# cd /tmp
[root@bic tmp]# l s-l
-bash: l: command not found
[root@bic tmp]# ls -l
total 24
drwxr-xr-x 3 root root 4096 Oct 19 2005 home
drwx------ 2 root root 4096 Feb 11 07:21 logwatch.XXedsliM
drwx------ 2 root root 8192 Jun 30 2006 orbit-root
drwx------ 2 sanjib sanjib 4096 Oct 26 2005 orbit-sanjib
-rw------- 1 apache apache 0 Feb 12 11:45 sess_bb063d0669617942c60c90f7e13746bc
drwx------ 2 root root 4096 Jun 30 2006 ssh-QJyG4509
DO i remove whole of /tmp directory by rm -rF and then again make the directory.
THe home directory in the /tmp directory has by itself many directories
I wouldn't just delete the /tmp directory unless you can shut down any system and user processes that are using it. It shouldn't take long to find where the space is being used with du -sh /tmp/*. Could one of your users be building an image to burn to DVD?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.