H/W

서버별 RAID 확인

1. OS별 서버 모델 확인

– Linux
dmidecode -s system-manufacturer
dmidecode -s system-product-name
– Windows
msinfo32

2. OS별 RAID 간단 확인

– Linux
fdisk -l
smartctl -a [하드명 : /dev/sda]

RAID 구성이 되어 있으면 하드디스크 상태 출력 X

cat /proc/scsi/scsi
lspci  | grep RAID
– Windows
diskpart
list disk
sel disk [번호]
detail disk
msinfo32 – 구성요소 – 저장소 – 디스크

 

3. RAID 확인

– Linux
Megacli OR perccli
– Windows
레이드 프로그램(MegaCli or 해당 제조사 프로그램)

4. 서버별 RAID 확인

– HP DL380 G6
– CentOS
fdisk -l    ; 디스크 갯수와 인식 수 비교
lspci | grep RAID    ; RAID 컨트롤러 확인
hpacucli    ; RAID 컨트롤러 확인
ctrl all show config
ctrl slot=0 pd all show detail    ; 디스크 모델 확인
– IBM x3650 M3
– CentOS
cd /opt/MegaRAID/MegaCli
./MegaCli64
# 물리적 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL
# 논리적 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL
# 전체 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli64 -LDPDInfo -aALL
# Adapter 정보
/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL
– Dell

– 홈페이지https://www.dell.com/support/home/kr/ko/krdhs1/Drivers/DriversDetails?driverId=3XDPP

– RAID 프로그램 설치
– CentOS
yum install srvadmin-all
– Windows
다운받은 파일 압축 해제 후 C:\Windows\system32에 복사
– 웹으로 확인
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
– Linux 서버
방법 1)
rpm -ivh perccli-1.11.03-1.noarch.rpm
cd /opt/MegaRAID/perccli
./perccli show all    ; RAID 정보 전체 보기
방법 2)
# 물리적 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli -PDList -aALL
# 논리적 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli -LDInfo -Lall -aALL
# 전체 Disk 정보
/opt/MegaRAID/MegaCli/MegaCli -LDPDInfo -aALL
# Adapter 정보
/opt/MegaRAID/MegaCli/MegaCli -AdpAllInfo -aALL
– Windows 서버
cmd 실행
perccli show all    ; Ctl 번호 확인
System Overview :
===============
————————————————————————-
Ctl Model        Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth
————————————————————————-
  0 PERCH710Mini     8   4   2     1   2     1 Opt On  3  N      0 NdAtn
————————————————————————-
Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed
PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal
Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown
sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare
Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit
Hlth=Health|Safe=Safe-mode boot
perccli /c[번호 : Ctl] show
Virtual Drives = 2
VD LIST :
=======
—————————————————————
DG/VD TYPE  State Access Consist Cache Cac sCC       Size Name
—————————————————————
0/0   RAID1 Dgrd  RW     Yes     RWBD  –   OFF   278.875 GB
1/1   RAID1  Optl  RW     Yes     RWBD  –   OFF   931.0 GB VD02
—————————————————————
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=Degr
Optl=Optimal|RO=Read Only|RW=Read Write|B=Blocked|Consist=Consistent|
R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Schedule
Check Consistency
Physical Drives = 4
PD LIST :
=======
————————————————————————-
EID:Slt DID State DG          Size Intf   Med SED PI SeSz Model            Sp
————————————————————————-
32:0      0 Onln      0 278.875 GB SAS  HDD N   N  512B ST3300657SS     U
32:1      1 UGood  F  278.875 GB SAS  HDD N   N  512B ST3300657SS     U
32:2      2 Onln      1    931.0 GB SAS  HDD N   N  512B ST31000424SS     U
32:3      3 Onln      1    931.0 GB SAS  HDD N   N  512B ST31000424SS     U
————————————————————————-
EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded

– Fujitsu

– CentOS
rpm -ivh megacli-8.07.14-1.x86_64.rpm
cd /opt/MegaRAID/MegaCli
./MegaCli64 -PDList -aALL | grep “Slot\|Inquiry”
./MegaCli64 -LDInfo -Lall -aALL
Back To Top