Date: Wed, 23 Sep 2009 20:14:12 +0200 (CEST) From: Patsy <patsy@ethernull.org> To: Sisantha Godawela-Ohle <ekerberos@web.de> Cc: freebsd-chat@freebsd.org Subject: Re: freebsd-chat Digest, Vol 320, Issue 1 Message-ID: <105211763.56000.1253729652367.JavaMail.open-xchange@oxltgw03> In-Reply-To: <1338671055@web.de> References: <1338671055@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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) >=20 > $ df -h > Filesystem=C2=A0 =C2=A0 =C2=A0 =C2=A0Size=C2=A0 =C2=A0 Used=C2=A0 =C2=A0A= vail Capacity=C2=A0 Mounted on > /dev/ipsd0s1a=C2=A0 =C2=A0 496M=C2=A0 =C2=A0 388M=C2=A0 =C2=A0 =C2=A068M= =C2=A0 =C2=A0 85%=C2=A0 =C2=A0 / > devfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2= =A0 =C2=A0 =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 /dev > /dev/ipsd0s1e=C2=A0 =C2=A0 989M=C2=A0 =C2=A0 =C2=A054M=C2=A0 =C2=A0 856M= =C2=A0 =C2=A0 =C2=A06%=C2=A0 =C2=A0 /tmp > /dev/ipsd0s1f=C2=A0 =C2=A0 =C2=A016G=C2=A0 =C2=A0 6.7G=C2=A0 =C2=A0 8.2G= =C2=A0 =C2=A0 45%=C2=A0 =C2=A0 /usr > /dev/ipsd0s1d=C2=A0 =C2=A0 =C2=A011G=C2=A0 =C2=A0 545M=C2=A0 =C2=A0 9.9G= =C2=A0 =C2=A0 =C2=A05%=C2=A0 =C2=A0 /var > devfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.0K=C2=A0 =C2=A0 1.0K=C2= =A0 =C2=A0 =C2=A0 0B=C2=A0 =C2=A0100%=C2=A0 =C2=A0 > /var/named/dev >=20 >=20 > 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=C2=A0 =C2=A0 =C2=A0Size=C2=A0 =C2=A0 Used=C2=A0 =C2=A0Avail Ca= pacity=C2=A0 Mounted on > /dev/sd0a=C2=A0 =C2=A0 =C2=A0 4.9G=C2=A0 =C2=A0 4.7G=C2=A0 =C2=A0 8.0K=C2= =A0 =C2=A0100%=C2=A0 =C2=A0 / > /dev/sd0e=C2=A0 =C2=A0 =C2=A01008M=C2=A0 =C2=A010.0K=C2=A0 =C2=A0 958M=C2= =A0 =C2=A0 =C2=A00%=C2=A0 =C2=A0 /tmp > /dev/sd0f=C2=A0 =C2=A0 =C2=A031.7G=C2=A0 =C2=A0 9.8G=C2=A0 =C2=A020.3G=C2= =A0 =C2=A0 33%=C2=A0 =C2=A0 /usr > /dev/sd0d=C2=A0 =C2=A0 =C2=A023.6G=C2=A0 =C2=A0 266M=C2=A0 =C2=A022.2G=C2= =A0 =C2=A0 =C2=A01%=C2=A0 =C2=A0 /var >=20 > I went through a lot of Docs, but no successful answers. >=20 > rgds, >=20 > sisantha=20 >=C2=A0=20 >=20 > > -----Urspr=C3=BCngliche Nachricht----- > > Von: "Patsy" <patsy@ethernull.org> > > Gesendet: 23.09.09 16:56:52 > > An: Sisantha Godawela-Ohle <ekerberos@web.de> > > CC: freebsd-chat@freebsd.org > > Betreff: Re: freebsd-chat Digest, Vol 320, Issue 1 >=20 >=20 > > 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. > >=20 > > Patsy > >=20 > > On 23 September 2009 at 15:55 Sisantha Godawela-Ohle > > <ekerberos@web.de> wrote: > >=20 > > > Hello FreeBSD Gurus, > > >=20 > > > 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:- > > > " /=C2=A0 (5GB) > > > swap (4GB) > > > /var=C2=A0 (moer than 20GB) > > > /tmp ( 1GB) > > > /usr" (moer than 20GB) > > >=C2=A0 Now mz qestion is, why is it the "/ " Partion gets > > >always > > >filled with all stuff although there is plenty of space > > >in > > >"/usr" > > >=C2=A0 partion as well as "/var" ? > > >=20 > > > And how get rid of this menace and amed it? > > >=20 > > > Regards, > > >=20 > > > Sisantha > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?105211763.56000.1253729652367.JavaMail.open-xchange>