update synopsis files

This commit is contained in:
Dietmar Maurer 2016-04-07 08:20:32 +02:00
parent 03a9e24795
commit 9b3e499111
7 changed files with 448 additions and 235 deletions

View File

@ -1,5 +1,52 @@
*pct* `<COMMAND> [ARGS] [OPTIONS]` *pct* `<COMMAND> [ARGS] [OPTIONS]`
*pct clone* `<vmid> <newid> -experimental <boolean>` `[OPTIONS]`
Create a container clone/copy
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.
`<newid>` `integer (1 - N)` ::
VMID for the clone.
`-description` `string` ::
Description for the new CT.
`-experimental` `boolean` (default=`0`)::
The clone feature is experimental, set this flag if you know what you are
doing.
`-full` `boolean` (default=`0`)::
Create a full copy of all disk. This is always done when you clone a normal
CT. For CT templates, we try to create a linked clone by default.
`-hostname` `string` ::
Set a hostname for the new CT.
`-pool` `string` ::
Add the new CT to the specified pool.
`-snapname` `string` ::
The name of the snapshot.
`-storage` `string` ::
Target storage for full clone.
+
NOTE: Requires option(s): `full`
*pct config* `<vmid>` *pct config* `<vmid>`
Get container configuration. Get container configuration.
@ -51,15 +98,17 @@ Attach a console device (/dev/console) to the container.
`-cpulimit` `number (0 - 128)` (default=`0`):: `-cpulimit` `number (0 - 128)` (default=`0`)::
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' Limit of CPU usage.
CPU time. Value '0' indicates no CPU limit. +
NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
indicates no CPU limit.
`-cpuunits` `integer (0 - 500000)` (default=`1024`):: `-cpuunits` `integer (0 - 500000)` (default=`1024`)::
CPU weight for a VM. Argument is used in the kernel fair scheduler. The CPU weight for a VM. Argument is used in the kernel fair scheduler. The
larger the number is, the more CPU time this VM gets. Number is relative to larger the number is, the more CPU time this VM gets. Number is relative to
weights of all the other running VMs. the weights of all the other running VMs.
+
NOTE: You can disable fair-scheduler configuration by setting this to 0. NOTE: You can disable fair-scheduler configuration by setting this to 0.
`-description` `string` :: `-description` `string` ::
@ -86,16 +135,16 @@ Lock/unlock the VM.
Amount of RAM for the VM in MB. Amount of RAM for the VM in MB.
`-mp[n]` `[volume=]<volume> [,backup=<[1|0]>] [,mp=<Path>] [,size=<DiskSize>]` :: `-mp[n]` `mp=<Path>, [volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container mount point (experimental feature). Use volume as container mount point (experimental feature).
`-nameserver` `string` :: `-nameserver` `string` ::
Sets DNS server IP address for a container. Create will automatically use Sets DNS server IP address for a container. Create will automatically use
the setting from the host if you neither set searchdomain or nameserver. the setting from the host if you neither set searchdomain nor nameserver.
`-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,tag=<VlanNo>]` :: `-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,rate=<mbps>] [,tag=<VlanNo>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
Specifies network interfaces for the container. Specifies network interfaces for the container.
@ -103,12 +152,14 @@ Specifies network interfaces for the container.
Specifies whether a VM will be started during system bootup. Specifies whether a VM will be started during system bootup.
`-ostype` `(archlinux | centos | debian | fedora | opensuse | ubuntu)` :: `-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
OS type. Corresponds to lxc setup scripts in OS type. This is used to setup configuration inside the container, and
/usr/share/lxc/config/<ostype>.common.conf. corresponds to lxc setup scripts in
/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
to skip and OS specific setup.
`-password` `string` :: `-password` ::
Sets root password inside container. Sets root password inside container.
@ -118,21 +169,25 @@ Add the VM to the specified pool.
`-protection` `boolean` (default=`0`):: `-protection` `boolean` (default=`0`)::
Sets the protection flag of the container. This will prevent the remove Sets the protection flag of the container. This will prevent the CT or CT's
operation. This will prevent the CT or CT's disk remove/update operation. disk remove/update operation.
`-restore` `boolean` :: `-restore` `boolean` ::
Mark this as restore task. Mark this as restore task.
`-rootfs` `[volume=]<volume> [,backup=<[1|0]>] [,size=<DiskSize>]` :: `-rootfs` `[volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container root. Use volume as container root.
`-searchdomain` `string` :: `-searchdomain` `string` ::
Sets DNS search domains for a container. Create will automatically use the Sets DNS search domains for a container. Create will automatically use the
setting from the host if you neither set searchdomain or nameserver. setting from the host if you neither set searchdomain nor nameserver.
`-ssh-public-keys` `filepath` ::
Setup public SSH keys (one key per line, OpenSSH format).
`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` :: `-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
@ -287,12 +342,93 @@ The (unique) ID of the VM.
Target node. Target node.
`-force` `boolean` ::
Force migration despite local bind / device mounts. WARNING: identical bind
/ device mounts need to be available on the target node.
`-online` `boolean` :: `-online` `boolean` ::
Use online/live migration. Use online/live migration.
*pct mount* `<vmid>`
Mount the container's filesystem on the host. This will hold a lock on the
container and is meant for emergency maintenance only as it will prevent
further operations on the container other than start and stop.
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.
*pct pull* `<vmid> <path> <destination>` `[OPTIONS]`
Copy a file from the container to the local system.
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.
`<path>` `string` ::
Path to a file inside the container to pull.
`<destination>` `string` ::
Destination
`-group` `string` ::
Owner group name or id.
`-perms` `string` ::
File permissions to use.
`-user` `string` ::
Owner user name or id.
*pct push* `<vmid> <file> <destination>` `[OPTIONS]`
Copy a local file to the container.
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.
`<file>` `string` ::
Path to a local file.
`<destination>` `string` ::
Destination inside the container to write to.
`-group` `string` ::
Owner group name or id. When using a name it must exist inside the
container.
`-perms` `string` ::
File permissions to use.
`-user` `string` ::
Owner user name or id. When using a name it must exist inside the
container.
*pct resize* `<vmid> <disk> <size>` `[OPTIONS]` *pct resize* `<vmid> <disk> <size>` `[OPTIONS]`
Resize a container mountpoint. Resize a container mountpoint.
@ -347,15 +483,17 @@ Attach a console device (/dev/console) to the container.
`-cpulimit` `number (0 - 128)` (default=`0`):: `-cpulimit` `number (0 - 128)` (default=`0`)::
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' Limit of CPU usage.
CPU time. Value '0' indicates no CPU limit. +
NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
indicates no CPU limit.
`-cpuunits` `integer (0 - 500000)` (default=`1024`):: `-cpuunits` `integer (0 - 500000)` (default=`1024`)::
CPU weight for a VM. Argument is used in the kernel fair scheduler. The CPU weight for a VM. Argument is used in the kernel fair scheduler. The
larger the number is, the more CPU time this VM gets. Number is relative to larger the number is, the more CPU time this VM gets. Number is relative to
weights of all the other running VMs. the weights of all the other running VMs.
+
NOTE: You can disable fair-scheduler configuration by setting this to 0. NOTE: You can disable fair-scheduler configuration by setting this to 0.
`-description` `string` :: `-description` `string` ::
@ -382,16 +520,16 @@ Lock/unlock the VM.
Amount of RAM for the VM in MB. Amount of RAM for the VM in MB.
`-mp[n]` `[volume=]<volume> [,backup=<[1|0]>] [,mp=<Path>] [,size=<DiskSize>]` :: `-mp[n]` `mp=<Path>, [volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container mount point (experimental feature). Use volume as container mount point (experimental feature).
`-nameserver` `string` :: `-nameserver` `string` ::
Sets DNS server IP address for a container. Create will automatically use Sets DNS server IP address for a container. Create will automatically use
the setting from the host if you neither set searchdomain or nameserver. the setting from the host if you neither set searchdomain nor nameserver.
`-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,tag=<VlanNo>]` :: `-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,rate=<mbps>] [,tag=<VlanNo>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
Specifies network interfaces for the container. Specifies network interfaces for the container.
@ -399,12 +537,14 @@ Specifies network interfaces for the container.
Specifies whether a VM will be started during system bootup. Specifies whether a VM will be started during system bootup.
`-ostype` `(archlinux | centos | debian | fedora | opensuse | ubuntu)` :: `-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
OS type. Corresponds to lxc setup scripts in OS type. This is used to setup configuration inside the container, and
/usr/share/lxc/config/<ostype>.common.conf. corresponds to lxc setup scripts in
/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
to skip and OS specific setup.
`-password` `string` :: `-password` ::
Sets root password inside container. Sets root password inside container.
@ -414,17 +554,21 @@ Add the VM to the specified pool.
`-protection` `boolean` (default=`0`):: `-protection` `boolean` (default=`0`)::
Sets the protection flag of the container. This will prevent the remove Sets the protection flag of the container. This will prevent the CT or CT's
operation. This will prevent the CT or CT's disk remove/update operation. disk remove/update operation.
`-rootfs` `[volume=]<volume> [,backup=<[1|0]>] [,size=<DiskSize>]` :: `-rootfs` `[volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container root. Use volume as container root.
`-searchdomain` `string` :: `-searchdomain` `string` ::
Sets DNS search domains for a container. Create will automatically use the Sets DNS search domains for a container. Create will automatically use the
setting from the host if you neither set searchdomain or nameserver. setting from the host if you neither set searchdomain nor nameserver.
`-ssh-public-keys` `filepath` ::
Setup public SSH keys (one key per line, OpenSSH format).
`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` :: `-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
@ -512,15 +656,17 @@ Attach a console device (/dev/console) to the container.
`-cpulimit` `number (0 - 128)` (default=`0`):: `-cpulimit` `number (0 - 128)` (default=`0`)::
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' Limit of CPU usage.
CPU time. Value '0' indicates no CPU limit. +
NOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0'
indicates no CPU limit.
`-cpuunits` `integer (0 - 500000)` (default=`1024`):: `-cpuunits` `integer (0 - 500000)` (default=`1024`)::
CPU weight for a VM. Argument is used in the kernel fair scheduler. The CPU weight for a VM. Argument is used in the kernel fair scheduler. The
larger the number is, the more CPU time this VM gets. Number is relative to larger the number is, the more CPU time this VM gets. Number is relative to
weights of all the other running VMs. the weights of all the other running VMs.
+
NOTE: You can disable fair-scheduler configuration by setting this to 0. NOTE: You can disable fair-scheduler configuration by setting this to 0.
`-delete` `string` :: `-delete` `string` ::
@ -548,16 +694,16 @@ Lock/unlock the VM.
Amount of RAM for the VM in MB. Amount of RAM for the VM in MB.
`-mp[n]` `[volume=]<volume> [,backup=<[1|0]>] [,mp=<Path>] [,size=<DiskSize>]` :: `-mp[n]` `mp=<Path>, [volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container mount point (experimental feature). Use volume as container mount point (experimental feature).
`-nameserver` `string` :: `-nameserver` `string` ::
Sets DNS server IP address for a container. Create will automatically use Sets DNS server IP address for a container. Create will automatically use
the setting from the host if you neither set searchdomain or nameserver. the setting from the host if you neither set searchdomain nor nameserver.
`-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,tag=<VlanNo>]` :: `-net[n]` `name=<String> [,bridge=<vmbr<Number>>] [,firewall=<[1|0]>] [,gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,hwaddr=<MAC>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>] [,mtu=<Number>] [,rate=<mbps>] [,tag=<VlanNo>] [,trunks=<vlanid[;vlanid...]>] [,type=<veth>]` ::
Specifies network interfaces for the container. Specifies network interfaces for the container.
@ -565,24 +711,26 @@ Specifies network interfaces for the container.
Specifies whether a VM will be started during system bootup. Specifies whether a VM will be started during system bootup.
`-ostype` `(archlinux | centos | debian | fedora | opensuse | ubuntu)` :: `-ostype` `(alpine | archlinux | centos | debian | fedora | opensuse | ubuntu | unmanaged)` ::
OS type. Corresponds to lxc setup scripts in OS type. This is used to setup configuration inside the container, and
/usr/share/lxc/config/<ostype>.common.conf. corresponds to lxc setup scripts in
/usr/share/lxc/config/<ostype>.common.conf. Value 'unmanaged' can be used
to skip and OS specific setup.
`-protection` `boolean` (default=`0`):: `-protection` `boolean` (default=`0`)::
Sets the protection flag of the container. This will prevent the remove Sets the protection flag of the container. This will prevent the CT or CT's
operation. This will prevent the CT or CT's disk remove/update operation. disk remove/update operation.
`-rootfs` `[volume=]<volume> [,backup=<[1|0]>] [,size=<DiskSize>]` :: `-rootfs` `[volume=]<volume> [,acl=<acl>] [,backup=<[1|0]>] [,quota=<[0|1]>] [,ro=<ro>] [,size=<DiskSize>]` ::
Use volume as container root. Use volume as container root.
`-searchdomain` `string` :: `-searchdomain` `string` ::
Sets DNS search domains for a container. Create will automatically use the Sets DNS search domains for a container. Create will automatically use the
setting from the host if you neither set searchdomain or nameserver. setting from the host if you neither set searchdomain nor nameserver.
`-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` :: `-startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
@ -617,7 +765,8 @@ Reference to unused volumes.
*pct shutdown* `<vmid>` `[OPTIONS]` *pct shutdown* `<vmid>` `[OPTIONS]`
Shutdown the container. Shutdown the container. This will trigger a clean shutdown of the
container, see lxc-stop(1) for details.
`<vmid>` `integer (1 - N)` :: `<vmid>` `integer (1 - N)` ::
@ -653,7 +802,7 @@ A textual description or comment.
*pct start* `<vmid>` *pct start* `<vmid>` `[OPTIONS]`
Start the container. Start the container.
@ -661,16 +810,25 @@ Start the container.
The (unique) ID of the VM. The (unique) ID of the VM.
`-skiplock` `boolean` ::
Ignore locks - only root is allowed to use this option.
*pct stop* `<vmid>`
Stop the container. *pct stop* `<vmid>` `[OPTIONS]`
Stop the container. This will abruptly stop all processes running in the
container.
`<vmid>` `integer (1 - N)` :: `<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM. The (unique) ID of the VM.
`-skiplock` `boolean` ::
Ignore locks - only root is allowed to use this option.
*pct suspend* `<vmid>` *pct suspend* `<vmid>`
@ -684,7 +842,7 @@ The (unique) ID of the VM.
*pct template* `<vmid>` *pct template* `<vmid> -experimental <boolean>` `[OPTIONS]`
Create a Template. Create a Template.
@ -692,6 +850,11 @@ Create a Template.
The (unique) ID of the VM. The (unique) ID of the VM.
`-experimental` `boolean` (default=`0`)::
The template feature is experimental, set this flag if you know what you
are doing.
@ -705,4 +868,14 @@ The (unique) ID of the VM.
*pct unmount* `<vmid>`
Unmount the container's filesystem.
`<vmid>` `integer (1 - N)` ::
The (unique) ID of the VM.

View File

@ -1,5 +1,16 @@
*pveam* `<COMMAND> [ARGS] [OPTIONS]` *pveam* `<COMMAND> [ARGS] [OPTIONS]`
*pveam available* `[OPTIONS]`
List available templates.
`-section` `(system | turnkeylinux)` ::
Restrict list to specified section.
*pveam download* `<storage> <template>` *pveam download* `<storage> <template>`
Download appliance templates. Download appliance templates.

View File

@ -4,29 +4,29 @@
Adds the current node to an existing cluster. Adds the current node to an existing cluster.
<hostname> string `<hostname>` `string` ::
Hostname (or IP) of an existing cluster member. Hostname (or IP) of an existing cluster member.
-force boolean `-force` `boolean` ::
Do not throw error if node already exists. Do not throw error if node already exists.
-nodeid integer (1 - N) `-nodeid` `integer (1 - N)` ::
Node id for this node. Node id for this node.
-ring0_addr string `-ring0_addr` `string` ::
Hostname (or IP) of the corosync ring0 address of this node. Hostname (or IP) of the corosync ring0 address of this node. Defaults to
Defaults to nodes hostname. nodes hostname.
-ring1_addr string `-ring1_addr` `string` ::
Hostname (or IP) of the corosync ring1 address, this needs an Hostname (or IP) of the corosync ring1 address, this needs an valid
valid configured ring 1 interface in the cluster. configured ring 1 interface in the cluster.
-votes integer (0 - N) `-votes` `integer (0 - N)` ::
Number of votes for this node Number of votes for this node
@ -36,29 +36,29 @@ Adds the current node to an existing cluster.
Adds a node to the cluster configuration. Adds a node to the cluster configuration.
<node> string `<node>` `string` ::
The cluster node name. The cluster node name.
-force boolean `-force` `boolean` ::
Do not throw error if node already exists. Do not throw error if node already exists.
-nodeid integer (1 - N) `-nodeid` `integer (1 - N)` ::
Node id for this node. Node id for this node.
-ring0_addr string `-ring0_addr` `string` ::
Hostname (or IP) of the corosync ring0 address of this node. Hostname (or IP) of the corosync ring0 address of this node. Defaults to
Defaults to nodes hostname. nodes hostname.
-ring1_addr string `-ring1_addr` `string` ::
Hostname (or IP) of the corosync ring1 address, this needs an Hostname (or IP) of the corosync ring1 address, this needs an valid
valid bindnet1_addr. bindnet1_addr.
-votes integer (0 - N) `-votes` `integer (0 - N)` ::
Number of votes for this node Number of votes for this node
@ -68,42 +68,40 @@ Adds a node to the cluster configuration.
Generate new cluster configuration. Generate new cluster configuration.
<clustername> string `<clustername>` `string` ::
The name of the cluster. The name of the cluster.
-bindnet0_addr string `-bindnet0_addr` `string` ::
This specifies the network address the corosync ring 0 This specifies the network address the corosync ring 0 executive should
executive should bind to and defaults to the local IP address bind to and defaults to the local IP address of the node.
of the node.
-bindnet1_addr string `-bindnet1_addr` `string` ::
This specifies the network address the corosync ring 1 This specifies the network address the corosync ring 1 executive should
executive should bind to and is optional. bind to and is optional.
-nodeid integer (1 - N) `-nodeid` `integer (1 - N)` ::
Node id for this node. Node id for this node.
-ring0_addr string `-ring0_addr` `string` ::
Hostname (or IP) of the corosync ring0 address of this node. Hostname (or IP) of the corosync ring0 address of this node. Defaults to
Defaults to the hostname of the node. the hostname of the node.
-ring1_addr string `-ring1_addr` `string` ::
Hostname (or IP) of the corosync ring1 address, this needs an Hostname (or IP) of the corosync ring1 address, this needs an valid
valid bindnet1_addr. bindnet1_addr.
-rrp_mode (active | none | passive) (default=none) `-rrp_mode` `(active | none | passive)` (default=`none`)::
This specifies the mode of redundant ring, which may be none, This specifies the mode of redundant ring, which may be none, active or
active or passive. Using multiple interfaces only allows passive. Using multiple interfaces only allows 'active' or 'passive'.
'active' or 'passive'.
-votes integer (1 - N) `-votes` `integer (1 - N)` ::
Number of votes for this node. Number of votes for this node.
@ -113,7 +111,7 @@ Generate new cluster configuration.
Removes a node to the cluster configuration. Removes a node to the cluster configuration.
<node> string `<node>` `string` ::
The cluster node name. The cluster node name.
@ -123,7 +121,7 @@ Removes a node to the cluster configuration.
Tells corosync a new value of expected votes. Tells corosync a new value of expected votes.
<expected> integer (1 - N) `<expected>` `integer (1 - N)` ::
Expected votes Expected votes
@ -134,11 +132,11 @@ Tells corosync a new value of expected votes.
Get help about specified command. Get help about specified command.
<cmd> string `<cmd>` `string` ::
Command name Command name
-verbose boolean `-verbose` `boolean` ::
Verbose output format. Verbose output format.
@ -149,7 +147,7 @@ Get help about specified command.
Generate new cryptographic key for corosync. Generate new cryptographic key for corosync.
<filename> string `<filename>` `string` ::
Output file name Output file name
@ -171,11 +169,11 @@ Displays the local view of the cluster status.
Update node certificates (and generate all needed files/directories). Update node certificates (and generate all needed files/directories).
-force boolean `-force` `boolean` ::
Force generation of new SSL certifate. Force generation of new SSL certifate.
-silent boolean `-silent` `boolean` ::
Ignore errors (i.e. when cluster has no quorum). Ignore errors (i.e. when cluster has no quorum).

View File

@ -254,6 +254,16 @@ List local LVM volume groups.
*pvesm lvmthinscan* `<vg>`
List local LVM Thin Pools.
`<vg>` `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
no description available
*pvesm nfsscan* `<server>` *pvesm nfsscan* `<server>`
Scan remote NFS server. Scan remote NFS server.

View File

@ -236,7 +236,7 @@ Keys for two factor auth (yubico).
no description available no description available
`-password` `` :: `-password` ::
Initial password. Initial password.

View File

@ -88,9 +88,9 @@ The backup file.
`-args` `string` :: `-args` `string` ::
Note: this option is for experts only. It allows you to pass arbitrary NOTE: this option is for experts only. It allows you to pass arbitrary
arguments to kvm, for example: arguments to kvm, for example:
+
args: -no-reboot -no-hpet args: -no-reboot -no-hpet
`-autostart` `boolean` (default=`0`):: `-autostart` `boolean` (default=`0`)::
@ -122,21 +122,23 @@ This is an alias for option -ide2
The number of cores per socket. The number of cores per socket.
`-cpu` `(486 | Broadwell | Conroe | Haswell | IvyBridge | Nehalem | Opteron_G1 | Opteron_G2 | Opteron_G3 | Opteron_G4 | Opteron_G5 | Penryn | SandyBridge | Westmere | athlon | core2duo | coreduo | host | kvm32 | kvm64 | pentium | pentium2 | pentium3 | phenom | qemu32 | qemu64)` (default=`kvm64`):: `-cpu` `[cputype=]<cputype> [,hidden=<1|0>]` ::
Emulated CPU type. Emulated CPU type.
`-cpulimit` `number (0 - 128)` (default=`0`):: `-cpulimit` `number (0 - 128)` (default=`0`)::
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' Limit of CPU usage.
CPU time. Value '0' indicates no CPU limit. +
NOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0'
indicates no CPU limit.
`-cpuunits` `integer (0 - 500000)` (default=`1000`):: `-cpuunits` `integer (0 - 500000)` (default=`1000`)::
CPU weight for a VM. Argument is used in the kernel fair scheduler. The CPU weight for a VM. Argument is used in the kernel fair scheduler. The
larger the number is, the more CPU time this VM gets. Number is relative to larger the number is, the more CPU time this VM gets. Number is relative to
weights of all the other running VMs. weights of all the other running VMs.
+
NOTE: You can disable fair-scheduler configuration by setting this to 0. NOTE: You can disable fair-scheduler configuration by setting this to 0.
`-description` `string` :: `-description` `string` ::
@ -154,20 +156,20 @@ NOTE: Requires option(s): `archive`
Freeze CPU at startup (use 'c' monitor command to start execution). Freeze CPU at startup (use 'c' monitor command to start execution).
`-hostpci[n]` `[host=]HOSTPCIDEVICE [,rombar=on|off] [,pcie=0|1] [,x-vga=on|off]` :: `-hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,pcie=<1|0>] [,rombar=<1|0>] [,x-vga=<1|0>]` ::
Map host pci devices. HOSTPCIDEVICE syntax is: Map host pci devices. HOSTPCIDEVICE syntax is:
+
'bus:dev.func' (hexadecimal numbers) 'bus:dev.func' (hexadecimal numbers)
+
You can us the 'lspci' command to list existing pci devices. You can us the 'lspci' command to list existing pci devices.
+
The 'rombar' option determines whether or not the device's ROM will be The 'rombar' option determines whether or not the device's ROM will be
visible in the guest's memory map (default is 'on'). visible in the guest's memory map (default is 'on').
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-hotplug` `string` (default=`network,disk,usb`):: `-hotplug` `string` (default=`network,disk,usb`)::
@ -177,7 +179,7 @@ hotplug features: 'network', 'disk', 'cpu', 'memory' and 'usb'. Use '0' to
disable hotplug completely. Value '1' is an alias for the default disable hotplug completely. Value '1' is an alias for the default
'network,disk,usb'. 'network,disk,usb'.
`-ide[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,serial=serial][,model=model]` :: `-ide[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
@ -220,38 +222,37 @@ Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
Set a name for the VM. Only used on the configuration web interface. Set a name for the VM. Only used on the configuration web interface.
`-net[n]` `MODEL=XX:XX:XX:XX:XX:XX [,bridge=<dev>][,queues=<nbqueues>][,rate=<mbps>] [,tag=<vlanid>][,firewall=0|1],link_down=0|1]` :: `-net[n]` `string` ::
Specify network devices. Specify network devices.
+
MODEL is one of: e1000 e1000-82540em e1000-82544gc e1000-82545em i82551 MODEL is one of: e1000 e1000-82540em e1000-82544gc e1000-82545em i82551
i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3 i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3
+
XX:XX:XX:XX:XX:XX should be an unique MAC address. This is XX:XX:XX:XX:XX:XX should be an unique MAC address. This is
automatically generated if not specified. automatically generated if not specified.
+
The bridge parameter can be used to automatically add the interface to a The bridge parameter can be used to automatically add the interface to a
bridge device. The Proxmox VE standard bridge is called 'vmbr0'. bridge device. The Proxmox VE standard bridge is called 'vmbr0'.
+
Option 'rate' is used to limit traffic bandwidth from and to this Option 'rate' is used to limit traffic bandwidth from and to this
interface. It is specified as floating point number, unit is 'Megabytes per interface. It is specified as floating point number, unit is 'Megabytes per
second'. second'.
+
If you specify no bridge, we create a kvm 'user' (NATed) network device, If you specify no bridge, we create a kvm 'user' (NATed) network device,
which provides DHCP and DNS services. The following addresses are used: which provides DHCP and DNS services. The following addresses are used:
+
10.0.2.2 Gateway 10.0.2.2 Gateway
10.0.2.3 DNS Server 10.0.2.3 DNS Server
10.0.2.4 SMB Server 10.0.2.4 SMB Server
+
The DHCP server assign addresses to the guest starting from 10.0.2.15. The DHCP server assign addresses to the guest starting from 10.0.2.15.
`-numa` `boolean` (default=`0`):: `-numa` `boolean` (default=`0`)::
Enable/disable Numa. Enable/disable NUMA.
`-numa[n]` `cpus=<id[-id],memory=<mb>[[,hostnodes=<id[-id]>] [,policy=<preferred|bind|interleave>]]` :: `-numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<mb>] [,policy=<preferred|bind|interleave>]` ::
numa topology numa topology
@ -263,7 +264,7 @@ Specifies whether a VM will be started during system bootup.
Used to enable special optimization/features for specific Used to enable special optimization/features for specific
operating systems: operating systems:
+
other => unspecified OS other => unspecified OS
wxp => Microsoft Windows XP wxp => Microsoft Windows XP
w2k => Microsoft Windows 2000 w2k => Microsoft Windows 2000
@ -275,17 +276,17 @@ win8 => Microsoft Windows 8/2012
l24 => Linux 2.4 Kernel l24 => Linux 2.4 Kernel
l26 => Linux 2.6/3.X Kernel l26 => Linux 2.6/3.X Kernel
solaris => solaris/opensolaris/openindiania kernel solaris => solaris/opensolaris/openindiania kernel
+
other|l24|l26|solaris ... no special behaviour other|l24|l26|solaris ... no special behaviour
wxp|w2k|w2k3|w2k8|wvista|win7|win8 ... use --localtime switch wxp|w2k|w2k3|w2k8|wvista|win7|win8 ... use --localtime switch
`-parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` :: `-parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
Map host parallel devices (n is 0 to 2). Map host parallel devices (n is 0 to 2).
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-pool` `string` :: `-pool` `string` ::
@ -300,11 +301,11 @@ Sets the protection flag of the VM. This will prevent the remove operation.
Allow reboot. If set to '0' the VM exit on reboot. Allow reboot. If set to '0' the VM exit on reboot.
`-sata[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,serial=serial]` :: `-sata[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
`-scsi[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,iothread=on] [,queues=<nbqueues>] [,serial=serial]` :: `-scsi[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iothread=<off|on>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<nbqueues>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as SCSI hard disk or CD-ROM (n is 0 to 13). Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
@ -317,10 +318,10 @@ scsi controller model
Create a serial device inside the VM (n is 0 to 3), and pass through a host Create a serial device inside the VM (n is 0 to 3), and pass through a host
serial device (i.e. /dev/ttyS0), or create a unix socket on the host side serial device (i.e. /dev/ttyS0), or create a unix socket on the host side
(use 'qm terminal' to open a terminal connection). (use 'qm terminal' to open a terminal connection).
+
Note: If you pass through a host serial device, it is no longer possible to NOTE: If you pass through a host serial device, it is no longer possible to
migrate such machines - use with special care. migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-shares` `integer (0 - 50000)` (default=`1000`):: `-shares` `integer (0 - 50000)` (default=`1000`)::
@ -329,7 +330,7 @@ Amount of memory shares for auto-ballooning. The larger the number is, the
more memory this VM gets. Number is relative to weights of all other more memory this VM gets. Number is relative to weights of all other
running VMs. Using zero disables auto-ballooning running VMs. Using zero disables auto-ballooning
`-smbios[n]` `[manufacturer=str][,product=str][,version=str][,serial=str] [,uuid=uuid][,sku=str][,family=str]` :: `-smbios[n]` `[family=<str>] [,manufacturer=<name>] [,product=<name>] [,serial=<str>] [,sku=<str>] [,uuid=<UUID>] [,version=<str>]` ::
Specify SMBIOS type 1 fields. Specify SMBIOS type 1 fields.
@ -359,11 +360,11 @@ Default storage.
`-tablet` `boolean` (default=`1`):: `-tablet` `boolean` (default=`1`)::
Enable/disable the usb tablet device. This device is usually needed to Enable/disable the USB tablet device. This device is usually needed to
allow absolute mouse positioning with VNC. Else the mouse runs out of sync allow absolute mouse positioning with VNC. Else the mouse runs out of sync
with normal VNC clients. If you're running lots of console-only guests on with normal VNC clients. If you're running lots of console-only guests on
one host, you may consider disabling this to save some context switches. one host, you may consider disabling this to save some context switches.
This is turned of by default if you use spice (vga=qxl). This is turned off by default if you use spice (-vga=qxl).
`-tdf` `boolean` (default=`0`):: `-tdf` `boolean` (default=`0`)::
@ -383,21 +384,25 @@ NOTE: Requires option(s): `archive`
Reference to unused volumes. Reference to unused volumes.
`-usb[n]` `host=HOSTUSBDEVICE|spice` :: `-usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<yes|no>]` ::
Configure an USB device (n is 0 to 4). This can be used to Configure an USB device (n is 0 to 4). This can be used to
pass-through usb devices to the guest. HOSTUSBDEVICE syntax is: pass-through usb devices to the guest. HOSTUSBDEVICE syntax is:
+
'bus-port(.port)*' (decimal numbers) or 'bus-port(.port)*' (decimal numbers) or
'vendor_id:product_id' (hexadeciaml numbers) 'vendor_id:product_id' (hexadeciaml numbers) or
'spice'
+
You can use the 'lsusb -t' command to list existing usb devices. You can use the 'lsusb -t' command to list existing usb devices.
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
The value 'spice' can be used to add a usb redirection devices for spice. The value 'spice' can be used to add a usb redirection devices for spice.
+
The 'usb3' option determines whether the device is a USB3 device or not
(this does currently not work reliably with spice redirection and is then
ignored).
`-vcpus` `integer (1 - N)` (default=`0`):: `-vcpus` `integer (1 - N)` (default=`0`)::
@ -405,21 +410,23 @@ Number of hotplugged vcpus.
`-vga` `(cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware)` :: `-vga` `(cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware)` ::
Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) Select the VGA type. If you want to use high resolution modes (>=
then you should use option 'std' or 'vmware'. Default is 'std' for 1280x1024x16) then you should use the options 'std' or 'vmware'. Default is
win8/win7/w2k8, and 'cirrur' for other OS types. Option 'qxl' enables the 'std' for win8/win7/w2k8, and 'cirrus' for other OS types. The 'qxl' option
SPICE display sever. You can also run without any graphic card using a enables the SPICE display sever. For win* OS you can select how many
serial devive as terminal. independent displays you want, Linux guests can add displays them self. You
can also run without any graphic card, using a serial device as terminal.
`-virtio[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,iothread=on] [,serial=serial]` :: `-virtio[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iothread=<off|on>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as VIRTIO hard disk (n is 0 to 15). Use volume as VIRTIO hard disk (n is 0 to 15).
`-watchdog` `[[model=]i6300esb|ib700] [,[action=]reset|shutdown|poweroff|pause|debug|none]` :: `-watchdog` `[action=<reset|shutdown|poweroff|pause|debug|none>] [,[model=]<i6300esb|ib700>]` ::
Create a virtual hardware watchdog device. Once enabled (by a guest Create a virtual hardware watchdog device. Once enabled (by a guest
action), the watchdog must be periodically polled by an agent inside the action), the watchdog must be periodically polled by an agent inside the
guest or else the guest will be restarted (or execute the action specified) guest or else the watchdog will reset the guest (or execute the respective
action specified)
@ -471,10 +478,14 @@ Verbose output format.
*qm list* *qm list* `[OPTIONS]`
Virtual machine index (per node). Virtual machine index (per node).
`-full` `boolean` ::
Determine the full status of active VMs.
*qm migrate* `<vmid> <target>` `[OPTIONS]` *qm migrate* `<vmid> <target>` `[OPTIONS]`
@ -687,9 +698,9 @@ Enable/disable Qemu GuestAgent.
`-args` `string` :: `-args` `string` ::
Note: this option is for experts only. It allows you to pass arbitrary NOTE: this option is for experts only. It allows you to pass arbitrary
arguments to kvm, for example: arguments to kvm, for example:
+
args: -no-reboot -no-hpet args: -no-reboot -no-hpet
`-autostart` `boolean` (default=`0`):: `-autostart` `boolean` (default=`0`)::
@ -721,21 +732,23 @@ This is an alias for option -ide2
The number of cores per socket. The number of cores per socket.
`-cpu` `(486 | Broadwell | Conroe | Haswell | IvyBridge | Nehalem | Opteron_G1 | Opteron_G2 | Opteron_G3 | Opteron_G4 | Opteron_G5 | Penryn | SandyBridge | Westmere | athlon | core2duo | coreduo | host | kvm32 | kvm64 | pentium | pentium2 | pentium3 | phenom | qemu32 | qemu64)` (default=`kvm64`):: `-cpu` `[cputype=]<cputype> [,hidden=<1|0>]` ::
Emulated CPU type. Emulated CPU type.
`-cpulimit` `number (0 - 128)` (default=`0`):: `-cpulimit` `number (0 - 128)` (default=`0`)::
Limit of CPU usage. Note if the computer has 2 CPUs, it has total of '2' Limit of CPU usage.
CPU time. Value '0' indicates no CPU limit. +
NOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0'
indicates no CPU limit.
`-cpuunits` `integer (0 - 500000)` (default=`1000`):: `-cpuunits` `integer (0 - 500000)` (default=`1000`)::
CPU weight for a VM. Argument is used in the kernel fair scheduler. The CPU weight for a VM. Argument is used in the kernel fair scheduler. The
larger the number is, the more CPU time this VM gets. Number is relative to larger the number is, the more CPU time this VM gets. Number is relative to
weights of all the other running VMs. weights of all the other running VMs.
+
NOTE: You can disable fair-scheduler configuration by setting this to 0. NOTE: You can disable fair-scheduler configuration by setting this to 0.
`-delete` `string` :: `-delete` `string` ::
@ -765,20 +778,20 @@ NOTE: Requires option(s): `delete`
Freeze CPU at startup (use 'c' monitor command to start execution). Freeze CPU at startup (use 'c' monitor command to start execution).
`-hostpci[n]` `[host=]HOSTPCIDEVICE [,rombar=on|off] [,pcie=0|1] [,x-vga=on|off]` :: `-hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,pcie=<1|0>] [,rombar=<1|0>] [,x-vga=<1|0>]` ::
Map host pci devices. HOSTPCIDEVICE syntax is: Map host pci devices. HOSTPCIDEVICE syntax is:
+
'bus:dev.func' (hexadecimal numbers) 'bus:dev.func' (hexadecimal numbers)
+
You can us the 'lspci' command to list existing pci devices. You can us the 'lspci' command to list existing pci devices.
+
The 'rombar' option determines whether or not the device's ROM will be The 'rombar' option determines whether or not the device's ROM will be
visible in the guest's memory map (default is 'on'). visible in the guest's memory map (default is 'on').
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-hotplug` `string` (default=`network,disk,usb`):: `-hotplug` `string` (default=`network,disk,usb`)::
@ -788,7 +801,7 @@ hotplug features: 'network', 'disk', 'cpu', 'memory' and 'usb'. Use '0' to
disable hotplug completely. Value '1' is an alias for the default disable hotplug completely. Value '1' is an alias for the default
'network,disk,usb'. 'network,disk,usb'.
`-ide[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,serial=serial][,model=model]` :: `-ide[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
@ -831,38 +844,37 @@ Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
Set a name for the VM. Only used on the configuration web interface. Set a name for the VM. Only used on the configuration web interface.
`-net[n]` `MODEL=XX:XX:XX:XX:XX:XX [,bridge=<dev>][,queues=<nbqueues>][,rate=<mbps>] [,tag=<vlanid>][,firewall=0|1],link_down=0|1]` :: `-net[n]` `string` ::
Specify network devices. Specify network devices.
+
MODEL is one of: e1000 e1000-82540em e1000-82544gc e1000-82545em i82551 MODEL is one of: e1000 e1000-82540em e1000-82544gc e1000-82545em i82551
i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3 i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3
+
XX:XX:XX:XX:XX:XX should be an unique MAC address. This is XX:XX:XX:XX:XX:XX should be an unique MAC address. This is
automatically generated if not specified. automatically generated if not specified.
+
The bridge parameter can be used to automatically add the interface to a The bridge parameter can be used to automatically add the interface to a
bridge device. The Proxmox VE standard bridge is called 'vmbr0'. bridge device. The Proxmox VE standard bridge is called 'vmbr0'.
+
Option 'rate' is used to limit traffic bandwidth from and to this Option 'rate' is used to limit traffic bandwidth from and to this
interface. It is specified as floating point number, unit is 'Megabytes per interface. It is specified as floating point number, unit is 'Megabytes per
second'. second'.
+
If you specify no bridge, we create a kvm 'user' (NATed) network device, If you specify no bridge, we create a kvm 'user' (NATed) network device,
which provides DHCP and DNS services. The following addresses are used: which provides DHCP and DNS services. The following addresses are used:
+
10.0.2.2 Gateway 10.0.2.2 Gateway
10.0.2.3 DNS Server 10.0.2.3 DNS Server
10.0.2.4 SMB Server 10.0.2.4 SMB Server
+
The DHCP server assign addresses to the guest starting from 10.0.2.15. The DHCP server assign addresses to the guest starting from 10.0.2.15.
`-numa` `boolean` (default=`0`):: `-numa` `boolean` (default=`0`)::
Enable/disable Numa. Enable/disable NUMA.
`-numa[n]` `cpus=<id[-id],memory=<mb>[[,hostnodes=<id[-id]>] [,policy=<preferred|bind|interleave>]]` :: `-numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<mb>] [,policy=<preferred|bind|interleave>]` ::
numa topology numa topology
@ -874,7 +886,7 @@ Specifies whether a VM will be started during system bootup.
Used to enable special optimization/features for specific Used to enable special optimization/features for specific
operating systems: operating systems:
+
other => unspecified OS other => unspecified OS
wxp => Microsoft Windows XP wxp => Microsoft Windows XP
w2k => Microsoft Windows 2000 w2k => Microsoft Windows 2000
@ -886,17 +898,17 @@ win8 => Microsoft Windows 8/2012
l24 => Linux 2.4 Kernel l24 => Linux 2.4 Kernel
l26 => Linux 2.6/3.X Kernel l26 => Linux 2.6/3.X Kernel
solaris => solaris/opensolaris/openindiania kernel solaris => solaris/opensolaris/openindiania kernel
+
other|l24|l26|solaris ... no special behaviour other|l24|l26|solaris ... no special behaviour
wxp|w2k|w2k3|w2k8|wvista|win7|win8 ... use --localtime switch wxp|w2k|w2k3|w2k8|wvista|win7|win8 ... use --localtime switch
`-parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` :: `-parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
Map host parallel devices (n is 0 to 2). Map host parallel devices (n is 0 to 2).
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-protection` `boolean` (default=`0`):: `-protection` `boolean` (default=`0`)::
@ -911,11 +923,11 @@ Allow reboot. If set to '0' the VM exit on reboot.
Revert a pending change. Revert a pending change.
`-sata[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,serial=serial]` :: `-sata[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
`-scsi[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,iothread=on] [,queues=<nbqueues>] [,serial=serial]` :: `-scsi[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iothread=<off|on>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<nbqueues>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as SCSI hard disk or CD-ROM (n is 0 to 13). Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
@ -928,10 +940,10 @@ scsi controller model
Create a serial device inside the VM (n is 0 to 3), and pass through a host Create a serial device inside the VM (n is 0 to 3), and pass through a host
serial device (i.e. /dev/ttyS0), or create a unix socket on the host side serial device (i.e. /dev/ttyS0), or create a unix socket on the host side
(use 'qm terminal' to open a terminal connection). (use 'qm terminal' to open a terminal connection).
+
Note: If you pass through a host serial device, it is no longer possible to NOTE: If you pass through a host serial device, it is no longer possible to
migrate such machines - use with special care. migrate such machines - use with special care.
+
Experimental: user reported problems with this option. Experimental: user reported problems with this option.
`-shares` `integer (0 - 50000)` (default=`1000`):: `-shares` `integer (0 - 50000)` (default=`1000`)::
@ -944,7 +956,7 @@ running VMs. Using zero disables auto-ballooning
Ignore locks - only root is allowed to use this option. Ignore locks - only root is allowed to use this option.
`-smbios[n]` `[manufacturer=str][,product=str][,version=str][,serial=str] [,uuid=uuid][,sku=str][,family=str]` :: `-smbios[n]` `[family=<str>] [,manufacturer=<name>] [,product=<name>] [,serial=<str>] [,sku=<str>] [,uuid=<UUID>] [,version=<str>]` ::
Specify SMBIOS type 1 fields. Specify SMBIOS type 1 fields.
@ -970,11 +982,11 @@ wait before the next VM is started or stopped.
`-tablet` `boolean` (default=`1`):: `-tablet` `boolean` (default=`1`)::
Enable/disable the usb tablet device. This device is usually needed to Enable/disable the USB tablet device. This device is usually needed to
allow absolute mouse positioning with VNC. Else the mouse runs out of sync allow absolute mouse positioning with VNC. Else the mouse runs out of sync
with normal VNC clients. If you're running lots of console-only guests on with normal VNC clients. If you're running lots of console-only guests on
one host, you may consider disabling this to save some context switches. one host, you may consider disabling this to save some context switches.
This is turned of by default if you use spice (vga=qxl). This is turned off by default if you use spice (-vga=qxl).
`-tdf` `boolean` (default=`0`):: `-tdf` `boolean` (default=`0`)::
@ -988,21 +1000,25 @@ Enable/disable Template.
Reference to unused volumes. Reference to unused volumes.
`-usb[n]` `host=HOSTUSBDEVICE|spice` :: `-usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<yes|no>]` ::
Configure an USB device (n is 0 to 4). This can be used to Configure an USB device (n is 0 to 4). This can be used to
pass-through usb devices to the guest. HOSTUSBDEVICE syntax is: pass-through usb devices to the guest. HOSTUSBDEVICE syntax is:
+
'bus-port(.port)*' (decimal numbers) or 'bus-port(.port)*' (decimal numbers) or
'vendor_id:product_id' (hexadeciaml numbers) 'vendor_id:product_id' (hexadeciaml numbers) or
'spice'
+
You can use the 'lsusb -t' command to list existing usb devices. You can use the 'lsusb -t' command to list existing usb devices.
+
Note: This option allows direct access to host hardware. So it is no longer NOTE: This option allows direct access to host hardware. So it is no longer
possible to migrate such machines - use with special care. possible to migrate such machines - use with special care.
+
The value 'spice' can be used to add a usb redirection devices for spice. The value 'spice' can be used to add a usb redirection devices for spice.
+
The 'usb3' option determines whether the device is a USB3 device or not
(this does currently not work reliably with spice redirection and is then
ignored).
`-vcpus` `integer (1 - N)` (default=`0`):: `-vcpus` `integer (1 - N)` (default=`0`)::
@ -1010,21 +1026,23 @@ Number of hotplugged vcpus.
`-vga` `(cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware)` :: `-vga` `(cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware)` ::
Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) Select the VGA type. If you want to use high resolution modes (>=
then you should use option 'std' or 'vmware'. Default is 'std' for 1280x1024x16) then you should use the options 'std' or 'vmware'. Default is
win8/win7/w2k8, and 'cirrur' for other OS types. Option 'qxl' enables the 'std' for win8/win7/w2k8, and 'cirrus' for other OS types. The 'qxl' option
SPICE display sever. You can also run without any graphic card using a enables the SPICE display sever. For win* OS you can select how many
serial devive as terminal. independent displays you want, Linux guests can add displays them self. You
can also run without any graphic card, using a serial device as terminal.
`-virtio[n]` `[volume=]volume,] [,media=cdrom|disk] [,cyls=c,heads=h,secs=s[,trans=t]] [,snapshot=on|off] [,cache=none|writethrough|writeback|unsafe|directsync] [,format=f] [,backup=yes|no] [,rerror=ignore|report|stop] [,werror=enospc|ignore|report|stop] [,aio=native|threads] [,discard=ignore|on] [,detect_zeroes=on|off] [,iothread=on] [,serial=serial]` :: `-virtio[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<on|off>] [,bps=<bps>] [,bps_rd=<bps>] [,bps_wr=<bps>] [,cache=<none|writethrough|writeback|unsafe|directsync>] [,cyls=<count>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<drive format>] [,heads=<count>] [,iops=<iops>] [,iops_max=<iops>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iothread=<off|on>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,rerror=<ignore|report|stop>] [,secs=<count>] [,serial=<serial>] [,snapshot=<on|off>] [,trans=<none|lba|auto>] [,werror=<enospc|ignore|report|stop>]` ::
Use volume as VIRTIO hard disk (n is 0 to 15). Use volume as VIRTIO hard disk (n is 0 to 15).
`-watchdog` `[[model=]i6300esb|ib700] [,[action=]reset|shutdown|poweroff|pause|debug|none]` :: `-watchdog` `[action=<reset|shutdown|poweroff|pause|debug|none>] [,[model=]<i6300esb|ib700>]` ::
Create a virtual hardware watchdog device. Once enabled (by a guest Create a virtual hardware watchdog device. Once enabled (by a guest
action), the watchdog must be periodically polled by an agent inside the action), the watchdog must be periodically polled by an agent inside the
guest or else the guest will be restarted (or execute the action specified) guest or else the watchdog will reset the guest (or execute the respective
action specified)
@ -1042,7 +1060,9 @@ The (unique) ID of the VM.
*qm shutdown* `<vmid>` `[OPTIONS]` *qm shutdown* `<vmid>` `[OPTIONS]`
Shutdown virtual machine. Shutdown virtual machine. This is similar to pressing the power button on a
physical machine.This will send an ACPI event for the guest OS, which
should then proceed to a clean shutdown.
`<vmid>` `integer (1 - N)` :: `<vmid>` `integer (1 - N)` ::
@ -1132,7 +1152,8 @@ Verbose output format
*qm stop* `<vmid>` `[OPTIONS]` *qm stop* `<vmid>` `[OPTIONS]`
Stop virtual machine. Stop virtual machine. The qemu process will exit immediately. Thisis akin
to pulling the power plug of a running computer and may damage the VM data
`<vmid>` `integer (1 - N)` :: `<vmid>` `integer (1 - N)` ::

View File

@ -12,7 +12,7 @@ The ID of the VM you want to backup.
Backup all known VMs on this host. Backup all known VMs on this host.
`-bwlimit` `integer (0 - N)` :: `-bwlimit` `integer (0 - N)` (default=`0`)::
Limit I/O bandwidth (KBytes per second). Limit I/O bandwidth (KBytes per second).
@ -32,11 +32,11 @@ exclude specified VMs (assumes --all)
exclude certain files/directories (shell globs). exclude certain files/directories (shell globs).
`-ionice` `integer (0 - 8)` :: `-ionice` `integer (0 - 8)` (default=`7`)::
Set CFQ ionice priority. Set CFQ ionice priority.
`-lockwait` `integer (0 - N)` :: `-lockwait` `integer (0 - N)` (default=`180`)::
Maximal time to wait for the global lock (minutes). Maximal time to wait for the global lock (minutes).
@ -48,11 +48,11 @@ Specify when to send an email
no description available no description available
`-maxfiles` `integer (1 - N)` :: `-maxfiles` `integer (1 - N)` (default=`1`)::
Maximal number of backup files per VM. Maximal number of backup files per VM.
`-mode` `(snapshot | stop | suspend)` (default=`stop`):: `-mode` `(snapshot | stop | suspend)` (default=`snapshot`)::
Backup mode. Backup mode.
@ -77,7 +77,7 @@ Remove old backup files if there are more than 'maxfiles' backup files.
Use specified hook script. Use specified hook script.
`-size` `integer (500 - N)` :: `-size` `integer (500 - N)` (default=`1024`)::
LVM snapshot size in MB. LVM snapshot size in MB.
@ -93,7 +93,7 @@ Write tar to stdout, not to a file.
Stop runnig backup jobs on this host. Stop runnig backup jobs on this host.
`-stopwait` `integer (0 - N)` :: `-stopwait` `integer (0 - N)` (default=`10`)::
Maximal time to wait until a VM is stopped (minutes). Maximal time to wait until a VM is stopped (minutes).