Ways to setup a ZFS pool on a device without possibility to create/manage partitions?

Posted by Karl Richter on Server Fault See other posts from Server Fault or by Karl Richter
Published on 2014-08-20T09:47:46Z Indexed on 2014/08/20 10:22 UTC
Read the original article Hit count: 209

Filed under:
|
|
|

I have a NAS where I don't have a possibility to create and manage partitions (maybe I could with some hacks that I don't want to make). What ways to setup multiple ZFS pools with one partition each (for starters - just want to use deduplication) exist? The setup should work with the NAS, i.e. over network (I'd mount the images via NFS or cifs).

My ideas and associated issues so far:

  • sparse files mounted over loop device (specifying sparse file directly as ZFS vdev doesn't work, see Can I choose a sparse file as vdev for a zfs pool?): problem that the name/number of the assigned loop device is anything but constant, not sure how increasing the number loop device with kernel parameter affects performance (there has to be a reason to limit it to 8 in the default value, right?)

© Server Fault or respective owner

Related posts about networking

Related posts about zfs