2.2.11 Setting the Oracle ASM Disk Repair Timer
The Oracle ASM disk repair timer represents the amount of time a disk can remain offline before it is dropped by Oracle ASM. While the disk is offline, Oracle ASM tracks the changed extents so the disk can be resynchronized when it comes back online.
The duration of the disk repair timer is controlled by the disk_repair_time attribute associated with each Oracle ASM disk group. In most situations, the default value is recommended. However, the default disk_repair_time setting depends on your Oracle ASM version. For specific details, refer to the Oracle Automatic Storage Management Administrator's Guide.
You can check the disk_repair_time value for each disk group by logging into Oracle ASM and running the following query:
SQL> SELECT dg.name,a.value FROM v$asm_attribute a, v$asm_diskgroup dg
WHERE a.name = 'disk_repair_time' AND a.group_number = dg.group_number;
If required, you can adjust the disk_repair_time value by using the ALTER DISKGROUP command. For example, the following command sets the DISK_REPAIR_TIME attribute to 14 hours for the DATA disk group:
SQL> ALTER DISKGROUP data SET ATTRIBUTE 'disk_repair_time' = '14h'The disk_repair_time attribute does not change the repair timer for disks currently offline. The repair timer for those offline disks is either the default repair timer or the repair timer specified on the command line when the disks were manually set to offline. To change the repair timer for currently offline disks, use the OFFLINE command and specify a repair timer value. The following command is an example of changing the disk repair timer value for disks that are offline:
SQL> ALTER DISKGROUP data OFFLINE DISK data_CD_06_cell11 DROP AFTER 20h;Note:
Vulnerability to a double failure increases in line with increases to the disk repair time value.
Related Topics
Parent topic: Administering Oracle ASM on Exadata