一、DELL&IBM
MegaCli -AdpAllInfo -aALL —看配置项

#检查raid级别
MegaCli -LDInfo -Lall -aALL | grep 'RAID Level:'
RAID Level: Primary-1, Secondary-0, RAID Level Qualifier-0

#检查raid缓存容量
MegaCli -cfgdsply -aALL | grep 'Memory:'
Memory: 512MB

#检查Cache策略
MegaCli -LDInfo -Lall -aALL | grep 'Current Cache Policy:'
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU

#检查电池状态
MegaCli -AdpBbuCmd -aAll|grep 'isSOHGood:'
isSOHGood: Yes

MegaCli -AdpBbuCmd -aAll

#检查磁盘状态
MegaCli -PDList -aALL | grep 'Firmware state:'
Firmware state: Online

#检查磁盘是否是SSD

MegaCli -PDList -aALL |grep -i ssd

MegaCli -pdlist -aall | grep rror

MegaCli -fwtermlog dsply -aall —查看raid卡日志

#查看磁盘缓存
MegaCli -LDSetProp -EnDskCache -lall -a0 —开启磁盘缓存

MegaCli -LDSetProp -DisDskCache -lall -a0 —关闭命令

MegaCli -LDinfo -lall -a0 —查看
Default Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Access Policy: Read/Write
Disk Cache Policy: Enabled —开启

Disk Cache Policy: Disabled —关闭

Disk Cache Policy: Disk's Default —默认设置,与厂家有关系,不确定是开启还是关闭

#查看巡读
MegaCli -AdpPR -Info -aALL

Adapter 0: Patrol Read Information:

Patrol Read Mode: Disabled ——被关闭了,默认就是被关闭的,百度的
Patrol Read Execution Delay: 168 hours
Number of iterations completed: 0
Current State: Stopped

Exit Code: 0x00

# 查看是充放电策略

MegaCli -AdpBbuCmd -GetBbuProperties -a0

BBU Properties for Adapter: 0

Auto Learn Period: 2592000 Sec
Next Learn time: 388447520 Sec
Learn Delay Interval:0 Hours
Auto-Learn Mode: Enabled ——开启

查看微码:
# MegaCli -adpallinfo -a0 | head -10

二、HP
#检查raid级别
hpacucli ctrl all show config detail |grep 'Fault Tolerance:'
Fault Tolerance: RAID 1
Fault Tolerance: RAID 1+0

#检查电池、磁盘状态
[root@yf-dba-mld-cal00.yf01.baidu.com ~]# hpacucli ctrl all show config detail |grep 'Status'

Controller Status: OK #raid卡控制器状态
Cache Status: OK #cache状态
Battery Status: OK #电池状态
Status: OK #阵列状态
Status: OK #磁盘状态
Status: OK
Status: OK
Status: OK #阵列状态
Status: OK #磁盘状态
Status: OK
Status: OK
Status: OK
Status: OK
Status: OK
Status: OK

hpacucli ctrl slot=1 show status —查看raid卡信息

#raid卡缓存容量
hpacucli ctrl all show config detail |grep 'Total Cache Size'
Total Cache Size: 512 MB

#raid卡读写策略
hpacucli ctrl all show config detail|grep 'Accelerator Ratio'
Accelerator Ratio: 50% Read / 50% Write

