Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)

Chapter 3 Command Descriptions 153
set vdisk
Description
Sets the name and owning controller for an existing virtual disk.
Caution – If you change the ownership of a virtual disk whose volumes are mapped
to hosts, the assigned LUNs become invalid and hosts lose access to the volumes.
After changing ownership, you must reassign the LUNs and, depending on the host
operating system, either rescan or restart to detect the LUN changes.
Input
Example
Rename virtual disk VD1 and reassign its ownership.
Related Commands
“show vdisks” on page 230
set vdisk vdisk [name new-name] [owner a|b]
Parameter Description
vdisk Specifies the virtual disk by name or serial number. For the
syntax to use, see “Virtual Disk Syntax” on page 26.
name new-name Optional. Specifies a new name for the virtual disk. For the
syntax to use, see “Virtual Disk Syntax” on page 26.
owner a|b Optional. Sets the owner of the virtual disk to controller A or B.
# set vdisk VD1 name VD2 owner a
Success: Command completed successfully