Date: Mon, 13 Aug 2012 11:27:51 +0200 From: Olivier Smedts <olivier@gid0.org> To: Petri Helenius <petri@helenius.fi> Cc: freebsd-fs@freebsd.org Subject: Re: zero deleted blocks Message-ID: <CABzXLYN%2BYPeuf_-kC1UHPQRVWy-98OQs7M39EGfiyCaOj7fgQw@mail.gmail.com> In-Reply-To: <7BDA02A3-99ED-4F67-9B2D-5AAF1523642E@helenius.fi> References: <7BDA02A3-99ED-4F67-9B2D-5AAF1523642E@helenius.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/8/13 Petri Helenius <petri@helenius.fi>:
>
> Hi,
>
> Is it possible to have ZFS or UFS to zero out the deallocated blocks to facilitate VM disk compaction?
>
> Pete
Did you try a classic "dd if=/dev/zero of=a-file-on-the-pool" ? This
won't give good results if you do this on a filesystem with
compression enabled.
-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \
  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYN%2BYPeuf_-kC1UHPQRVWy-98OQs7M39EGfiyCaOj7fgQw>
