User Tools

Site Tools


unix:freebsd:zfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

unix:freebsd:zfs [2019/03/02 00:36] – created - external edit 127.0.0.1unix:freebsd:zfs [2025/04/11 17:24] (current) rodolico
Line 94: Line 94:
 //A volume is a special type of dataset. Rather than being mounted as a file system, it is exposed as a block device under /dev/zvol/poolname/dataset. This allows the volume to be used for other file systems, to back the disks of a virtual machine, or to be exported using protocols like iSCSI or HAST.// //A volume is a special type of dataset. Rather than being mounted as a file system, it is exposed as a block device under /dev/zvol/poolname/dataset. This allows the volume to be used for other file systems, to back the disks of a virtual machine, or to be exported using protocols like iSCSI or HAST.//
  
-zfs volumes are created using the -V parameter, and statically creating a size on creation. The basic syntax is as follows (volblocksize is set to the default, 8k, and volmode=dev gives faster access when used over iSCSI)+zfs volumes are created using the -V parameter, and statically creating a size on creation. The basic syntax is as follows (volblocksize is set to the default, 8k, and volmode=dev gives faster access when used over iSCSI). Using a volmode=full will allow greater functionality from within the machine containing the ZFS file system (ie, mounting it there).
  
 <code bash> <code bash>
unix/freebsd/zfs.txt · Last modified: 2025/04/11 17:24 by rodolico