在PERC管理的RAID上运行一致性检查

本文介绍了如何在PERC管理的RAID上手动触发一致性检查,包括Patrol read和Consistency check。提供了相关的MegaCLI命令来设置检查计划、查看状态和修改配置,帮助用户维护RAID阵列的健康。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

参考戴尔官方论坛:https://www.dell.com/community/Systems-Management/Run-a-Consistency-Check-on-a-PERC-managed-RAID-without-OMSA/m-p/4767003
一、方法一

在bios设置里可以设置开启一致性主动检查

RAID卡有两种一致性检查方式

  1. Patrol read
  2. consistency check

[root@kvm_100_67_159_143 ~]# /opt/MegaRAID/MegaCli/MegaCli64 -AdpCcSched -Info -aALL                                 

Adapter #0

Operation Mode: Concurrent

Execution Delay: 168

Next start time: 03/10/2018, 03:00:00

Current State: Stopped

Number of iterations: 94

Number of VD completed: 0

Excluded VDs          : None

Exit Code: 0x00

 

周期是7天 168小时的间隔,24*7=168

 

一致性检查可以主动触发发现,错误可以手动触发或者发起。例如定时发起检查。

/opt/MegaRAID/MegaCli/MegaCli64 -AdpSetTime `date +%Y%m%d` `date +%H:%M:%S` -aALL -NoLog

[root@kvm_100_91_167_90 ~]# /opt/MegaRAID/MegaCli/MegaCli64  -AdpGetTime -aALL

Adapter 0:

   Date: 03/13/2018

    Time: 11:23:51

Exit Code: 0x00                               

手动触发Patrol read 检查

SSD的机器可能不支持

/opt/MegaRAID/MegaCli/MegaCli64 -AdpPR -Start -aALL

/opt/MegaRAID/MegaCli/MegaCli64 -fwtermlog -dsply -aall

 

Patrol read

Tries to discover disk error before it is too late and data is lost.
(including hot spare connected to a controller.)

This process causes the drives to read the data by issuing "read-verify" commands. By using the "read-verify " command, the data from the drives is not transferred to the MegaRAID adapter unless an error is detected and reported by one or more drives included in the stripe.

If a single drive reports an error within the stripe, the read patrol function initiates read commands to all the other stripe unit drives and the data for this single failing stripe unit is recreated by the MegaRAID adapter from the remaining data and parity stripe units.

After recreating this data, the adapter then issues a write-verify command to the drive

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值