You are on page 1of 1

You can change the label of disk using oracleasm renamedisk; oracle discourages

it
I will changing the label of disk from CLONE1 to CLONE1a and CLONE2 to CLONE2a o
f diskgroup CLONE
col disk_number for 99
col name for a15
col label for a15
col path for a30
select disk_number,name,label,path from v$asm_disk;
0 DATA CLONE1 ORCL:CLONE1
1 LOGS CLONE2 ORCL:CLONE2
ASMCMD> lsdsk -G CLONE
Path
ORCL:CLONE1
ORCL:CLONE2
ASMCMD> umount CLONE
[root@otest]#
Renaming disk
[root@otest]#
Renaming disk

/etc/init.d/oracleasm force-renamedisk CLONE1 CLONE1a


"CLONE1" to "CLONE1a": [ OK ]
/etc/init.d/oracleasm force-renamedisk CLONE2 CLONE2a
"CLONE2" to "CLONE2a": [ OK ]

ASMCMD> mount CLONE


ASMCMD> lsdsk -G CLONE
Path
ORCL:CLONE1A
ORCL:CLONE2A
select disk_number,name,label,path from v$asm_disk;SQL> SQL> SQL> SQL>
0 DATA CLONE1A ORCL:CLONE1A
1 LOGS CLONE2A ORCL:CLONE2A

You might also like