[GLLUG] Mounting All Partitions!

Barry Tigner tigner at msu.edu
Mon Feb 13 17:16:34 EST 2012


HI Ben,

You need to look in /var and see what is taking up the space.

My guess , is that it is /var/tmp . You can probably safely delete
anything you see in /var/tmp if you are not running Xorg or doing
any compiling.

do a "du -c /var/tmp " to see how much space is being used in /var/tmp.

df will give you an idea of what mountpoint is full.

This is what my system shows with df .

eshop1# df
Filesystem 1K-blocks      Used     Avail Capacity  Mounted on
zroot      887262855    706222 886556632     0%    /
devfs              1         1         0   100%    /dev
linprocfs          4         4         0   100%    /compat/linux/proc
fdescfs            1         1         0   100%    /dev/fd
procfs             4         4         0   100%    /proc
backup     153795945 104955689  48840256    68%    /backup
zroot/home 944314018  57757386 886556632     6%    /home
zroot/usr  897059482  10502850 886556632     1%    /usr
zroot/var  886736910    180277 886556632     0%    /var

You can add -h to the df command to see the results in human readable
format.

eshop1# df -h
Filesystem    Size    Used   Avail Capacity  Mounted on
zroot         846G    689M    845G     0%    /
devfs         1.0k    1.0k      0B   100%    /dev
linprocfs     4.0k    4.0k      0B   100%    /compat/linux/proc
fdescfs       1.0k    1.0k      0B   100%    /dev/fd
procfs        4.0k    4.0k      0B   100%    /proc
backup        146G    100G     46G    68%    /backup
zroot/home    900G     55G    845G     6%    /home
zroot/usr     855G     10G    845G     1%    /usr
zroot/var     845G    176M    845G     0%    /var

When I log onto my system , before I check for updates, or compile or
start Xorg, I clean out everything in /tmp and /var/tmp.

If you have a lot of "dot" files, which are files that start with a "."
and you want to remove them, do not take any shortcuts such as rm *.* or
you may wipe your entire file system.

If you want to see what the largest files in a directory are , do this.

du  |sort -rn |more


Good luck,

Barry






-- 
Barry Tigner
MSU PA Electronics Design and Service Ctr.
1230 BioMedical Physical Sciences
Email: tigner at msu.edu
Phone: 517-884-5538


On Mon, 2012-02-13 at 15:36 -0500, Ben Chavez wrote:
> I remember there was a discussion about /var being full and the OS reporting
> a full file system. I don't think I saw a solution for this problem and,
> well I am having that problem right now. So if somebody would kindly explain
> how to free up space I will highly appreciate it.
> 
> Thank you.
> 
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://mailman.egr.msu.edu/mailman/listinfo/linux-user



More information about the linux-user mailing list