码迷,mamicode.com
首页 > 其他好文 > 详细

MegaCli使用

时间:2020-05-21 23:42:18      阅读:65      评论:0      收藏:0      [点我收藏+]

标签:cti   大小写   控制器   deb   占用   rod   dap   对应关系   模式   

  • 0.前沿介绍
  • 1. lsscsi -s 查看盘符对应关系
  • 2. 查看物理槽位占用情况
  • 3.查看适配器(控制器)个数
  • 4.查看控制器序号,名称,序列号
  • 5.查看所有逻辑层次磁盘详细信息
  • 6.查看所有物理层次磁盘详细信息
  • 7.查看raid信息(对应到target id,即逻辑磁盘):
  • 8. 查看是raid还是JBOD
  • 9.查看物理磁盘和逻辑磁盘对应关系
  • 10.附录:查询物理和逻辑所有磁盘信息
  • 0.前沿介绍

    • PD:物理的磁盘信息
    • LD:逻辑的磁盘信息
    • MegaCli64 参数对大小写不敏感
    • a:Adapter,适配器,适配器即为阵列卡控制器,以下以‘控制器’简称
    • -LdPdInfo:物理和逻辑的信息

    MegaCli64不是所有的磁盘阵列卡都可以使用,如果不支持,需要使用其他的工具,如storcli/percli等

    1. lsscsi -s 查看盘符对应关系:
    通过lsscsi查看磁盘情况,这里显示的是逻辑层的,比如sda实际上是二块盘组成的raid1.

    The first entry on each line is the scsi_host,channel,target_number,LUN

    [root@node-5 MegaCli]# lsscsi -s
    [0:2:0:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sda    299GB
    [0:2:1:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdb    599GB
    [0:2:2:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdc    599GB
    [0:2:3:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdd    599GB
    [0:2:4:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sde    599GB
    [0:2:5:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdf    599GB
    [0:2:6:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdg    599GB
    [0:2:7:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdh    599GB
    [0:2:8:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdi    599GB
    [0:2:9:0]    disk    DELL     PERC H730P Mini  4.26  /dev/sdj    599GB
    [0:2:10:0]   disk    DELL     PERC H730P Mini  4.26  /dev/sdk    599GB
    [0:2:11:0]   disk    DELL     PERC H730P Mini  4.26  /dev/sdl    599GB
    [0:2:12:0]   disk    DELL     PERC H730P Mini  4.26  /dev/sdm    479GB
    [0:2:13:0]   disk    DELL     PERC H730P Mini  4.26  /dev/sdn    479GB
    [0:2:14:0]   disk    DELL     PERC H730P Mini  4.26  /dev/sdo    479GB
    [root@node-5 MegaCli]# 

    2. 查看物理槽位占用情况:

    [root@node-5 MegaCli]# ./MegaCli64 -PDList -a0 | grep Slot
    Slot Number: 0
    Slot Number: 1
    Slot Number: 2
    Slot Number: 3
    Slot Number: 4
    Slot Number: 5
    Slot Number: 6
    Slot Number: 7
    Slot Number: 8
    Slot Number: 9
    Slot Number: 10
    Slot Number: 11
    Slot Number: 12
    Slot Number: 21
    Slot Number: 22
    Slot Number: 23

    这里可以看到磁盘物理占用的槽位为16个,lsscsi显示共15条,是因为sda是raid1,占用2个槽位。

    3.查看适配器(控制器)个数
    适配器即为阵列卡控制器,以下以‘控制器’简称

    [root@node-5 MegaCli]# ./MegaCli64 -adpCount                 
    Controller Count: 1.
    Exit Code: 0x01

    4.查看控制器序号,名称,序列号

    [root@node-5 MegaCli]# ./MegaCli64 -AdpAllInfo -Aall | grep -E "Adapter|Product Name|Serial"
    Adapter #0
    Product Name    : PERC H730P Mini
    Serial No       : 64F01JN
    Serial Debugger  : Present

    5.查看所有逻辑层次磁盘详细信息
    语法:MegaCli -LDInfo -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL

    这里LD即Target Id;
    [root@node-5 MegaCli]# ./MegaCli64 -LDInfo -L14 -a0
    Adapter 0 -- Virtual Drive Information:
    Virtual Drive: 14 (Target Id: 14)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 446.625 GB
    Sector Size         : 512
    Is VD emulated      : Yes
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: No
    LD has drives that support T10 power conditions: No
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No

    6.查看所有物理层次磁盘详细信息
    语法:MegaCli64 -PDlist -aALL

    [root@node-5 MegaCli]# ./MegaCli64 -PDlist   -aALl                                 
    Adapter #0
    Enclosure Device ID: 32
    Slot Number: 0
    Drive‘s position: DiskGroup: 0, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 0
    WWN: 5000C50096E10F14
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
    Coerced Size: 278.875 GB [0x22dc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: VT31
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c50096e10f15
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: SEAGATE ST300MP0005     VT31S7K11KGK            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :34C (93.20 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 1
    Drive‘s position: DiskGroup: 0, Span: 0, Arm: 1
    Enclosure position: 1
    Device Id: 1
    WWN: 5000C50096E13580
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
    Coerced Size: 278.875 GB [0x22dc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: VT31
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c50096e13581
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: SEAGATE ST300MP0005     VT31S7K11K9J            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :32C (89.60 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Enclosure Device ID: 32
    Slot Number: 2
    Drive‘s position: DiskGroup: 1, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 2
    WWN: 50000396B81B83B0
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81b83b2
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A04RFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :31C (87.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    ...
    ...
    

    7.查看raid信息(对应到target id,即逻辑磁盘):

    //RAID Level对应关系
    RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0   RAID0
    RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0   RAID1
    RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3   RAID5
    RAID Level : Primary-1, Secondary-3, RAID Level Qualifier-0   RAID10
    //Raid卡磁盘缓存模式
    [root@node-5 MegaCli]# ./MegaCli64 -LDGetProp -Cache -LALL -aALL
    
    Adapter 0-VD 0(target id: 0): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 1(target id: 1): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 2(target id: 2): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 3(target id: 3): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 4(target id: 4): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 5(target id: 5): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 6(target id: 6): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 7(target id: 7): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 8(target id: 8): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 9(target id: 9): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 10(target id: 10): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 11(target id: 11): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 12(target id: 12): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 13(target id: 13): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    Adapter 0-VD 14(target id: 14): Cache Policy:WriteBack, ReadAhead, Direct, No Write Cache if bad BBU
    
    Exit Code: 0x00
    
    //Raid卡磁盘raid模式
    [root@node-5 MegaCli]# ./MegaCli64 -ldinfo -LALL -aALL | grep -E "Target Id|RAID Level" 
    Virtual Drive: 0 (Target Id: 0)
    RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 1 (Target Id: 1)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 2 (Target Id: 2)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 3 (Target Id: 3)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 4 (Target Id: 4)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 5 (Target Id: 5)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 6 (Target Id: 6)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 7 (Target Id: 7)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 8 (Target Id: 8)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 9 (Target Id: 9)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 10 (Target Id: 10)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 11 (Target Id: 11)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 12 (Target Id: 12)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 13 (Target Id: 13)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Virtual Drive: 14 (Target Id: 14)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    [root@node-5 MegaCli]# 
    

    8. 查看是raid还是JBOD

    //Firmware state : Online, Spun Up 代表是raid
    //Firmware state : JBOD 代表是JBOD
    [root@node-5 MegaCli]# ./MegaCli64  -PDList -aAll | grep  -E "Raw Size|Firmware state|Slot"
    Slot Number: 0
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 1
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 2
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 3
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 4
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 5
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 6
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 7
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 8
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 9
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 10
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 11
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 12
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 21
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 22
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Firmware state: Online, Spun Up
    Slot Number: 23
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Firmware state: Online, Spun Up
    [root@node-5 MegaCli]# 

    9.查看物理磁盘和逻辑磁盘对应关系
    语法:./MegaCli64 -LdPdInfo -aALL, 该命令是物理和逻辑查询的总和,信息相对比较全;
    查看物理磁盘槽位。结合lsscsi 的target id进行判断。
    这里‘Target Id’应该和lsscsi的[x:x:x:x] 第三个字段对应,这个应该可以确定,但没有证据支撑;另外如果节点有多个阵列卡,那么需要综合判断;

    [root@node-5 MegaCli]# ./MegaCli64 -LdPdInfo -a0 | grep -iE "slot|Virtual Drive|PD|Raw Size|RAID Level"
    Virtual Drive: 0 (Target Id: 0)
    RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 2 // 这里可以看到包括2块磁盘(RAID1)
    PD: 0 Information //磁盘1
    Slot Number: 0
    PD Type: SAS
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    PD: 1 Information //磁盘2
    Slot Number: 1
    PD Type: SAS
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Virtual Drive: 1 (Target Id: 1)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 2
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 2 (Target Id: 2)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 3
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 3 (Target Id: 3)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 4
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 4 (Target Id: 4)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 5
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 5 (Target Id: 5)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 6
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 6 (Target Id: 6)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 7
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 7 (Target Id: 7)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 8
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 8 (Target Id: 8)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 9
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 9 (Target Id: 9)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 10
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 10 (Target Id: 10)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 11
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 11 (Target Id: 11)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 12
    PD Type: SAS
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Virtual Drive: 12 (Target Id: 12)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 21
    PD Type: SATA
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Virtual Drive: 13 (Target Id: 13)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 22
    PD Type: SATA
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Virtual Drive: 14 (Target Id: 14)
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Span: 0 - Number of PDs: 1
    PD: 0 Information
    Slot Number: 23
    PD Type: SATA
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    [root@node-5 MegaCli]# 
    

    10.附录:查询物理和逻辑所有磁盘信息

    [root@node-5 MegaCli]# ./MegaCli64 -LdPdInfo -a0 | grep -iE "slot|Virtual Drive|PD|Raw Size|RAID Level"
    Adapter #0
    
    Number of Virtual Disks: 15
    Virtual Drive: 0 (Target Id: 0)
    Name                :
    RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0
    Size                : 278.875 GB
    Sector Size         : 512
    Is VD emulated      : No
    Mirror Data         : 278.875 GB
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 2
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 2
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 0
    Drive‘s position: DiskGroup: 0, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 0
    WWN: 5000C50096E10F14
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
    Coerced Size: 278.875 GB [0x22dc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: VT31
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c50096e10f15
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: SEAGATE ST300MP0005     VT31S7K11KGK            
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :34C (93.20 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    PD: 1 Information
    Enclosure Device ID: 32
    Slot Number: 1
    Drive‘s position: DiskGroup: 0, Span: 0, Arm: 1
    Enclosure position: 1
    Device Id: 1
    WWN: 5000C50096E13580
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 279.396 GB [0x22ecb25c Sectors]
    Non Coerced Size: 278.896 GB [0x22dcb25c Sectors]
    Coerced Size: 278.875 GB [0x22dc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: VT31
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x5000c50096e13581
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: SEAGATE ST300MP0005     VT31S7K11K9J           
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :32C (89.60 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 1 (Target Id: 1)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 2
    Drive‘s position: DiskGroup: 1, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 2
    WWN: 50000396B81B83B0
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81b83b2
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A04RFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :30C (86.00 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 2 (Target Id: 2)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 3
    Drive‘s position: DiskGroup: 2, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 3
    WWN: 50000396B809270C
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b809270e
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z550A0JTFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :30C (86.00 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 3 (Target Id: 3)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 4
    Drive‘s position: DiskGroup: 3, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 4
    WWN: 50000396B82387B8
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b82387ba
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5E0A0FMFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :30C (86.00 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 4 (Target Id: 4)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 5
    Drive‘s position: DiskGroup: 4, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 5
    WWN: 50000396A831F5DC
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396a831f5de
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Y5X0A0JNFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :31C (87.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 5 (Target Id: 5)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 6
    Drive‘s position: DiskGroup: 5, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 6
    WWN: 50000396B81099DC
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81099de
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z570A0RAFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :31C (87.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 6 (Target Id: 6)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: Yes
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 7
    Drive‘s position: DiskGroup: 6, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 7
    WWN: 50000396B8109BBC
    Sequence Number: 2
    Media Error Count: 1
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b8109bbe
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z570A0STFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :34C (93.20 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 7 (Target Id: 7)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 8
    Drive‘s position: DiskGroup: 7, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 8
    WWN: 50000396B81B83D0
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81b83d2
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A04VFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :36C (96.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 8 (Target Id: 8)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 9
    Drive‘s position: DiskGroup: 8, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 9
    WWN: 50000396B81B83E4
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81b83e6
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A04XFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :32C (89.60 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 9 (Target Id: 9)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 10
    Drive‘s position: DiskGroup: 9, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 10
    WWN: 50000396B82386E8
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b82386ea
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5E0A0FFFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :31C (87.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 10 (Target Id: 10)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 11
    Drive‘s position: DiskGroup: 10, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 11
    WWN: 50000396B81B83E0
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b81b83e2
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A04WFHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :31C (87.80 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 11 (Target Id: 11)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 558.375 GB
    Sector Size         : 512
    Is VD emulated      : No
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: Yes
    LD has drives that support T10 power conditions: Yes
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 12
    Drive‘s position: DiskGroup: 11, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 12
    WWN: 50000396B8205F4C
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SAS
    
    Raw Size: 558.911 GB [0x45dd2fb0 Sectors]
    Non Coerced Size: 558.411 GB [0x45cd2fb0 Sectors]
    Coerced Size: 558.375 GB [0x45cc0000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  512
    Firmware state: Online, Spun Up
    Device Firmware Level: DK04
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x50000396b8205f4e
    SAS Address(1): 0x0
    Connected Port Number: 0(path0) 
    Inquiry Data: TOSHIBA AL13SXB60EN     DK04Z5C0A0E7FHRC        
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 12.0Gb/s 
    Link Speed: 12.0Gb/s 
    Media Type: Hard Disk Device
    Drive Temperature :30C (86.00 F)
    PI Eligibility:  Yes 
    Number of bytes of user data in LBA: 512 
    Drive is formatted for PI information:  Yes 
    PI: PI with type 2
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Port-1 :
    Port status: Active
    Port‘s Linkspeed: 12.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 12 (Target Id: 12)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 446.625 GB
    Sector Size         : 512
    Is VD emulated      : Yes
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: No
    LD has drives that support T10 power conditions: No
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 21
    Drive‘s position: DiskGroup: 12, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 21
    WWN: 55cd2e404c18ebe1
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
    Coerced Size: 446.625 GB [0x37d40000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  4096
    Firmware state: Online, Spun Up
    Device Firmware Level: 0140
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x500056b3dd23cbd5
    Connected Port Number: 0(path0) 
    Inquiry Data: BTHC6022021H480MGN  INTEL SSDSC2BX480G4                     G2010140
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Solid State Device
    Drive:  Not Certified
    Drive Temperature :21C (69.80 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive‘s NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 13 (Target Id: 13)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 446.625 GB
    Sector Size         : 512
    Is VD emulated      : Yes
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: No
    LD has drives that support T10 power conditions: No
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 22
    Drive‘s position: DiskGroup: 13, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 22
    WWN: 55cd2e404c1f3b86
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
    Coerced Size: 446.625 GB [0x37d40000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  4096
    Firmware state: Online, Spun Up
    Device Firmware Level: 0140
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x500056b3dd23cbd6
    Connected Port Number: 0(path0) 
    Inquiry Data: BTHC613401Z5480MGN  INTEL SSDSC2BX480G4                     G2010140
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Solid State Device
    Drive:  Not Certified
    Drive Temperature :21C (69.80 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive‘s NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Virtual Drive: 14 (Target Id: 14)
    Name                :
    RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
    Size                : 446.625 GB
    Sector Size         : 512
    Is VD emulated      : Yes
    Parity Size         : 0
    State               : Optimal
    Strip Size          : 64 KB
    Number Of Drives    : 1
    Span Depth          : 1
    Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
    Default Access Policy: Read/Write
    Current Access Policy: Read/Write
    Disk Cache Policy   : Disk‘s Default
    Encryption Type     : None
    Default Power Savings Policy: Controller Defined
    Current Power Savings Policy: None
    Can spin up in 1 minute: No
    LD has drives that support T10 power conditions: No
    LD‘s IO profile supports MAX power savings with cached writes: No
    Bad Blocks Exist: No
    PI type: No PI
    
    Is VD Cached: No
    Number of Spans: 1
    Span: 0 - Number of PDs: 1
    
    PD: 0 Information
    Enclosure Device ID: 32
    Slot Number: 23
    Drive‘s position: DiskGroup: 14, Span: 0, Arm: 0
    Enclosure position: 1
    Device Id: 23
    WWN: 55cd2e404c18ec02
    Sequence Number: 2
    Media Error Count: 0
    Other Error Count: 0
    Predictive Failure Count: 0
    Last Predictive Failure Event Seq Number: 0
    PD Type: SATA
    
    Raw Size: 447.130 GB [0x37e436b0 Sectors]
    Non Coerced Size: 446.630 GB [0x37d436b0 Sectors]
    Coerced Size: 446.625 GB [0x37d40000 Sectors]
    Sector Size:  512
    Logical Sector Size:  512
    Physical Sector Size:  4096
    Firmware state: Online, Spun Up
    Device Firmware Level: 0140
    Shield Counter: 0
    Successful diagnostics completion on :  N/A
    SAS Address(0): 0x500056b3dd23cbd7
    Connected Port Number: 0(path0) 
    Inquiry Data: BTHC6022022G480MGN  INTEL SSDSC2BX480G4                     G2010140
    FDE Capable: Not Capable
    FDE Enable: Disable
    Secured: Unsecured
    Locked: Unlocked
    Needs EKM Attention: No
    Foreign State: None 
    Device Speed: 6.0Gb/s 
    Link Speed: 6.0Gb/s 
    Media Type: Solid State Device
    Drive:  Not Certified
    Drive Temperature :21C (69.80 F)
    PI Eligibility:  No 
    Drive is formatted for PI information:  No
    PI: No PI
    Drive‘s NCQ setting : N/A
    Port-0 :
    Port status: Active
    Port‘s Linkspeed: 6.0Gb/s 
    Drive has flagged a S.M.A.R.T alert : No
    
    Exit Code: 0x00
    

    MegaCli使用

    标签:cti   大小写   控制器   deb   占用   rod   dap   对应关系   模式   

    原文地址:https://blog.51cto.com/wendashuai/2497281

    (0)
    (0)
       
    举报
    评论 一句话评论(0
    登录后才能评论!
    © 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
    迷上了代码!