The disk_repair_time
attribute, as seen in your output, is set to 12.0 hours for the DATA01
disk group. This value defines how long Oracle ASM waits for a disk to be brought back online after being taken offline. If the disk is not repaired and brought online within this time frame, ASM automatically drops the disk from the disk group.
Here’s what this output tells us:
Attribute Name:
disk_repair_time
- Represents the grace period allowed for repairing a failed disk.
Value:
12.0h
- Indicates that the disk has 12 hours to be repaired and reintroduced into the disk group.
READ_ON:
- The "N" under this column indicates that the
disk_repair_time
attribute is not readable by ASM instances other than the current one.
Explanation:
When a disk is marked offline, ASM starts the timer for the period defined by disk_repair_time
. During this time:
- The disk remains part of the disk group.
- ASM does not rebalance data, as it assumes the disk will come back online.
- If the disk does not come back within the defined time, it is permanently dropped from the disk group.
How to Modify disk_repair_time
:
If you need to change this value for a specific disk group, use the following SQL command:
This sets the disk_repair_time
to 24 hours for the DATA01
disk group.
Verification Command:
To verify the current disk_repair_time
:
This query will return the current disk_repair_time
setting for all disk groups.
No comments:
Post a Comment