Home  >  Article  >  Database  >  Oracle ASM 磁盘组添加磁盘

Oracle ASM 磁盘组添加磁盘

WBOY
WBOYOriginal
2016-06-07 17:11:241189browse

1.链接存储,确保操作系统能发现设备12.更改存储设备文件的属性chown grid:oinstall /dev/mxxxxx3.确保ASM实例的磁盘发现路径包括

1.链接存储,确保操作系统能发现设备1

2.更改存储设备文件的属性

chown grid:oinstall /dev/mxxxxx

3.确保ASM实例的磁盘发现路径包括新增加的存储设备

ASM_DISKSTRING

4.创建磁盘组

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'='4096';

说明:可以指定ASMLIB LABLE过的磁盘来指定磁盘,ORCL:DISKB1

5.添加磁盘

ALTER DISKGROUP data1 ADD DISK

'/devices/disk*4' REBALANCE POWER 10;

说明:

1.该操作需用SYSASM角色来执行,,否则会报ORA-15260

2.该操作会引起ASM的REBALANCE操作,下面的语句监控REBLANCE的操作进度

SELECT * FROM V$ASM_OPERATION;

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn