Symantec logo

Renaming a disk

If you do not specify a VM disk name, VxVM gives the disk a default name when you add the disk to VxVM control. The VM disk name is used by VxVM to identify the location of the disk or the disk type.

 To rename a disk

You would use the following command to rename the disk.

# vxedit -g mydg rename mydg03 mydg02

To confirm that the name change took place, use the vxdisk list command again:

# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c0t0d0 auto:hpdisk mydg01 mydg online

c1t0d0 auto:hpdisk mydg02 mydg online

c1t1d0 auto:hpdisk - - online