HP MSA 1040 CLI Reference Guide (762782-001, March 2014)

194
set volume
Description Changes a volume’s name and identifying information.
Syntax
set volume
[access read-write|rw|read-only|ro]
[identifying-information
description
]
[name
new-name
]
volume
Parameters access read-write|rw|read-only|ro
Deprecated; to change mapping settings, use the "map volume" (page 103).
identifying-information
description
Optional. A description of the volume to help a host-side user identify it. The value can have a
maximum of 127 bytes, using printable UTF-8 characters except a left angle bracket, backslash,
comma, or double quote, or backslash. A value that contains a space must be enclosed in double
quotes.
name
new-name
Optional. A new name for the volume. The name is case sensitive; can include spaces and printable
UTF-8 characters except a left angle bracket, backslash, comma, or double quote; and can have a
maximum of 32 bytes. A name that includes a space must be enclosed in double quotes.
volume
The name or serial number of the volume to change. For volume syntax, see "Command syntax"
(page 20).
Example Rename volume V1 to V2:
# set volume name V2 V1
Success: Command completed successfully. - The specified volume name change(s)
were made. (2012-01-21 14:36:13)
Set identifying information for V3:
# set volume identifying-information "Project X data" V3
Success: Command completed successfully. - The specified volume name change(s)
were made. (2012-01-21 14:36:33)
See also show host-maps
show volumes
show volume-maps