From owner-freebsd-fs@FreeBSD.ORG Mon Jun 28 05:31:23 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D3B41065672 for ; Mon, 28 Jun 2010 05:31:23 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id C800B8FC13 for ; Mon, 28 Jun 2010 05:31:22 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c211-30-160-13.belrs4.nsw.optusnet.com.au [211.30.160.13]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o5S5VJBu018483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Jun 2010 15:31:20 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o5S5VHIg034516; Mon, 28 Jun 2010 15:31:17 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o5S5VHvE034515; Mon, 28 Jun 2010 15:31:17 +1000 (EST) (envelope-from peter) Date: Mon, 28 Jun 2010 15:31:17 +1000 From: Peter Jeremy To: =?iso-8859-1?Q?Micka=EBl?= Maillot Message-ID: <20100628053117.GA32123@server.vk2pj.dyndns.org> References: <20100625231708.GB29793@server.vk2pj.dyndns.org> <20100626141038.0d9f488a@r500.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: 0;258;0cFrom: Peter Jeremy X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org Subject: Re: mdconfig on ZFS leaks disk space X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 05:31:23 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >> Peter Jeremy wrote: >> >>> I recently did a quick experiment to create an 8TB UFS filesystem >>> via mdconfig and after destroying the md and deleting the file, >>> the disk space used by the md was not returned - even after a >>> reboot. =A0Has anyone else seen this? Soem further experimenting showed that send|recv does not free up the space. On 2010-Jun-26 18:29:41 +0200, Micka=EBl Maillot wrote: >what is your svn rev ? >because r208869: Fix freeing space after deleting large files with holes >dated: Sun Jun 6 13:08:36 2010 Thanks. Upgrading to a recent -stable has fixed the problem. Even better, just booting an updated kernel and mounting the problematic ZFS is sufficient to release the extraneous free space. --=20 Peter Jeremy --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwoM6UACgkQ/opHv/APuIfWWQCfbs03u5R225FouI0FgRxpYvWl f40AoJEl4yV09drkY24H9omUlnUZfpOM =Ecwx -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--