본문 바로가기
IT/Server

Linux용 hpacucli 유틸리티 명령어

by @__hansoo_ 2021. 1. 27.
728x90

Linux용 hpacucli 유틸리티

 

•# hpacucli

•# hpacucli 도움말

 

• 컨트롤러 명령:

 

hpacucli> ctrl all show config ## 컨트롤러의 세부 정보 표시 

hpacucli> ctrl all show config detail

hpacucli> ctrl all show status ## 컨트롤러의 상태 표시 

hpacucli> ctrl slot=0 modify dwc=disable ## 캐시 활성화 또는 비활성화 

hpacucli> ctrl slot=0 modify dwc=enable

hpacucli> rescan ## 마지막 재검사 후 새로 추가된 장치 탐지

 

• 물리적 드라이브 명령:

 

hpacucli> ctrl slot=0 pd all show ## 물리적 드라이브의 세부 정보 표시 hpacucli> ctrl slot=0 pd 2:3 show detail

hpacucli> ctrl slot=0 pd all show status ## 물리적 드라이브의 상태 표시 hpacucli> ctrl slot=0 pd 2:3 show status

hpacucli> ctrl slot=0 pd 2:3 modify erase ## 물리적 드라이브 삭제 

hpacucli> ctrl slot=0 pd 2:3 modify led=on ## LED 활성화 또는 비활성화 hpacucli> ctrl slot=0 pd 2:3 modify led=off

 

• 논리 드라이브 명령:

 

hpacucli> ctrl slot=0 ld all show ## 논리 드라이브의 세부 정보 표시 hpacucli> ctrl slot=0 ld 4 show

hpacucli> ctrl slot=0 ld all show status ## 논리 드라이브의 상태 표시 hpacucli> ctrl slot=0 ld 4 show status

hpacucli> ctrl slot=0 ld 4 modify reenable forced ## 장애 드라이브를 다시 활성화

 

RAID 레벨 구성하기:

 

•1개의 드라이브를 사용하여 RAID 0으로 논리 드라이브를 만듭니다.

hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0 

 

•2개의 드라이브를 사용하여 RAID 1로 논리 드라이브를 만듭니다.

hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1

 

•5개의 드라이브를 사용하여 RAID 5로 논리 드라이브를 만듭니다.

hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5

 

•기존 RAID에서 논리 드라이브를 확장, 추가, 삭제합니다.

hpacucli> ctrl slot=0 ld 4 delete

## 논리 드라이브 삭제

 

hpacucli> ctrl slot=0 ld 4 add drives=2:3 

## 드라이브를 추가하여 논리 드라이브 확장(expand)

 

hpacucli> ctrl slot=0 ld 4 modify size=500 forced 

## 논리 드라이브 확장(extend)

 

hpacucli> ctrl slot=0 array all add spares=1:5,1:7

## 2개의 예비용 디스크 추가

 

원본 URL : hpacucli Utility for Linux - All Commands Guide

(http://www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03493210)

 

출처

 (http://max1013.tistory.com/entry/HP-Array-Configuration-Utility-CLI-for-RedHat-Linux)

728x90

'IT > Server' 카테고리의 다른 글

시놀로지 나스(DS916+) 외부접속 구성하기  (0) 2021.04.06
hpacucli for Linux  (0) 2021.01.27
Linux Lan port 확인  (0) 2021.01.27
linux 압축풀기  (0) 2017.01.10
Dell™ OpenManage™ Server Administrator  (0) 2017.01.05

댓글