Disk scrubbing exists on Exadata cell nodes to automatically repair the failed sector of the disk when the system is idle without compromising system performance. It tries to repair bad sectors on the disk by working periodically when the disks are idle. If the bad sector rate on the disk has increased, you can shorten the disk scrubbing interval.
You can find information about disk scrubbing activity with the help of the following commands.
Is Disk Scrub Activity Enabled on the Exadata Cell Node?
1 2 |
CellCLI> list cell attributes name,hardDiskScrubInterval exa1celadm01 biweekly |
Has the Disk Scrub started on the Exadata Cell node?
If the information in the $CELLTRACE/alert.log file on Cellnode is as follows, the process has started and completed.
The cell alert log file will contain the following statements.
=> When Scrubbing starts
1 |
Begin scrubbing CellDisk:CD_05_exa1celadm01. |
=> When Scrubbing is finished
1 |
Finished scrubbing CellDisk:CD_05_exa1celadm01, scrubbed blocks (1MB):1906336, found bad blocks:0 |
Check Disk Scrub Schedule
1 2 |
CellCLI> list cell attributes name,hardDiskScrubInterval exa1celadm01 biweekly |
Change Disk Scrub Schedule
Daily:
1 2 |
CellCLI> alter cell hardDiskScrubInterval=daily Cell exa1celadm01 successfully altered |
Weekly:
1 2 |
CellCLI> alter cell hardDiskScrubInterval=weekly Cell exa1celadm01 successfully altered |
Biweekly:
1 2 |
CellCLI> alter cell hardDiskScrubInterval=biweekly Cell exa1celadm01 successfully altered |
Disable Disk Scrub
1 2 |
CellCLI> alter cell hardDiskScrubInterval=none Cell exa1celadm01 successfully altered |
Start Disk Scrub process at a specific date and time
1 2 |
CellCLI> alter cell hardDiskScrubStartTime='2018-12-12T21:30:22+03:00' Cell exa1celadm01 successfully altered |