[pve-devel] [PATCH docs] pct: add note about storage:size syntax

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon May 15 10:48:47 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 pct.adoc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/pct.adoc b/pct.adoc
index 4ca8d7e..297d1f8 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -467,6 +467,13 @@ in three different flavors:
 - Directories: passing `size=0` triggers a special case where instead of a raw
   image a directory is created.
 
+NOTE: The special option syntax `STORAGE_ID:SIZE_IN_GB` for storage backed
+mount point volumes will automatically allocate a volume of the specified size
+on the specified storage. E.g., calling
+`pct set 100 -mp0 thin1:10,mp=/path/in/container` will allocate a 10GB volume
+on the storage `thin1` and replace the volume ID place holder `10` with the
+allocated volume ID.
+
 
 Bind Mount Points
 ^^^^^^^^^^^^^^^^^
-- 
2.1.4





More information about the pve-devel mailing list