问题1:使用命令 alter diskgroup DG add disk '/dsk/c1t0d0s0'; 可以直接在线添加DISK吗?
问题2:使用上个命令,可以直接扩容吗,那 alter diskgroup DG RESIZE DISK diska1 SIZE 100G. 这个resize命令是什么意思?
第一次用,有点疑问请教。作者: xwf0311 时间: 2008-10-12 22:43
可以在线添加,不过添加时候IO负担比较重,可以调到一个参数,叫什么power
第一个面临即可,不知道第二个命令是什么意思作者: ricky.zhu 时间: 2008-10-12 22:49
alter diskgroup add disk 'xxxx' can be used to add disk.
for the resize, here is the document about resize.
resize_disk_clauses
Use these clauses to specify a new size for one or more disks in the disk group. These clauses let you override the size being returned by the operating system or the size you specified previously for the disks.
RESIZE ALL Specify this clause to perform a resize operation on every disk in the disk group.
RESIZE DISK Specify this clause to resize only the specified disk.
RESIZE DISKS IN FAILGROUP Specify this clause to resize every disk in the specified failure group.
SIZE Specify the size of the disk in kilobytes, megabytes, gigabytes, or terabytes. You cannot specify a size greater than the capacity of the disk. If you specify a size smaller than the disk capacity, then you limit the amount of disk space Automatic Storage Management will use. If you omit this clause, then Automatic Storage Management uses the size being returned by the operating system.作者: ricky.zhu 时间: 2008-10-12 22:51
二楼说的power是add disk之后进行reblanace的操作
还有个小疑问,ALTER DISKGROUP dgroup_01 REBALANCE POWER 11;
这个命令是一次性的,还是以后永久性的?
如果是永久性的,对其他的DG没有什么影响吧?需要调整回来吗?
请 ricky.zhu 赐教,谢谢!!!作者: flutter 时间: 2008-10-13 11:38
Rebalancing a Disk Group: Example
To manually rebalance a disk group, dgroup_01, and permit Automatic Storage Management to execute the rebalance as fast as possible, issue the following statement: