官方地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/storeman.htm#i1007979
FORCE
clause. Forexample, a disk with an ASM header might have failed temporarily,so that its header could not be cleared when it was dropped fromits disk group. After the disk is repaired, it is no longer part ofany disk group, but it still has an ASM header. TheFORCE
flag is required to use the disk in a new diskgroup. The original disk group must not be mounted, and the diskmust have a disk group header, otherwise the operation fails. Notethat if you do this, you may cause another disk group to becomeunusable. If you specify NOFORCE
, which is thedefault, you receive an error if you attempt to include a disk thatalready belongs to another disk group.
即是:你如果attempt去添加一个已经属于其他磁盘组的磁盘,在指定关键字NOFORCE(这是CREATEDISKGROUP语句的一个默认值,下地址有关详细信息介绍),你将收到一个错误信息。
文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_5008.htm#SQLRF01114
NORMAL
orHIGH
REDUNDANCY
, then Oracle Databaseautomatically adds each disk in the disk group to its own failuregroup. The implicit name of the failure group is the sameas the operating system independent disk name (see "NAME Clause").
EXTERNAL
REDUNDANCY
disk group.
地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/storeman.htm#i1020539
DROP DISKGROUP
statement enables you to delete an ASMdisk group and optionally, all of its files. You canspecify the INCLUDING CONTENTS
clause if you want anyfiles that may still be contained in the disk group also to bedeleted. The default is EXCLUDING CONTENTS
, whichprovides syntactic consistency and prevents you from dropping thedisk group if it has any contents
DROPDISKGROUP
statement to succeed. The statement does notreturn until the disk group has been dropped.
ASM_DISKGROUPS
initializationparameter if a server parameter file is being used. If a textinitialization parameter file is being used, and the disk group ismentioned in the ASM_DISKGROUPS
initializationparameter, then you must remember to remove the disk group namefrom the ASM_DISKGROUPS
initialization parameterbefore the next time that you shut down and restart the ASMinstance.
The following statement deletes dgroup1
:
DROP DISKGROUP dgroup1;
dgroup1
are open, ASM rewrites the header of each disk in the disk group toremove ASM formatting information. The statement does notspecify INCLUDING CONTENTS
, so the drop operation willfail if the disk group contains any files.