freebsd-chat Digest, Vol 320, Issue 1

Patsy patsy at ethernull.org
Wed Sep 23 18:14:14 UTC 2009


> i did "du" but i can't get it how much the /home partion
> gets ! I'm uning many FreeBSD, OpenBSD servers(19"-1U) at
> the moment without any other users namely myself & as root.

"du -sh /*" will tell you which directories in "/" are taking
up the most space. Then you can look into those directories to
find out where the files are.


> Do i need to make "/" partn read only in order to avoid get
> filling it or is there any other correct solution for it?

I wouldn't make it read-only: something needs to write the
data there and it will sulk if it can't.

What are the servers being used for?


Patsy


> here is from two of my server infos for your info:
> FreeBSD V 7.2 (New Installation with less HD capacity)
> 
> $ df -h
> Filesystem       Size    Used   Avail Capacity  Mounted on
> /dev/ipsd0s1a    496M    388M     68M    85%    /
> devfs            1.0K    1.0K      0B   100%    /dev
> /dev/ipsd0s1e    989M     54M    856M     6%    /tmp
> /dev/ipsd0s1f     16G    6.7G    8.2G    45%    /usr
> /dev/ipsd0s1d     11G    545M    9.9G     5%    /var
> devfs            1.0K    1.0K      0B   100%   
> /var/named/dev
> 
> 
> another server with same file system OpenBSD! has the same
> Problem! (i think it does not matter whether Open or
> Free-BSD here)
> OpenBSD V. 4.5
> $ df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/sd0a      4.9G    4.7G    8.0K   100%    /
> /dev/sd0e     1008M   10.0K    958M     0%    /tmp
> /dev/sd0f     31.7G    9.8G   20.3G    33%    /usr
> /dev/sd0d     23.6G    266M   22.2G     1%    /var
> 
> I went through a lot of Docs, but no successful answers.
> 
> rgds,
> 
> sisantha 
>  
> 
> > -----Ursprüngliche Nachricht-----
> > Von: "Patsy" <patsy at ethernull.org>
> > Gesendet: 23.09.09 16:56:52
> > An: Sisantha Godawela-Ohle <ekerberos at web.de>
> > CC: freebsd-chat at freebsd.org
> > Betreff: Re: freebsd-chat Digest, Vol 320, Issue 1
> 
> 
> > how much of the space in "/" is taken up by the "/home"
> > directory? (the "du" command should be able to help with
> > this). It's quite common to create a seperate /home
> > partition
> > to avoid ordinary users being able to fill up the "/"
> > partition.
> > 
> > Patsy
> > 
> > On 23 September 2009 at 15:55 Sisantha Godawela-Ohle
> > <ekerberos at web.de> wrote:
> > 
> > > Hello FreeBSD Gurus,
> > > 
> > > i am using FreeBSD for a quite few years and now getting
> > > problems with installation of applications as the "/"
> > > partition gets FULL!
> > > Installations are like in this manner:-
> > > " /  (5GB)
> > > swap (4GB)
> > > /var  (moer than 20GB)
> > > /tmp ( 1GB)
> > > /usr" (moer than 20GB)
> > >  Now mz qestion is, why is it the "/ " Partion gets
> > >always
> > >filled with all stuff although there is plenty of space
> > >in
> > >"/usr"
> > >  partion as well as "/var" ?
> > > 
> > > And how get rid of this menace and amed it?
> > > 
> > > Regards,
> > > 
> > > Sisantha
> > >


More information about the freebsd-chat mailing list