News for hackers. Stuff that matters.
Re:ZFS Gotchas by enneff on Monday June 02, 2014 @08:16AM (#7833054)
Or you could just use multiple partitions on a single scratch disk (or even a ramdisk). A great way to get familiar with the workflow and tools without going to a lot of effort. This is how I first experimented with ZFS.
Re:ZFS Gotchas by danudey on Monday June 02, 2014 @10:37AM (#7833695)
You can also create files on disk and add them to pools.

There's actually a trick you can use to create a failed ZFS array (e.g. if you want to create a 5+1 array with only five disks), where you use dd to create a sparse file of the appropriate size, which lets you create a '1 TB' file while only writing 1 byte to disk. Add it to your zpool along with the rest of your disks, then fail it out, remove it, and replace it with a physical disk.

It's a good way of taking a drive with 2 TB of data on it and adding it to a ZFS filesystem which includes that disk while also keeping the data, but without using a separate disk (or copying the data twice).

Re:ZFS Gotchas by voltagex_ on Monday June 02, 2014 @06:30PM (#7836907)
Crap, I should have done that. Oh well, 4 USB sticks was only $24.