查看raid类型

/opt/RAID/MegaCli64 -ShowSummary -a0

System
Operating System: Linux version 2.6.32-220.el6.x86_64
Driver Version: 00.00.05.40-rh2
CLI Version: 8.07.14 Hardware
Controller
ProductName : PERC H310 Mini(Bus 0, Dev 0)
SAS Address : 5c81f660e6c57f00
FW Package Version: 20.12.1-0002
Status : Optimal
Enclosure
Product Id : BP12G+
Type : SES
Status : OK PD
Connector : 00<Internal><Encl Pos 1 >: Slot 0
Vendor Id : SEAGATE
Product Id : ST9300653SS
State : Online
Disk Type : SAS,Hard Disk Device
Capacity : 278.875 GB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 1
Vendor Id : SEAGATE
Product Id : ST9300653SS
State : Online
Disk Type : SAS,Hard Disk Device
Capacity : 278.875 GB
Power State : Active Storage Virtual Drives
Virtual drive : Target Id 0 ,VD name Virtual Disk 0
Size : 278.875 GB
State : Optimal
RAID Level : 1 Exit Code: 0x00

/opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -a0

System
Operating System: Linux version 2.6.32-220.el6.x86_64
Driver Version: 00.00.05.40-rh2
CLI Version: 8.07.14 Hardware
Controller
ProductName : PERC H710 Mini(Bus 0, Dev 0)
SAS Address : 5b82a720d3dafb00
FW Package Version: 21.2.0-0007
Status : Optimal
BBU
BBU Type : BBU
Status : Healthy
Enclosure
Product Id : BP12G+EXP
Type : SES
Status : OK PD
Connector : 00<Internal><Encl Pos 1 >: Slot 0
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 1
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 2
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 3
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 4
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 5
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 6
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 7
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 8
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 9
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 10
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 11
Vendor Id : ATA
Product Id : ST2000VN000-1H31
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 1.818 TB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 12
Vendor Id : SEAGATE
Product Id : ST300MM0006
State : Online
Disk Type : SAS,Hard Disk Device
Capacity : 278.875 GB
Power State : Active Connector : 00<Internal><Encl Pos 1 >: Slot 13
Vendor Id : SEAGATE
Product Id : ST300MM0006
State : Online
Disk Type : SAS,Hard Disk Device
Capacity : 278.875 GB
Power State : Active Connector : 00<Internal>: Slot 0
Vendor Id : DP
Product Id : SAS2 EXP BP
State : Unconfigured Good
Disk Type : Unknown,Hard Disk Device
Capacity : 0 KB
Power State : Active Storage Virtual Drives
Virtual drive : Target Id 0 ,VD name Virtual Disk 0
Size : 278.875 GB
State : Optimal
RAID Level : 1 Virtual drive : Target Id 1 ,VD name Virtual Disk 1
Size : 10.913 TB
State : Optimal
RAID Level : 10 Exit Code: 0x00

/opt/RAID/MegaCli64 -LDInfo -LAll -aAll | egrep '(Name|RAID Level|Number Of Drives|Span Depth)'

# raid0
Name : Virtual Disk 1
RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0
Number Of Drives : 2
Span Depth : 1 # raid1
Name : Virtual Disk 1
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Number Of Drives : 2
Span Depth : 1 # raid10
Name : Virtual Disk 1
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Number Of Drives per span:2
Span Depth : 6 # raid5
Name : Virtual Disk 1
RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3
Number Of Drives : 6
Span Depth : 1 # raid6
Name : Virtual Disk 1
RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3
Number Of Drives : 11
Span Depth : 1

参考

Common RAID Disk Data Format Specification

