1、为什么要引入"Hard Disk Scrub and Repair"特性

在exadata的11.2.3.3.0版本中,开始引进了"Automatic Hard Disk Scrub and Repair"特性,主要是为了解决日立硬盘的"oil migration"问题,"oil migration"问题有可能会引发IO错误。

一般而言,刚开始只有一些坏的扇区,但随着时间推移,很可能会出现更多的坏扇区。

 

2、Fixed Scrubbing Schedule的不足

默认情况下,"Hard Disk Scrub and Repair"每两周执行一次。然而,当一块磁盘刚开始有坏扇区出现,则在后续的一段时间内很可能会出现更多的坏扇区,所以当"Hard Disk Scrub and Repair"时发现了某块磁盘有坏扇区,则应该加大"Scrub and Repair"的频率,默认的2周一次就不能满足要求了。

如下图:在第一次"Fixed Scrubbing Schedule"时,发现HDD10这块磁盘有11个坏块,并修复了这11个坏块。但实际上在week1,立刻又出现了40个坏块,在week2再次进行"Fixed Scrubbing Schedule"时,实际上已经有75个坏块。

 

3、什么是Adaptive Scrubbing Schedule

从exadata的12.1.2.3.0开始, 如果在当前的Scrubbing工作中发现了某块磁盘有坏块,则存储软件会自动地单独为这块磁盘制定一个Scrubbing Schedule(默认:一周一次),在后续的Scrubbing工作中,如果这块磁盘没有再发现坏块,则自动地单独为这块磁盘制定一个Scrubbing Schedule会中止,Scrubbing工作恢复为Fixed Scrubbing Schedule。

如下图:在第一次"Fixed Scrubbing Schedule"时,发现HDD10这块磁盘有11个坏块,并修复了这11个坏块。但在week0 和week1这段时间又产生了30个坏块,而week1时新的Adaptive Scrubbing修复了这30个坏块,在week1 和week2这段时间没有产生新的坏块,而week2时"Fixed Scrubbing Schedule"再次工作,未发现任何坏块,所以Adaptive Scrubbing消失,week3没有任何Scrubbing工作,直到week4时,"Fixed Scrubbing Schedule"再次工作。

 

4、关于Adaptive Scrubbing Schedule

  • If current scrubbing job finds some bad blocks on one CD, follow-up scrubbing will kick-off after one week
  • Follow-up scrubbing job will only scrub CDs with bad blocks found in previous scrubbing job
  • Always honor normal scrubbing schedule
  • Default follow-up interval is weekly
  • If follow-up interval is larger than normal interval, follow-up scrubbing schedule will be ignored(e.g. normal interval is daily, follow-up interval is weekly)

 

5、修改Adaptive Scrubbing Schedule的follow-up interval

By default, the follow-up interval is weekly.

 

- Set follow-up interval as 3 days:

CellCLI –e alter cell hardDiskScrubFollowupIntervalInDays=3

- Disable follow-up schedule:

CellCLI –e alter cell hardDiskScrubFollowupIntervalInDays=0

 

Exadata Adaptive Scrubbing Schedule的更多相关文章

  1. Adaptive partitioning scheduler for multiprocessing system

    A symmetric multiprocessing system includes multiple processing units and corresponding instances of ...

  2. 移动端web自适应解决方案: adaptive.js

    代码有更新,最好直接查看github github:https://github.com/finance-sh/adaptive adaptivejs利用rem解决移动端页面开发的自适应问题 页面模板 ...

  3. [LeetCode] Course Schedule II 课程清单之二

    There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prer ...

  4. [LeetCode] Course Schedule 课程清单

    There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prer ...

  5. 【Win 10应用开发】Adaptive磁贴模板的XML文档结构

    在若干天之前,老周给大家讲了Adaptive Toast通知的XML模板,所以相应地,今天老周给大家介绍一下Adaptive磁贴的新XML模板. 同样道理,你依旧可以使用8.1时候的磁贴模板,在win ...

  6. [MySQL] Buffer Pool Adaptive Flush

    Buffer Pool Adaptive Flush 在MySQL的帮助文档中Tuning InnoDB Buffer Pool Flushing提到, innodb_adaptive_flushin ...

  7. 理解 OpenStack + Ceph (9): Ceph 的size/min_size/choose/chooseleaf/scrubbing/repair 等概念

    本系列文章会深入研究 Ceph 以及 Ceph 和 OpenStack 的集成: (1)安装和部署 (2)Ceph RBD 接口和工具 (3)Ceph 物理和逻辑结构 (4)Ceph 的基础数据结构 ...

  8. POJ 1325 Machine Schedule——S.B.S.

    Machine Schedule Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 13731   Accepted: 5873 ...

  9. Spring Schedule 任务调度实现

    我们都知道任务调度可以用Quartz,但对于简单的定时任务,可以直接用Spring内置的Schedule来实现.可以由两种方式,注释+XML配置 注解方式: 注解也要先在sping.xml配置文件中配 ...

随机推荐

  1. bzoj3569 DZY Loves Chinese II & bzoj3237 [AHOI2013] 连通图

    给一个无向连通图,多次询问,每次询问给 k 条边,问删除这 k 条边后图的连通性,对于 bzoj3237 可以离线,对于 bzoj3569 强制在线 $n,m,q \leq 500000,k \leq ...

  2. bzoj 4103: 异或运算 可持久化Trie

    题目大意: 给定长度为n的数列X={x1,x2,...,xn}和长度为m的数列Y={y1,y2,...,ym},令矩阵A中第i行第j列的值\(A_{ij} = x_i \text{ xor } y_j ...

  3. 【LeetCode】085. Maximal Rectangle

    题目: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's ...

  4. 汇编题目:在屏幕中间显示a-z的所有字母,按ESC键改变字符颜色

    在屏幕中显示a-z字母,按ESC键改变字符颜色. ;程序功能:在屏幕中间同一点显示a-z的所有字符 ; 1.使用cpu循环空运行实现延迟 ; 2.按ESC键改变正在循环显示的字符的颜色 ; 3.程序完 ...

  5. BZOJ1657:[USACO2006MAR]Mooo

    浅谈栈:https://www.cnblogs.com/AKMer/p/10278222.html 题目传送门:https://lydsy.com/JudgeOnline/problem.php?id ...

  6. C++STL 库中set容器应用

    #include<iostream> #include<cstdio> #include<set> using namespace std; set<int& ...

  7. Python:生成器函数

    生成器函数:包含yield语句的函数: 生成器对象:生成器对象和迭代器对象行为相似,都支持可迭代接口:__next__(),若想执行生成器函数内部语句,则需要迭代协议’ A.生成器函数被调用时,并不会 ...

  8. python 基础 字典 增删改查

    content = {"name":"wd","pc":{"phone":111111,"age": ...

  9. 菜鸟攻城狮3(Holle World)

    1.创建一个HolleWorld.java文本文件 2.代码:public class HolleWorld { public static void main(String[] args) { Sy ...

  10. ResultSetMetaData和ResultSet

    我现在有一张表t_product;我们查询所有的商品:SELECT * FROM t_product; 上述所有的数据都可以封装成一个对象,我们称这个查询出来的对象为结果集对象:ResultSet. ...