From: Thomas Lamprecht Date: Fri, 9 Dec 2016 14:39:36 +0000 (+0100) Subject: enhance descriptions of LVM configuration options X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=fa281da6cba7182480784a657f6830b39c72a954 enhance descriptions of LVM configuration options Signed-off-by: Thomas Lamprecht --- diff --git a/pve-installation.adoc b/pve-installation.adoc index 8726ef9..7414359 100644 --- a/pve-installation.adoc +++ b/pve-installation.adoc @@ -124,22 +124,29 @@ and VG on the same hard disk that can be used for LVM storage). `swapsize`:: -To define the size of the `swap` volume. Default is the same size as -installed RAM, with 4GB minimum and `hdsize/8` as maximum. +Defines the size of the `swap` volume. The default is the size of the +installed memory, minimum 4 GB and maximum 8 GB. The resulting value cannot +be greater than `hdsize/8`. `maxroot`:: -The `root` volume size. The `root` volume stores the whole operation -system. +Defines the maximum size of the `root` volume, which stores the operation +system. The maximum limit of the `root` volume size is `hdsize/4`. `maxvz`:: -Define the size of the `data` volume. +Defines the maximum size of the `data` volume. The actual size of the `data` +volume is: ++ +`datasize = hdsize - rootsize - swapsize - minfree` ++ +Where `datasize` cannot be bigger than `maxvz`. `minfree`:: -To define the amount of free space left in LVM volume group `pve`. -16GB is the default if storage available > 128GB, `hdsize/8` otherwise. +Defines the amount of free space left in LVM volume group `pve`. +With more than 128GB storage available the default is 16GB, else `hdsize/8` +will be used. + NOTE: LVM requires free space in the VG for snapshot creation (not required for lvmthin snapshots).