YUMSERV
Published 2019. 5. 17. 20:25
MegaCLI 기본 명령어 RAID
반응형

1. 물리적 디스크 정보 확인

# MegaCli -pdlist -aAll

Adapter #0

Enclosure Device ID: 252
Slot Number: 0
Enclosure position: N/A
Device Id: 3
WWN: 5000cca346c7f8d2
Sequence Number: 25
Media Error Count: 0 // 숫자가 1이상이면 디스크의 문제 발생
Other Error Count: 0 // 숫자가 1이상이면 디스크의 문제 발생
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 298.090 GB [0x2542eab0 Sectors]
Non Coerced Size: 297.590 GB [0x2532eab0 Sectors]
Coerced Size: 297.091 GB [0x2522f000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Unconfigured(good), Spun down // 현재 레이드 디스크 상태
Device Firmware Level: A31B
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221103000000
Connected Port Number: 2(path0)
Inquiry Data: STF204ML0KJN7PHitachi HDT721032SLA360 ST2OA31B
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 3.0Gb/s
Link Speed: 3.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :34C (93.20 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: 3.0Gb/s
Drive has flagged a S.M.A.R.T alert : No
… 생략 …

 

 

2. 논리적 디스크 정보 확인

# MegaCli -LDInfo -Lall -aAll
Adapter 0 — Virtual Drive Information:
Adapter 0: No Virtual Drive Configured. // 이런 경우 현재 레이드가 잡혀있지 않은 상태
Exit Code: 0x00

# MegaCli -LDInfo -Lall -aAll
Adapter 0 — Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0 // 현재 레이드 구성 확인
Size : 1.160 TB
Sector Size : 512
Is VD emulated : No
Mirror Data : 1.160 TB
State : Optimal
Strip Size : 64 KB
Number Of Drives : 8 // 8개의 디스크가 논리적으로 1개의 디스크로 묶여있음을 나타내는 부분
Span Depth : 1
Default Cache Policy: WriteBack, ReadAheadNone, Cached, No Write Cache if Bad BBU
Current Cache Policy: WriteThrough, ReadAheadNone, Cached, 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
Is VD Cached: No

 

3. 어뎁터 정보 확인

# MegaCli -adpallinfo -aAll
Adapter #0
==============================================================================
Versions
================
Product Name : LSI MegaRAID SAS 9261-8i
Serial No :
FW Package Build: 12.14.0-0167
… 생략 …

 

 

4. 간단 요약 정보 확인

# MegaCli -ShowSummary -aAll
System
Operating System: Linux version 3.10.0-693.el7.x86_64
Driver Version: 07.701.17.00-rh1
CLI Version: 8.07.14
Hardware
Controller
ProductName : LSI MegaRAID SAS 9261-8i(Bus 0, Dev 0)
SAS Address : 500605b00516d6ed
FW Package Version: 12.14.0-0167
Status : Optimal
Enclosure
Product Id : SGPIO
Type : SGPIO
Status : OK
PD
Connector : Port 0 – 3: Slot 3
Vendor Id : ATA
Product Id : ST3320418AS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 0 – 3: Slot 1
Vendor Id : ATA
Product Id : ST3320418AS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 0 – 3: Slot 2
Vendor Id : ATA
Product Id : Hitachi HDS72103
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 0 – 3: Slot 0
Vendor Id : ATA
Product Id : Hitachi HDT72103
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 4 – 7: Slot 6
Vendor Id : ATA
Product Id : ST3320613AS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 4 – 7: Slot 4
Vendor Id : ATA
Product Id : WDC WD3200AAKX-0
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 4 – 7: Slot 7
Vendor Id : ATA
Product Id : ST3320418AS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Connector : Port 4 – 7: Slot 5
Vendor Id : ATA
Product Id : ST3320418AS
State : Online
Disk Type : SATA,Hard Disk Device
Capacity : 297.091 GB
Power State : Active
Storage
Virtual Drives
Virtual drive : Target Id 0 ,VD name
Size : 1.160 TB
State : Optimal
RAID Level : 1
// 레이드가 구성이 안되어있을 경우 맨 밑에 Storage 부분이 나타나지 않습니다.

 

반응형

'RAID' 카테고리의 다른 글

BIOS에서 RAID잡기(RAID1)  (0) 2019.05.17
BIOS에서 RAID 잡기(RAID0)  (0) 2019.05.17
Megaraid Storage Manager 설치  (0) 2019.05.17
MegaCLI 설치  (0) 2019.05.17
RAID 카드 확인하는 방법  (0) 2019.05.17
profile

YUMSERV

@lena04301

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!