From owner-freebsd-questions@FreeBSD.ORG Fri Apr 21 02:20:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7ADF16A402 for ; Fri, 21 Apr 2006 02:20:33 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6199343D45 for ; Fri, 21 Apr 2006 02:20:33 +0000 (GMT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.13.6/8.13.6) with ESMTP id k3L2KSNe075933; Thu, 20 Apr 2006 19:20:28 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: freebsd@akruijff.dds.nl Date: Thu, 20 Apr 2006 18:20:28 -0800 Message-Id: <20060421021839.M4886@enabled.com> In-Reply-To: <20060421002341.GL919@Alex1.kruijff.org> References: <20060420141550.M51182@enabled.com> <20060421002341.GL919@Alex1.kruijff.org> X-Mailer: Open WebMail 2.51 20050228 X-OriginatingIP: 24.5.78.100 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-questions Subject: Re: file system full help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 02:20:33 -0000 On Fri, 21 Apr 2006 02:23:41 +0200, Alex de Kruijff wrote > On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote: > > I sometimes get reports of "file system full" but not accurately because when > > viewing the drive with "df -k" I find there is adequate space on the drive. > > Usually this is casused by log files considered larger than the available > > space on the /var directory. > > That you don't have adequate space for the task at hand. In this case > compressing the log (this means the source needs to be arround wile a > new bzip file is created) and create a new fresh file. > > > I would like to see if this in fact the case. > > > > Can somebody please remind me what commands I can use to troubleshoot this > > current condition? > > Use 'du -s * | sort -n' to find the largest files > Hi there, actually du does not give enough information. 'lsof' is the answer I was looking for. I want to look at open files that have not been written to the drive. Cheers, Noah > -- > Alex > > Please copy the original recipients, otherwise I may not read your reply. > > Howtos based on my personal use, including information about > setting up a firewall and creating traffic graphs with MRTG > http://alex.kruijff.org/FreeBSD/