'2015/07'에 해당되는 글 1건

  1. 2015.07.25 Dell Raid Ubuntu 에서 다루기

Ubuntu 에서 Dell Raid Controller 를 다루려면 아무래도 이것저것 신경이 쓰인다.

그걸 그냥 놓치고 있자니 디스크가 언제 Fail 날지도 모르고, 매주 방문해서 쳐다보고 있기도 뭐하고...

다음의 URL 을 참고해서 관리툴을 설치하자!

http://www.linuxcat.org/showthread.php?tid=68

#/etc/apt/sources.list 에 다음의 내용 추가 (물론 각자 패키지에 맞게 수정 요함)

"deb http://hwraid.le-vert.net/ubuntu precise main"


그 다음엔 패키지 키 추가

wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -


그리고 실제 패키지 설치

apt-get install megacli megactl megaraid-status


그러면 다음과 같은 명령어들을 쓸수 있게 된다.

# megacli -LDInfo -Lall -aALL

# megacli -PDList -aALL

# megacli -AdpEventLog -GetEvents -f logfile -aALL


이 명령어들을 어떻게 봐야 하냐고? 그건 직접 보셔야 할 듯..

그치만 다행이(?) Fail 난 로그 하나를 여러분께 나눌 수 있게 되어 나눕니다~

# 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                : 557.75 GB

Sector Size         : 512

Mirror Data         : 557.75 GB

State               : Degraded

Strip Size          : 64 KB

Number Of Drives per span:2

Span Depth          : 2

Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU

Current Cache Policy: WriteBack, ReadAdaptive, 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

Is VD Cached: Yes

Cache Cade Type : Read Only




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                : 557.75 GB

Sector Size         : 512

Mirror Data         : 557.75 GB

State               : Optimal

Strip Size          : 64 KB

Number Of Drives per span:2

Span Depth          : 2

Default Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU

Current Cache Policy: WriteBack, ReadAdaptive, 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

Is VD Cached: Yes

Cache Cade Type : Read Only




Exit Code: 0x00


Posted by 눈빛마음
:

카테고리

분류 전체보기
Secret
일기
개인 기록
IT

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

달력

«   2015/07   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

글 보관함