From owner-freebsd-chat@FreeBSD.ORG Wed Sep 23 18:14:13 2009 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCC271065676 for ; Wed, 23 Sep 2009 18:14:13 +0000 (UTC) (envelope-from patsy@ethernull.org) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5E8158FC1C for ; Wed, 23 Sep 2009 18:14:13 +0000 (UTC) Received: from oxltgw03 (oxltgw03.schlund.de [172.19.158.41]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MKt72-1MqWM01QqM-000h3A; Wed, 23 Sep 2009 20:14:12 +0200 Date: Wed, 23 Sep 2009 20:14:12 +0200 (CEST) From: Patsy To: Sisantha Godawela-Ohle Message-ID: <105211763.56000.1253729652367.JavaMail.open-xchange@oxltgw03> In-Reply-To: <1338671055@web.de> References: <1338671055@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Mailer: Open-Xchange Mailer v6.6.0-6627 X-Provags-ID: V01U2FsdGVkX18iEmB+UN3ROSxcWTdfwsAc1/i7uQu1V2TQpff vD7IuJzFdmHz9hQQKe04C73D05H8nTGkiJnKLORvEEmeiJG/sm cxh1ZrHwVGu7ubsdcPi2L/oDEhJj/O8 Cc: freebsd-chat@freebsd.org Subject: Re: freebsd-chat Digest, Vol 320, Issue 1 X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2009 18:14:14 -0000 > 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" > > Gesendet: 23.09.09 16:56:52 > > An: Sisantha Godawela-Ohle > > 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 > > 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 > > >