Dell R710 Megaraid

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску

Megaraid

В моем случае он установлен в сервере Dell R710

Определить тип Raid

dmesg

root@r710:/tmp# dmesg  | grep -i raid
[    5.444484] megaraid_sas 0000:03:00.0: BAR:0x0  BAR's base_addr(phys):0x00000000df180000  mapped virt_addr:0x(____ptrval____)
[    5.444485] megaraid_sas 0000:03:00.0: FW now in Ready state
[    5.444487] megaraid_sas 0000:03:00.0: 63 bit DMA mask and 32 bit consistent mask
[    5.444794] megaraid_sas 0000:03:00.0: current msix/online cpus	: (0/24)
[    5.444795] megaraid_sas 0000:03:00.0: RDPQ mode	: (disabled)
[    5.503659] megaraid_sas 0000:03:00.0: controller type	: MR(256MB)
[    5.503661] megaraid_sas 0000:03:00.0: Online Controller Reset(OCR)	: Enabled
[    5.503661] megaraid_sas 0000:03:00.0: Secure JBOD support	: No
[    5.503662] megaraid_sas 0000:03:00.0: NVMe passthru support	: No
[    5.503663] megaraid_sas 0000:03:00.0: FW provided TM TaskAbort/Reset timeout	: 0 secs/0 secs
[    5.503664] megaraid_sas 0000:03:00.0: JBOD sequence map support	: No
[    5.503665] megaraid_sas 0000:03:00.0: PCI Lane Margining support	: No
[    5.503667] megaraid_sas 0000:03:00.0: megasas_init_mfi: fw_support_ieee=0
[    5.503690] megaraid_sas 0000:03:00.0: INIT adapter done
[    5.503691] megaraid_sas 0000:03:00.0: JBOD sequence map is disabled megasas_setup_jbod_map 5741
[    5.531697] megaraid_sas 0000:03:00.0: MR_DCMD_PD_LIST_QUERY failed/not supported by firmware
[    5.559767] megaraid_sas 0000:03:00.0: DCMD not supported by firmware - megasas_ld_list_query 4862
[    5.587766] megaraid_sas 0000:03:00.0: pci id		: (0x1000)/(0x0060)/(0x1028)/(0x1f0c)
[    5.587769] megaraid_sas 0000:03:00.0: unevenspan support	: no
[    5.587771] megaraid_sas 0000:03:00.0: firmware crash dump	: no
[    5.587772] megaraid_sas 0000:03:00.0: JBOD sequence map	: disabled
[    6.287703] raid6: sse2x4   gen() 11185 MB/s
[    6.335706] raid6: sse2x4   xor()  8190 MB/s
[    6.383704] raid6: sse2x2   gen()  9938 MB/s
[    6.431737] raid6: sse2x2   xor()  7473 MB/s
[    6.479713] raid6: sse2x1   gen()  8409 MB/s
[    6.527738] raid6: sse2x1   xor()  6431 MB/s
[    6.527739] raid6: using algorithm sse2x4 gen() 11185 MB/s
[    6.527739] raid6: .... xor() 8190 MB/s, rmw enabled
[    6.527740] raid6: using ssse3x2 recovery algorithm

lspci | grep -i raid

lspci | grep -i raid
03:00.0 RAID bus controller: Broadcom / LSI MegaRAID SAS 1078 (rev 04)

Где брать утилиты

Есть сайт где собраны утилиты для рейдов, в том числе и для MegaRaid

Более новая утилита Storcli (https://www.broadcom.com/support/download-search?pg=Storage+Adapters,+Controllers,+and+ICs&pf=Storage+Adapters,+Controllers,+and+ICs&pn=&pa=&po=&dk=&pl=&l=true)
Файл:Storcli 007.2612.0000.0000 all.deb

Добавить в PATH (зависит от того куда поставлено)

/opt/MegaRAID/storcli

Что почитать

Просмотр информации о контроллере

storcli64 show
CLI Version = 007.2612.0000.0000 June 13, 2023
Operating system = Linux 5.4.0-150-generic
Status Code = 0
Status = Success
Description = None

Number of Controllers = 1
Host Name = r710
Operating System  = Linux 5.4.0-150-generic

System Overview :
===============

-----------------------------------------------------------------------------
Ctl Model             Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth
-----------------------------------------------------------------------------
  0 PERC6/iIntegrated     8   3   1     0   1     0 Opt On  2  N      0 Opt
-----------------------------------------------------------------------------

Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed
PDs=Physical drives|DNOpt=Array NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal
Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown
sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Spare Drive
Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit/CV
Hlth=Health|Safe=Safe-mode boot|CertProv-Certificate Provision mode
Chrg=Charging | MsngCbl=Cable Failure

Просмотр информации о рейдах

  • /c0 - 0 это номер контроллера
  • /vall v - Virtual Drives, показать информацию о всех рейдах, их настроено один, Raid 1 (зеркало)
storcli64 /c0 /vall show
Virtual Drives :
==============

----------------------------------------------------------------
DG/VD TYPE  State Access Consist Cache Cac sCC       Size Name
----------------------------------------------------------------
0/0   RAID1 Optl  RW     Yes     NRWBD -   OFF 278.875 GB r1arr
----------------------------------------------------------------

VD=Virtual Drive| DG=Drive Group|Rec=Recovery
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady
B=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack
FWB=Force WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency

2