X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=local-zfs.adoc;h=014f5874b015a259b997d9be78898424e3819c77;hb=6577d36ec0fa692b1e2ba4fd40340ad888ee1abb;hp=0fa06b0ad27f742c5bdffcd8c0a7aa9cacd96377;hpb=f1b7d1a30795c48a55f57ad08467e11b3f919092;p=pve-docs.git diff --git a/local-zfs.adoc b/local-zfs.adoc index 0fa06b0..014f587 100644 --- a/local-zfs.adoc +++ b/local-zfs.adoc @@ -235,7 +235,7 @@ There are a few options to counter the increased use of space: The `volblocksize` property can only be set when creating a ZVOL. The default value can be changed in the storage configuration. When doing this, the guest needs to be tuned accordingly and depending on the use case, the problem of -write amplification if just moved from the ZFS layer up to the guest. +write amplification is just moved from the ZFS layer up to the guest. Using `ashift=9` when creating the pool can lead to bad performance, depending on the disks underneath, and cannot be changed later on. @@ -311,14 +311,23 @@ manual pages, which can be read with: Create a new zpool ^^^^^^^^^^^^^^^^^^ -To create a new pool, at least one disk is needed. The `ashift` should -have the same sector-size (2 power of `ashift`) or larger as the -underlying disk. +To create a new pool, at least one disk is needed. The `ashift` should have the +same sector-size (2 power of `ashift`) or larger as the underlying disk. ---- # zpool create -f -o ashift=12 ---- +[TIP] +==== +Pool names must adhere to the following rules: + +* begin with a letter (a-z or A-Z) +* contain only alphanumeric, `-`, `_`, `.`, `:` or ` ` (space) characters +* must *not begin* with one of `mirror`, `raidz`, `draid` or `spare` +* must not be `log` +==== + To activate compression (see section <>): ---- @@ -406,8 +415,8 @@ As `` it is possible to use more devices, like it's shown in Add cache and log to an existing pool ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -If you have a pool without cache and log. First partition the SSD in -2 partition with `parted` or `gdisk` +If you have a pool without cache and log, first create 2 partitions on the SSD +with `parted` or `gdisk`. IMPORTANT: Always use GPT partition tables.