X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pve-storage-zfspool.adoc;h=f53a5983e7c21883552e3190a8ff02f1ccb00ebb;hp=c27e046470db5428489ec5dad37e988007db593f;hb=d562163644b7c01e5e7ad54cbb1e99a61c53fe1e;hpb=f532afb7ac007af6bbed8e3cad5439de934db30a diff --git a/pve-storage-zfspool.adoc b/pve-storage-zfspool.adoc index c27e046..f53a598 100644 --- a/pve-storage-zfspool.adoc +++ b/pve-storage-zfspool.adoc @@ -1,12 +1,17 @@ +[[storage_zfspool]] Local ZFS Pool Backend ---------------------- -include::attributes.txt[] +ifdef::wiki[] +:pve-toplevel: +:title: Storage: ZFS +endif::wiki[] Storage pool type: `zfspool` -This backend allows you to access local ZFS pools (or ZFS filesystems +This backend allows you to access local ZFS pools (or ZFS file systems inside such pools). + Configuration ~~~~~~~~~~~~~ @@ -27,7 +32,7 @@ sparse:: Use ZFS thin-provisioning. A sparse volume is a volume whose reservation is not equal to the volume size. -.Configuration Example ('/etc/pve/storage.cfg') +.Configuration Example (`/etc/pve/storage.cfg`) ---- zfspool: vmdata pool tank/vmdata @@ -35,6 +40,7 @@ zfspool: vmdata sparse ---- + File naming conventions ~~~~~~~~~~~~~~~~~~~~~~~ @@ -50,7 +56,7 @@ This specifies the owner VM. ``:: -This scan be an arbitrary name (`ascii`) without white spaces. The +This can be an arbitrary name (`ascii`) without white space. The backend uses `disk[N]` as default, where `[N]` is replaced by an integer to make the name unique. @@ -71,14 +77,15 @@ on the parent dataset. |images rootdir |raw subvol |no |yes |yes |============================================================================== + Examples ~~~~~~~~ -It is recommended to create and extra ZFS filesystem to store your VM images: +It is recommended to create an extra ZFS file system to store your VM images: # zfs create tank/vmdata -To enable compression on that newly allocated filesystem: +To enable compression on that newly allocated file system: # zfs set compression=on tank/vmdata @@ -93,4 +100,6 @@ See Also * link:/wiki/Storage[Storage] +* link:/wiki/ZFS_on_Linux[ZFS on Linux] + endif::wiki[]