1. Link storage to ensure that the operating system can discover devices 1
2. Change the properties of the storage device file
Chown grid: oinstall/dev/mxxxxx
3. Ensure that the disk discovery path of the ASM instance includes the newly added storage device.
ASM_DISKSTRING
4. Create a disk group
Create diskgroup data NORMAL REDUNDANCY
FAILGROUP controller1 DISK
'/Devices/diska1 ',
'/Devices/diska2 ',
'/Devices/diska3 ',
'/Devices/diska4'
FAILGROUP controller2 DISK
'/Devices/diskb1 ',
'/Devices/diskb2 ',
'/Devices/diskb3 ',
'/Devices/diskb4'
ATTRIBUTE 'compatible. asm '= '11. 2', 'compatible. rdbms' = '11. 2 ',
'Sector _ size' = '000000 ';
Description: You can specify a disk that has been used by asmlib lable. ORCL: DISKB1
5. Add a disk
Alter diskgroup data1 ADD DISK
'/Devices/disk * 4' rebalance power 10;
Note:
1. This operation requires the SYSASM role to execute, otherwise the ORA-15260 will be reported
2. This operation will cause the asm rebalance operation. The following statement monitors the REBLANCE operation progress.
SELECT * from v $ ASM_OPERATION;