Veritas Volume Manager (VxVM) gives the disk a default name when you add the disk to VxVM control, unless you specify a VxVM disk name. VxVM uses the VxVM disk name to identify the location of the disk or the disk type.
To rename a disk
# vxedit [-g diskgroup] rename old_diskname new_diskname
By default, VxVM names subdisk objects after the VxVM disk on which they are located. Renaming a VxVM disk does not automatically rename the subdisks on that disk.
For example, you might want to rename disk mydg03, as shown in the following output from vxdisk list, to mydg02:
# vxdisk list DEVICE TYPE DISK GROUP STATUS sdb auto:sliced mydg01 mydg online sdc auto:sliced mydg03 mydg online sdd auto:sliced - - online
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 sdb auto:sliced mydg01 mydg online sdc auto:sliced mydg02 mydg online sdd auto:sliced - - online