CLI Guide
See also
set password
show users
set vdisk
Description Changes parameters for a specified linear disk group. This command applies to linear storage only.
Minimum role manage
Syntax
set vdisk
[adapt-spare-capacity size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]|default]
[name new-name]
[owner a|b]
[spin-down-delay delay]
vdisk
Parameters
[adapt-spare-capacity size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]|default]
Optional. For an ADAPT disk group, this specifies the target spare capacity.
• size [B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]: Sets the target spare capacity to a specific size. The
unit is optional (B represents bytes). If no unit is specified, GiB will be used, regardless of the current
base. Whichever unit is set, internally the value will be rounded down to the nearest GiB. If the value is set
to 0, the absolute minimum spare space will be used. If this parameter is omitted, the default setting will
be used.
• default: Sets the target spare capacity to the sum of the two largest disks in the disk group, which is
sufficient to fully recover fault tolerance after loss of any two disks in the group.
[name new-name]
Optional. A new name for the disk group. A name that includes a space must be enclosed in double quotes.
[owner a|b]
Optional. The new owner: controller A or B.
CAUTION: Before changing the owning controller for a disk group, you must stop host I/O to
the disk group’s volumes. Volume mappings are not affected.
NOTE: Changing ownership of a disk group while any volumes in the disk group are mapped to
live hosts is not supported and may cause data loss or unavailability. All volumes in the disk
group must be unmapped or attached hosts must be shut down before the ownership of a disk
group is changed.
[spin-down-delay delay]
Optional. For spinning disks in non-ADAPT disk groups, this sets the period of inactivity after which the disk
group’s disks and dedicated spares will automatically spin down. Setting the delay to 1–360 minutes will
enable spin down. Setting the delay to 0 will disable spin down
• Spun-down disks are not polled for SMART events.
• Operations requiring access to disks may be delayed while the disks are spinning back up.
vdisk
The name or serial number of the linear disk group to change. Input rules:
• The value is case sensitive.
• The value can have a maximum of 32 bytes.
• The value can include spaces and printable UTF-8 characters except: " , < \
• A value that includes a space must be enclosed in double quotes.
Examples
Rename linear disk group VD1 to VD2 and set its spin-down delay to 10 minutes.
# set vdisk name VD2 spin-down-delay 10 VD1
156 Alphabetical list of commands