raid卡MegaCli工具使用说明的更多相关文章

  1. RAID卡的结构详解

    软件RAID的缺点如此之多,使人们不断地思考更多实现RAID的方法.既然软件缺点太多,那么用硬件实现如何呢? RAID卡就是一种利用独立硬件来实现RAID功能的方法.要在硬件上实现RAID功能,必须找 ...

  2. Linux中使用MegaCli工具查看、管理Raid卡信息

    MegaCli是一款管理维护硬件RAID软件,可以通过它来了解当前raid卡的所有信息,包括 raid卡的型号,raid的阵列类型,raid 上各磁盘状态,等等.通常,我们对硬盘当前的状态不太好确定, ...

  3. 使用MegaCli工具查看Raid磁盘阵列状态

    转载自:http://home.51.com/chenjianghui1987/diary/item/10051836.html 文章本身我不做过多修改了,在这里我就把自己在安装时候碰到的难点跟大家提 ...

  4. 使用MegaCli工具,在线调整raid配置

    公司hadoop平台采购了一批浪潮服务器,2个系统盘,12个数据盘.先想的用直通的raid卡免得再做单盘raid0麻烦,结果这批机器配的卡也不支持裸盘使用,咨询浪潮客服,说可以使用JBOD的模式进行, ...

  5. MegaCli是一款管理维护硬件RAID软件,可以通过它来了解当前raid卡的所有信息,包括 raid卡的型号,raid的阵列类型,raid 上各磁盘状态

    MegaCli 监控raid状态 转载weixin_30344131 最后发布于2015-10-16 13:05:00 阅读数    简介 MegaCli是一款管理维护硬件RAID软件,可以通过它来了 ...

  6. DELL磁盘阵列控制卡(RAID卡)MegaCli常用管理命令汇总

    新版本的 MegaCli-1.01.24-0.i386.rpm (下载地址:http://www.lsi.com/downloads/Public/MegaRAID Common Files/8.02 ...

  7. Dell服务器Raid卡电池策略调整

    DELL服务器的Riad卡都有可充电池的特性,这块可充电电池,在不使用时,也会有微弱的放电现象,当它的电量放电到低到一定程度时,Raid卡控制器就会对电池进行一次“放电”,将剩余的电量放掉,然后再进行 ...

  8. 【转】MegaSAS RAID卡 BBU Learn Cycle周期的影响

    http://ju.outofmemory.cn/entry/140 背景 最近遇到有些带MegaSAS RAID卡的服务器,在业务高峰时突然IO负载飚升得很高,IO性能急剧下降,查了日志及各种设置最 ...

  9. windows server 2008 集成raid卡驱动

    给服务器安装2008系统,一般都需要通过引导盘和操作系统盘来进行安装,安装过程比较繁琐时间也比较长,于是就想做一个集成了服务器驱动的2008系统盘,这样就可以直接用光盘安装,简单方便,第一步需要解决的 ...

随机推荐

  1. Vue的条件渲染

    <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" ...

  2. Entity Framework 之Code First自动数据迁移

    using MvcShopping.Migrations; using MvcShopping.Models; using System; using System.Collections.Gener ...

  3. Interface request structure used for socket ioctl's

    1. 结构体定义 /* * Interface request structure used for socket * ioctl's. All interface ioctl's must have ...

  4. wpf 制作必输项的*标记

    直接引用帮助文档上的话吧,以免下次忘记! AdornedElementPlaceholder 类 .NET Framework 3.5   其他版本   此主题尚未评级 - 评价此主题   更新:20 ...

  5. WPF 中模拟键盘和鼠标操作

    转载:http://www.cnblogs.com/sixty/archive/2009/08/09/1542210.html 更多经典文章:http://www.qqpjzb.cn/65015.ht ...

  6. vb6.0的各种SHELL,CMD内部命令、外部命令、SHELL任意文件

    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (B ...

  7. Mysql数据库导出数据字典文档Word或者HTML的3个工具

    最近需要将Mysql的数据库导出一份Word的文档出来,本文记录调研后几个可用的工具和方法: 阿里云DMS工具导出 适用于存储在阿里云RDS服务中的Mysql数据库 导出格式支持:Word.Excel ...

  8. python基于万象优图识别图片中的中文

    最近一直在研究光学字符识别,即OCR.最开始在谷爹那里了解到了开源的Tesseract,可以拿来识别简单的英文和数字.但是识别中文的准确率并不高. 然后从Tesseract到Tesseract.js, ...

  9. win10 UWP 圆形等待

    看到一个圆形好像微软ProgressRing 我们可以用自定义控件 按ctrl+shift+a 用户控件 我们可以用Rectangle做圆形边 只要Rectangle RadiusX>0圆角 因 ...

  10. faster-rcnn中ROI_POOIING层的解读

    在没有出现sppnet之前,RCNN使用corp和warp来对图片进行大小调整,这种操作会造成图片信息失真和信息丢失.sppnet这个模型推出来之后(关于这个网络的描述,可以看看之前写的一篇理解:ht ...