]> git.proxmox.com Git - pve-docs.git/blobdiff - pct-mountpoint-opts.adoc
buildsys: switch upload dist over to buster
[pve-docs.git] / pct-mountpoint-opts.adoc
index 45bd0baf19724d9727bf33563166589d4671dd2f..203b9f338ebc9d84a165d307da79cb517f848471 100644 (file)
@@ -1,32 +1,48 @@
-`rootfs`: `[volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]`
+`rootfs`: `[volume=]<volume> [,acl=<1|0>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
 
-`mp[n]`: `mp=<Path>, [volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]`
+Use volume as container root. See below for a detailed description of all options.
 
-`acl`: `<acl>` ::
+`mp[n]`: `[volume=]<volume> ,mp=<Path> [,acl=<1|0>] [,backup=<1|0>] [,quota=<1|0>] [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>]` ::
+
+Use volume as container mount point.
+
+`acl`=`<boolean>` ;;
 
 Explicitly enable or disable ACL support.
 
-`backup`: `<[1|0]>` ::
+`backup`=`<boolean>` ;;
 
-Whether to include the mountpoint in backups.
+Whether to include the mount point in backups (only used for volume mount points).
 
-`mp`: `<Path>` ::
+`mp`=`<Path>` ;;
 
-Path to the mountpoint as seen from inside the container.
+Path to the mount point as seen from inside the container.
++
+NOTE: Must not contain any symlinks for security reasons.
 
-`quota`: `<[0|1]>` ::
+`quota`=`<boolean>` ;;
 
 Enable user quotas inside the container (not supported with zfs subvolumes)
 
-`ro`: `<ro>` ::
+`replicate`=`<boolean>` ('default =' `1`);;
+
+Will include this volume to a storage replica job.
+
+`ro`=`<boolean>` ;;
+
+Read-only mount point
+
+`shared`=`<boolean>` ('default =' `0`);;
 
-Read-only mountpoint (not supported with bind mounts)
+Mark this non-volume mount point as available on all nodes.
++
+WARNING: This option does not share the mount point automatically, it assumes it is shared already!
 
-`size`: `<DiskSize>` ::
+`size`=`<DiskSize>` ;;
 
 Volume size (read only value).
 
-`volume`: `<volume>` ::
+`volume`=`<volume>` ;;
 
 Volume, device or directory to mount into the container.