From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 16:44:43 2005 Return-Path: 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 6EA0316A4CE for ; Wed, 9 Feb 2005 16:44:43 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA1FA43D1F for ; Wed, 9 Feb 2005 16:44:42 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [IPv6???1] (localhost.daemonsecurity.com [127.0.0.1]) by top.daemonsecurity.com (Postfix) with ESMTP id 3F6CEFD01F; Wed, 9 Feb 2005 17:44:41 +0100 (CET) Message-ID: <420A3DF4.1080009@locolomo.org> Date: Wed, 09 Feb 2005 17:44:36 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050127 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: Nathan Kinkade References: <20050209163433.GW8365@gentoo-npk.bmp.ub> In-Reply-To: <20050209163433.GW8365@gentoo-npk.bmp.ub> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: determine ufs2 %fragmentation on mounted filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 16:44:43 -0000 Nathan Kinkade wrote: > Does anyone know of a way to determine the %fragmentation on a mounted > UFS2 filesystem? An entry showed up in messages yesterday stating that > /usr has moved from time to space optimization yet the filesystem is > only at about 25% of it's capacity. From what I can read it seems that > the kernel might also make this switch if fragmentation becomes > excessive. However, this is a busy production machine running Squid, so > I can't conveniently umount /usr. fsck -t ufs2 /usr? Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2