一、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. HDU2874 LCA Tarjan

    不知道为什么_add2不能只用单方向呢...........调试了好多次,待我解决这个狗血问题 #include <iostream> #include <vector> #i ...

  2. There is no getter for property named xxx' in 'class java.lang.xxx'

    在xxxMapper.xml我们使用sql片段来提高sql代码的复用性,当时新手传入参数时常常出现这样的错误: There is no getter for property named xxx' i ...

  3. webpack 的使用1

    进入指定文件夹  npm init 安装 npm install webapck --save-dev 根目录下新建hello.js 将文件打包到指定文件  Asset :打包成的文件名称 Chunk ...

  4. Druid连接池

    Druid 连接池简介 Druid首先是一个数据库连接池.Druid是目前最好的数据库连接池,在功能.性能.扩展性方面,都超过其他数据库连接池,包括DBCP.C3P0.BoneCP.Proxool.J ...

  5. Windows-universal-samples-master示例 XamlCommanding

    Windows-universal-samples-master XamlCommanding 运行默认如果是 ARM会出现没有引用System,只要在调试选择CPU为PC的就好 默认 选择PC平台 ...

  6. go基础编程 day-1

    Go语言的特性 开启了学习新的语言路程,记录每天学习的笔记,与大家一起分享. ①.自动垃圾回收 ②.更丰富的内置类型 ③.函数多返回值 ④.错误处理 ⑤.匿名函数和闭包 ⑥.类型和接口 ⑦.并发编程 ...

  7. 自学jQueryMobile之简单创建页面

    首先简答介绍一下JQueryMobile吧,我觉得用一句话来讲就是可以 "写更少的代码,做更多的事情" : 它可以通过一个灵活及简单的方式来布局网页,且兼容所有移动设备.这也是我自 ...

  8. Linux入门(4)——Ubuntu16.04安装MATLAB2016b

    通常有三个安装文件: Matlab 2016b Linux64 Crack.rar R2016b_glnxa64_dvd1.iso R2016b_glnxa64_dvd2.iso sudo apt i ...

  9. 将摄像头的读入的人像放入背景视频中_with_OpenCV_in_Python

    import cv2 import numpy as np import time cap = cv2.VideoCapture(0) background_capture = cv2.VideoCa ...

  10. 【转】CPU与内存的那些事

    下面是网上看到的一些关于内存和CPU方面的一些很不错的文章. 整理如下: 转: CPU的等待有多久? 原文标题:What Your Computer Does While You Wait 原文地址: ...