megacli使用的更多相关文章

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

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

  2. 使用MegaCli和Smartctl获取普通磁盘

    设备名称: [root@DB232 shell]# cat /proc/scsi/scsi Attached devices:Host: scsi0 Channel: 02 Id: 00 Lun: 0 ...

  3. Megacli查看raid磁盘信息

    准备: 新版本的 MegaCli-1.01.24-0.i386.rpm (下载地址:http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Fi ...

  4. 浪潮MegaCli

    再总结: 一般,清RAID再做RAID,安装完毕后: ./MegaCli64 -PDList -aALL | egrep 'Slot|Enclosure Device'                 ...

  5. MegaCli监控RAID磁盘健康信息

    首先有必要先介绍一下有关RAID卡的使用,有关Cache问题也有个人理解:生产系统上的物理机磁盘配置大多都是RAID5,之前会经常性的遇到磁盘IO在某个时间极度的跟不上节奏,稍微写入量,磁盘utils ...

  6. Dell服务器MegaCli命令只返回Exit Code: 0x00问题分析

    今天同事给我说一台dell的服务器做了raid后,使用MegaCli看不到raid信息,上去看了一下确实不返回任何raid信息,但是确实机器上做了raid. 这就奇怪了,然后把MegaCli升级到最新 ...

  7. MegaCLI SAS RAID Management Tool

    MegaCLI SAS RAID Management Tool  Ver 8.04.08 July 05, 2012    (c)Copyright 2011, LSI Corporation, A ...

  8. LSI MegaCli 命令使用4

    Dell服务器常用管理命令总结准备新版本的 MegaCli-1.01.24-0.i386.rpm 会把程序安装在/opt下,可以自定义安装目录,例如:rpm --relocate /opt/=/usr ...

  9. LSI MegaCli 命令使用2

    #/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL 查raid级别#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAll ...

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

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

随机推荐

  1. Qt 学习之路 2(23):自定义事件

    Qt 学习之路 2(23):自定义事件  豆子  2012年10月23日  Qt 学习之路 2  21条评论 尽管 Qt 已经提供了很多事件,但对于更加千变万化的需求来说,有限的事件都是不够的.例如, ...

  2. mysql 字段类型VARCHAR转换成DECIMAL

    在我们写代码的实际业务中,有时候实体类用的是String,数据库中自然是VARCHAR类型,但是如果这个实体的属性值放的是数字类型,你查询的时候又需要对它进行排序.sql怎么写呢. 别担心mysql提 ...

  3. HashMap的容量大小增长原理(JDK1.6/1.7/1.8)

    . 前言 HashMap的容量大小会根据其存储数据的数量多少而自动扩充,即当HashMap存储数据的数量到达一个阈值(threshold)时,再往里面增加数据,便可能会扩充HashMap的容量. 可能 ...

  4. Solr学习笔记(1) —— Solr概述&Solr的安装

    一.概述 使用Solr实现电商网站中商品信息搜索功能,可以根据关键字.分类.价格搜索商品信息,也可以根据价格进行排序. 1.1 实现方法 在一些大型门户网站.电子商务网站等都需要站内搜索功能,使用传统 ...

  5. sublime中正则替换

    匹配 <header></header>  ,  “.” 是匹配任意 非 换行 符号 而  \s\S 匹配任何符号 匹配div class为navbar 的 div <d ...

  6. java 学习原生jdbc

    public class App { public static void main( String[] args ) { //JDBC驱动 String driverName = "com ...

  7. day22 正则表达式 re

    1. 正则表达式 正则表达式是对字符串操作的一种逻辑公式. 我们一般使用正则表达式对字符串进行匹配和过滤. 工具: 各大文本编辑器⼀般都有正则匹配功能. 我们也可以去http://tool.china ...

  8. linux C判断文件是否存在

    access函数 功能描述: 检查调用进程是否可以对指定的文件执行某种操作.   用法: #include <unistd.h> #include <fcntl.h> int ...

  9. 在windows上安装common lisp开发环境

    (2014.1写于CSDN的文章) 最近对lisp非常感兴趣,因此在google中搜索了“common lisp install windows”, 想装一个开发环境玩玩. 第一条结果就是 “Gett ...

  10. (转)shell中test命令方法详解

    test命令用法.功能:检查文件和比较值 shell中test命令方法详解 原文:https://www.cnblogs.com/guanyf/p/7553940.html 1)判断表达式 if te ...