Advertisements

Renaming a disk in Veritas Volume Manager

Listing disks

root@solaris:~ # vxdisk -o alldgs -e list
DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR
disk_43 auto:SVM – – SVM c1t10d0s2 –
disk_44 auto:sliced softmirr softwaredg online c1t11d0s2 –
disk_45 auto:sliced softdisk softwaredg online c0t9d0s2 –
disk_46 auto:SVM – – SVM c0t8d0s2 –
ibm_ds8x000_5169 auto:cdsdisk usersdgd01 users175sbcdg online c8t6005076308FFC2A70000000000005169d0s2 std
ibm_ds8x000_5170 auto:cdsdisk bkpcvrddgd01 bkpcvrd175sbcdg online c8t6005076308FFC2A70000000000005170d0s2 std
ibm_ds8x000_5171 auto – – nolabel c8t6005076308FFC2A70000000000005171d0s2 std
ibm_ds8x000_5172 auto – – nolabel c8t6005076308FFC2A70000000000005172d0s2 std
ibm_ds8x000_5173 auto – – nolabel c8t6005076308FFC2A70000000000005173d0s2 std
ibm_ds8x000_5174 auto – – nolabel c8t6005076308FFC2A70000000000005174d0s2 std

Renaming disk in disk group users175sbcdg named usersdgd01 to users175sbcd01
Renaming disk in disk group bkpcvrd175sbcdg named bkpcvrddgd01 to bkpcvrd175sbcd01

root@solaris:~ # vxedit -g users175sbcdg rename usersdgd01 users175sbcd01
root@solaris:~ # vxedit -g bkpcvrd175sbcdg rename bkpcvrddgd01 bkpcvrd175sbcd01

Listing disks

root@solaris:~ # vxdisk -o alldgs -e list
DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR
disk_43 auto:SVM – – SVM c1t10d0s2 –
disk_44 auto:sliced softmirr softwaredg online c1t11d0s2 –
disk_45 auto:sliced softdisk softwaredg online c0t9d0s2 –
disk_46 auto:SVM – – SVM c0t8d0s2 –
ibm_ds8x000_5169 auto:cdsdisk users175sbcd01 users175sbcdg online c8t6005076308FFC2A70000000000005169d0s2 std
ibm_ds8x000_5170 auto:cdsdisk bkpcvrd175sbcd01 bkpcvrd175sbcdg online c8t6005076308FFC2A70000000000005170d0s2 std
ibm_ds8x000_5171 auto – – nolabel c8t6005076308FFC2A70000000000005171d0s2 std
ibm_ds8x000_5172 auto – – nolabel c8t6005076308FFC2A70000000000005172d0s2 std
ibm_ds8x000_5173 auto – – nolabel c8t6005076308FFC2A70000000000005173d0s2 std
ibm_ds8x000_5174 auto – – nolabel c8t6005076308FFC2A70000000000005174d0s2 std

Advertisements
%d bloggers like this: