您的位置:首页 > 其它

asm add disk to diskgroup

2013-01-28 22:04 399 查看
Action:

Consider the following configuration:  

/devices/D1 is a member of disk group dgroupA.
 

/devices/D2 is a member of disk group dgroupA.
 

/devices/D3 is a member of disk group dgroupA.
 

You plan to add a new disk, /devices/D4,to the disk group dgroupA.
 

You execute the following command:  

SQL> ALTER DISKGROUP dgroupA ADD DISK
'/devices/D*';

Editor’s notes:

/devices/D1 is a member of disk group DGROUPA.

/devices/D2 is a member of disk group DGROUPA.

/devices/D3 is a member of disk group DGROUPA.

/devices/D4 is a candidate disk.

So,if you execute the command above,oracle will add a member au
tomaticly.

Reblanceis automatically done as disks are added, dropped, or r
esized

ALTER DISKGROUP dgroupA ADD DISK '/devices/D*';

将 D4 添加到 DGROUPA 磁盘组。由于其它磁盘已经是 DGROUPA 磁盘组的成员,

因此即使它们与搜索字符串匹配,第二个语句仍将忽略这些磁盘。向磁盘

组添加磁盘时,ASM 实例将确保该磁盘是可寻址的并且可用,然后,才会对该磁

盘进行格式化并使其重新平衡。由于需要将每个文件的分配单元移到新磁盘上,

因此重新平衡过程非常耗时。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: