mdconfig on ZFS leaks disk space

Peter Jeremy peterjeremy at acm.org
Mon Jun 28 05:31:23 UTC 2010


>> Peter Jeremy <peterjeremy at acm.org> 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.  Has 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ël Maillot <mickael.maillot at gmail.com> 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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100628/d1985b62/attachment.pgp


More information about the freebsd-fs mailing list