From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 27 17:17:34 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81B4416A4CF for ; Thu, 27 Jan 2005 17:17:34 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24F3F43D46 for ; Thu, 27 Jan 2005 17:17:34 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j0RHIilI019913; Thu, 27 Jan 2005 09:18:44 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j0RHIhBA019912; Thu, 27 Jan 2005 09:18:43 -0800 Date: Thu, 27 Jan 2005 09:18:43 -0800 From: Brooks Davis To: Aron Message-ID: <20050127171843.GA14122@odin.ac.hmc.edu> References: <41F8D65B.8090606@agx.sk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <41F8D65B.8090606@agx.sk> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: "Kamil \(gmail\)" cc: freebsd-bugs@freebsd.org Subject: Re: available free disk space on /usr and crash X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 17:17:34 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 27, 2005 at 12:54:03PM +0100, Aron wrote: > Hi, >=20 > I am tracking FreeBSD 5.3 stable and somehow got to a state where df=20 > reported: >=20 > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 253678 53606 179778 23% / > devfs 1 1 0 100% /dev > /dev/ad0s1e 253678 88 233296 0% /tmp > /dev/ad0s1f 4261038 3989064 -68908 102% /usr > /dev/ad0s1g 13999734 11318544 1561212 88% /usr/home > /dev/ad2s1 153844706 133929864 7607266 95% /usr/srv/disk1 > /dev/ad1s1d 109093546 39760220 60605844 40% /usr/srv/disk2 > /dev/ad0s1d 253678 53858 179526 23% /var >=20 > I don't have the slightest idea how this happened, but thought someone=20 > should be notified. I didn't really do anything with the /usr partition= =20 > beside of cvsuping and rebuilding world and the ports from time to time.= =20 > The freebsd machine is used as a server and runs a vsftpd, samba,=20 > apache2 and a subversion server. Deleting a few files brought the free=20 > disk space on /usr back to a positive number. /usr looks perfectly normal if full. This is just basic UNIX operation. A certain portion of the disk (set at newfs time) is reserved for use by the root user (performance may degrade significantly if this space is used). Avail and Capacity are computed relative to the non-reserved space. > I also managed to lock up FreeBSD (just before I noticed the free disk=20 > space problem). I uploaded a larger (well, 31MB) encrypted (via PGP)=20 > file to a samba network directory from my WinXP client machine (freebsd= =20 > runs samba 3.0.10 just for the case it mattered, the samba directory is= =20 > located on the /usr/home partition). I ran PGP (on my windows machine)=20 > and pointed it to the encrypted file located on the network. After=20 > having decrypted about 30% of the file FreeBSD kind of locked up, or at= =20 > least it stopped responding (I couldn't even ping the freeBSD machine=20 > anymore). Pressing the power-off button seemed to force FreeBSD shutdown= =20 > properly, so I guess the computer wasn't as dead as I had thought. You'll need to read the the FreeBSD Developers Handbook section on kernel debugging and obtain a crash dump from your machine. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB+SJzXY6L6fI4GtQRAkmrAKDBJOdSVI8lI9QvjeoGQ+N5/U6LNgCgiv+l 9TJTRnZxTvaSL6Vt7EIb1Bg= =riTV -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--