Page 1 of 1

Prepare disks to be able to use with ZFS

Posted: 06 Mar 2015 17:32
by mbauhardt
Hi,
i want to prepare my 4 X 2 TB disks to be able to use it with ZFS. I had this disks already in use with FreeNas. But now i want to delete everything and want to prepare the disks to use it in production with Nas4Free. Is it enough to overwrite the first and last sectors with NULL. See http://wiki.nas4free.org/doku.php?id=faq:0129

Or is it better to overwrite everything on disk with NULL

Code: Select all

dd if=/dev/zero of=/dev/ada0
dd if=/dev/zero of=/dev/ada1
dd if=/dev/zero of=/dev/ada2
dd if=/dev/zero of=/dev/ada3
Thanks for comments
Marko

Re: Prepare disks to be able to use with ZFS

Posted: 06 Mar 2015 21:26
by raulfg3
script to wipe from FAQ:0129 is enough , zeroe all 2TB is a waste of time.

Re: Prepare disks to be able to use with ZFS

Posted: 08 Mar 2015 18:01
by mbauhardt
Ok. Thanks.