Search This Blog

Monday, June 24, 2013

Rename a disk in a diskgroup

Throough VEA:
  • Select the disk that you want to rename.
  • Select Actions-> Rename Disk.
  • Specify the original disk name and the new name
Through Command Line:

vxedit rename:

Syntax: # vxedit –g <dg_name> rename <old_disk_name> <new_disk_name>
 
Example

Before:-
indhost# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
IBM_VSCSI0_1 auto:LVM        -            -            LVM
TagmaStore-USP0_1 auto:cdsdisk    disk01       markdg       online
TagmaStore-USP1_0 auto:cdsdisk    disk02       markdg       online
indhost# vxedit -g markdg rename disk02 disk03

After:-
indhost# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
IBM_VSCSI0_1 auto:LVM        -            -            LVM
TagmaStore-USP0_1 auto:cdsdisk    disk01       markdg       online
TagmaStore-USP1_0 auto:cdsdisk    disk03       markdg       online

No comments:

Post a Comment