[Linux]-[system] H/W RAID構成確認

  • 投稿日:
  • by
  • カテゴリ:

LSI Logic MegaIDE RAID(IBM Blade server)の場合

☆構成
# cat /proc/megaide/0/config
Driver Version : 5.6.97
Firmware Revision : 2.7.6301518
IRCD Version : 2.7
Primary Base Address : 730H Primary Control Address : 724H
Secondary Base Address : 728H Secondary Control Address : 720H
BusMaster Base Address : 710H IRQ : 11
PCI VendorId : 1166H PCI DeviceId : 213H
PCI SubSytem VendorId : 1014H PCI SubSytem DeviceId : 213H
PCI Bus Number : 0 PCI Device Number : 15
PCI Function : 1
# Logical Drives : 1 # Physical Drives : 2

Driver Options:
Polling Interval : 0 Error Threshold : 0
Fail Drive : 0 Auto Rebuild : 0
Check Array : 0 Stop Rebuild : 0
Identical : 1 Rebuild Rate : 100
から、論理ドライブ1が物理ドライブ2つで構成されていることが確認できます。


☆正常時
# cat /proc/megaide/0/status
No Of Pending SCB's in Controller : 1
No Of Pending Commands in Controller : 2

Logical Drive Information
Status : ONLINE Logical Drive No: 0

Physical Drive Information
   ------ PRIMARY ------ ----- SECONDARY -----
      MASTER    SLAVE     MASTER   SLAVE
STATUS :    ONLINE    OFFLINE    ONLINE   OFFLINE
No Of Errors :       0   0     0    0
No Of Pending Commands :  0   0     0    0


☆異常(故障)時
# cat /proc/megaide/0/status
No Of Pending SCB's in Controller : 0
No Of Pending Commands in Controller : 0

Logical Drive Information
Status : DEGRADED Logical Drive No: 0

Physical Drive Information
------ PRIMARY ------ ----- SECONDARY -----
MASTER SLAVE MASTER SLAVE
STATUS : ONLINE OFFLINE REBUILDING OFFLINE
No Of Errors : 0 0 0 0
No Of Pending Commands : 0 0 0 0


☆RAID再構築

# cat /proc/megaide/0/status
No Of Pending SCB's in Controller : 0
No Of Pending Commands in Controller : 0

Logical Drive Information
Status : REBUILDING Logical Drive No: 0

Physical Drive Information
------ PRIMARY ------ ----- SECONDARY -----
MASTER SLAVE MASTER SLAVE
STATUS : ONLINE OFFLINE REBUILDING OFFLINE
No Of Errors : 0 0 0 0
No Of Pending Commands : 0 0 0 0