User Category Permission Condition
Application administrator Conditionally Allowed The volume is a snapshot, where
its master volume is mapped to
a host or cluster associated with
the user and the snapshot was
created by an application
administrator.
Security administrator Disallowed N/A
Read-only users Disallowed N/A
Technicians Disallowed N/A
Completion Codes:
v SNAPSHOT_IS_INTERNAL
Internal snapshots cannot be mapped, modified or deleted.
v VOLUME_BAD_NAME
Volume name does not exist
v VOLUME_IS_SLAVE
Volume is defined as a slave volume
v SNAPSHOT_IS_PART_OF_SNAPSHOT_GROUP
Snapshot is part of a Snapshot Group
Renaming a Volume
Renames a volume.
vol_rename vol=VolName new_name=Name
Parameters:
Name Type Description Mandatory
vol Object name Name of the volume to
be renamed.
Y
new_name Object name New volume name. Y
This command renames a volume.
The new name of the volume must be unique in the system.
This command succeeds even if the new name is identical to the current name.
This command succeeds regardless of the volume's lock state.
Renaming a snapshot does not change the name of its master volume. Renaming a
master volume does not change the names of its associated snapshots.
If applied on a volume that is part of an IBM Hyper-Scale Mobility relation, the
command has to be acknowledged by both source and destination volumes.
Otherwise, a completion code is returned (see below).
Example:
Chapter 3. Volume Management 53