Usage: nvmesh volume update [OPTIONS]
Update volume.
Usage example, update a volume named 'r1_vol' and set its capacity to 2TB:
$ nvmesh volume update -n r1_vol -c 2T
Options:
-n, --name TEXT The name of the volume. The name must be
unique, as it will become the ID of the
volume. [required]
-c, --capacity TEXT The capacity of the allocated volume in
bytes. Minimal volume capacity is 1GB.The
number of bytes may be followed by the
following multiplicative suffixes: K/KB
=1000, KiB =1024, M/MB =1000^2, MiB =1024^2,
G/GB =1000^3, GiB =1024^3, T/TB =1000^4, TiB
=1024^4, , PiB =1024^5. Use "MAX" for using
all of the available space. All the units
are case insensitive.
-d, --description TEXT Description of the volume.
--domain TEXT Domain to use.
-dc, --drive-class TEXT Limit volume allocation to specific drive
classes. NOTE: This option can be used
multiple times, e.g. -dc <value> -dc
<value>. It can also be used once with
multiple values separated with the ','
character, e.g. -dc <value>,<value>,<value>
-tc, --target-class TEXT Limit volume allocation to specific target
classes. NOTE: This option can be used
multiple times, e.g. -tc <value> -tc
<value>. It can also be used once with
multiple values separated with the ','
character, e.g. -tc <value>,<value>,<value>
-D, --limit-by-drive TEXT Limit volume allocation to specific drives.
NOTE: This option can be used multiple
times, e.g. -D <value> -D <value>. It can
also be used once with multiple values
separated with the ',' character, e.g. -D
<value>,<value>,<value>
-T, --limit-by-target TEXT Limit volume allocation to specific targets.
NOTE: This option can be used multiple
times, e.g. -T <value> -T <value>. It can
also be used once with multiple values
separated with the ',' character, e.g. -T
<value>,<value>,<value>
--relative-rebuild-priority INTEGER RANGE
Sets the volume relative rebuild priority.
--enable-nvmf BOOLEAN Enables access to the NVMesh volume using
the NVMf protocol.
-nc, --nvmf-client TEXT The ID of a client that allowed to export
via NVMf protocol. NOTE: This option can be
used multiple times, e.g. -nc <value> -nc
<value>. It can also be used once with
multiple values separated with the ','
character, e.g. -nc <value>,<value>,<value>
--enable-crc-check BOOLEAN Enables CRC check of the volume. Can only be
updated on an EC volume.
-vsg, --volume-security-group TEXT
The name of the associated volume security
group. NOTE: This option can be used
multiple times, e.g. -vsg <value> -vsg
<value>. It can also be used once with
multiple values separated with the ','
character, e.g. -vsg <value>,<value>,<value>
-h, --help Show this message and exit.
Post your comment on this topic.