X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pve-storage-zfspool.adoc;h=5decb60dab6b41e7f8f183091118c2cf13e88891;hb=3802f512b9733615ce60d31588fb2d3e13441a0c;hp=da6051989fbd0a5ad024082b52365a3c070e80c4;hpb=deb4673f279adea9069596f64fb70ff3f0e88302;p=pve-docs.git diff --git a/pve-storage-zfspool.adoc b/pve-storage-zfspool.adoc index da60519..5decb60 100644 --- a/pve-storage-zfspool.adoc +++ b/pve-storage-zfspool.adoc @@ -1,12 +1,16 @@ 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 +31,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 +39,7 @@ zfspool: vmdata sparse ---- + File naming conventions ~~~~~~~~~~~~~~~~~~~~~~~ @@ -50,7 +55,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 +76,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 @@ -91,6 +97,8 @@ ifdef::wiki[] See Also ~~~~~~~~ -* link:/index.php/Storage[Storage] +* link:/wiki/Storage[Storage] + +* link:/wiki/ZFS_on_Linux[ZFS on Linux] endif::wiki[]