chmdisk

You can use the chmdisk command to modify the name of a managed disk.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- chmdisk -- -- -name -- new_name_arg -- ------->

>--+- mdisk_id ---+--------------------------------------------><
   '- mdisk_name -'

Parameters

-name new_name_arg
Specifies the new name to be applied to the managed disk.
mdisk_id_list | mdisk_name_list
Specifies the ID or name of the managed disk to modify.

Description

This command modifies the name, or label, assigned to a given managed disk. You can subsequently use the new name to refer to the managed disk.

Possible failures

Examples

An invocation example

svctask chmdisk -name testmdisk mdisk0