본문 바로가기

리눅스

우분투 24.04에서 Broadcom MegaRAID 컨트롤러를 설치하는 방법

반응형

우분투 24.04에서 LSI/Broadcom MegaRAID 12GSAS 컨트롤러를 설치하는 방법

테스트 환경

서버 제품 정보 확인

dmidecode -t system | grep -E "Product Name"
	Product Name: ProLiant DL360 Gen11

운영체제 정보 확인

lsb_release -d
Description:	Ubuntu 24.04.1 LTS

드라이버 확인 및 설치

드라이버 확인

lspci -nn | grep -i raid
3b:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID 12GSAS/PCIe Secure SAS39xx [1000:10e2]

모듈 로드 여부 확인

lsmod | grep megaraid_sas
megaraid_sas          225280  3
  • 모듈이 로드되어 있으면 이미 드라이버 설치 완료

HPE에서 제공하는 최신 드라이버 설치

1. HPE Support 사이트에서 hpe-ubuntu-lts-megaraid-sas 패키지 다운로드

MR Storage Administrator

2. .deb 파일 설치

curl -fL -o "install_deb.sh" \
  https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1815546971/v271815/install_deb.sh
curl -fL -o "MRStorageAdministrator-008.012.052.000-1_amd64.compsig" \
  https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1815546971/v271815/MRStorageAdministrator-008.012.052.000-1_amd64.compsig
curl -fL -o "MRStorageAdministrator-008.012.052.000-1_amd64.deb" \
  https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1815546971/v271815/MRStorageAdministrator-008.012.052.000-1_amd64.deb

설치 후 모듈 로드 여부 확인

lsmod | grep megaraid_sas
megaraid_sas          225280  3
728x90

StorCLI 설치

MegaRAID를 관리하려면 CLI 툴을 설치해야 합니다.

 

1. Broadcom MegaRAID 사이트에서 storcli 다운로드

  • HPE MegaRAID Storage Administrator StorCLI for Ubuntu (for Gen10P and Gen11 Controllers)(StorCLI LINK)

StorCLI

curl -fL -o "storcli_007.3212.0000.0000_all.compsig" \
  https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1137625634/v271814/storcli_007.3212.0000.0000_all.compsig
curl -fL -o "storcli_007.3212.0000.0000_all.deb" \
  https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1137625634/v271814/storcli_007.3212.0000.0000_all.deb

설치

dpkg -i storcli_007.3212.0000.0000_all.deb
Selecting previously unselected package storcli.
(Reading database ... 84431 files and directories currently installed.)
Preparing to unpack storcli_007.3212.0000.0000_all.deb ...
Unpacking storcli (007.3212.0000.0000) ...
Setting up storcli (007.3212.0000.0000) ...

심볼릭 링크 생성

sudo ln -s /opt/MegaRAID/storcli/storcli64 /usr/local/bin/storcli

storcli 버전 확인

storcli -v
      StorCli SAS Customization Utility Ver 007.3212.0000.0000 Apr 16, 2025

    (c)Copyright 2025, Broadcom Inc. All Rights Reserved.

RAID 상태 확인

모든 컨트롤러 확인

sudo storcli /c0 show
TOPOLOGY :
========

------------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT        Size PDC  PI SED DS3  FSpace TR
------------------------------------------------------------------------------
 0 -   -   -        -   RAID1 Optl  N  446.625 GiB dflt N  N   none N      N
 0 0   -   -        -   RAID1 Optl  N  446.625 GiB dflt N  N   none N      N
 0 0   0   252:1    0   DRIVE Onln  N    480.00 GB dflt N  N   none -      N
 0 0   1   252:2    1   DRIVE Onln  N    480.00 GB dflt N  N   none -      N
------------------------------------------------------------------------------

...

Virtual Drives = 1

VD LIST :
=======

----------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC        Size Name
----------------------------------------------------------------
0/239 RAID1 Optl  RW     No      NRWBD -   ON  446.625 GiB
----------------------------------------------------------------

...

Physical Drives = 2

Drive LIST :
==========

--------------------------------------------------------------------------
EID:Slt DID State DG      Size Intf Med SED PI SeSz Model         Sp Type
--------------------------------------------------------------------------
252:1     0 Onln   0 480.00 GB SATA SSD N   N  512B VK000480GXNZA U  -
252:2     1 Onln   0 480.00 GB SATA SSD N   N  512B VK000480GXNZA U  -
--------------------------------------------------------------------------

...

Enclosures = 1

Enclosure LIST :
==============

----------------------------------------------
EID State Slots PD PS Fans TSs Alms SIM Port#
----------------------------------------------
252 OK        8  2  0    0   0    0   0 1I
----------------------------------------------

모든 논리 드라이브 상태

sudo storcli /c0 /vall show
Virtual Drives :
==============

----------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC        Size Name
----------------------------------------------------------------
0/239 RAID1 Optl  RW     No      NRWBD -   ON  446.625 GiB
----------------------------------------------------------------

모든 물리 드라이브 상태

sudo storcli /c0 /eall /sall show
Drive Information :
=================

--------------------------------------------------------------------------
EID:Slt DID State DG      Size Intf Med SED PI SeSz Model         Sp Type
--------------------------------------------------------------------------
252:1     0 Onln   0 480.00 GB SATA SSD N   N  512B VK000480GXNZA U  -
252:2     1 Onln   0 480.00 GB SATA SSD N   N  512B VK000480GXNZA U  -
--------------------------------------------------------------------------
  • /c0 → 컨트롤러 슬롯 번호 (서버마다 다를 수 있음)
  • /eall → 모든 엔클로저
  • /sall → 모든 슬롯

참고URL

- HPE Support Center : HPE MegaRAID Storage Administrator for Ubuntu (HPE MRSA for Gen10P and Gen11 Controllers)

 

728x90
반응형