This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hardware:megaraid [2021/01/01 21:24] 127.0.0.1 external edit |
hardware:megaraid [2025/03/23 21:06] (current) manu [LSI MegaRAID controllers] |
||
---|---|---|---|
Line 2: | Line 2: | ||
StorCLI is the successor of the MegaCLI and allows Command Line Tools to manage and control LSI MegaRAID controllers. | StorCLI is the successor of the MegaCLI and allows Command Line Tools to manage and control LSI MegaRAID controllers. | ||
+ | |||
+ | You can download it by Broadcom | ||
+ | ===== Add a disk to an existing RAID ===== | ||
+ | |||
+ | Show all RAID controllers | ||
+ | <cli prompt'#'> | ||
+ | # storcli show all | ||
+ | </cli> | ||
+ | |||
+ | If the controller has the ID 0, then add /c0 | ||
+ | <cli prompt'#'> | ||
+ | # storcli /c0 show all | ||
+ | </cli> | ||
+ | |||
+ | If an virtual disk for example RAID 5 exist, here v0, then you 'll see it | ||
+ | |||
+ | {{hardware:storcli_disk02.png?600|}} | ||
+ | |||
+ | You can also see all attached physical disks on this adapter | ||
+ | |||
+ | {{hardware:storcli_disks01.png?600|}} | ||
+ | |||
+ | Choose the disk in state UGOOD to add to the RAID | ||
+ | <cli prompt'#'> | ||
+ | # storcli /c0/v0 start migrate type=raid5 option=add drive=134:5 | ||
+ | </cli> | ||
+ | |||
+ | Check the RAID expansion progress, indicate also the duration | ||
+ | <cli prompt'#'> | ||
+ | # storcli /c0/v0 show migrate | ||
+ | </cli> | ||
+ | |||
+ | {{hardware:storcli_disk03.png?600|}} | ||
+ | |||
===== Command line ===== | ===== Command line ===== |