Date: Mon, 13 Aug 2012 21:52:43 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Olivier Smedts" <olivier@gid0.org>, "Steven Schlansker" <stevenschlansker@gmail.com> Cc: freebsd-fs@freebsd.org, Petri Helenius <petri@helenius.fi> Subject: Re: zero deleted blocks Message-ID: <E343C5267A84477FB50A9160D74ED25E@multiplay.co.uk> References: <7BDA02A3-99ED-4F67-9B2D-5AAF1523642E@helenius.fi><CABzXLYN%2BYPeuf_-kC1UHPQRVWy-98OQs7M39EGfiyCaOj7fgQw@mail.gmail.com><F1CF0B4C-275D-44DF-9B73-323A55B38F30@gmail.com> <CABzXLYOAUeSXeVPvjAEgKLfC=yqpc9mremhNpz%2BnYXjBSxE0tA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Olivier Smedts" <olivier@gid0.org> > 2012/8/13 Steven Schlansker <stevenschlansker@gmail.com>: >> >> On Aug 13, 2012, at 2:27 AM, Olivier Smedts <olivier@gid0.org> wrote: >>> 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. >> >> ZFS uses copy on write (http://en.wikipedia.org/wiki/ZFS#Copy-on-write_transactional_model) so overwriting with zeroes will >> actually allocate new space to hold all the zeroed data and leave the old data mostly untouched. > > Only until all the free space is consumed ! Also need to ensure compression isnt turned on and its not an device that does compression on disk / disk controller such as Sandforce based SSD's as that could resulting in something other than the intended behavour. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E343C5267A84477FB50A9160D74ED25E>