hard raid
Install the rpm package
rpm -ivh storcli-007.2309.0000.0000-1.noarch.rpm1617
View the completed raid array information
/opt/MegaRAID/storcli/storcli64 /c0/yall show
View all array information
/opt/MegaRAID/storcli/storcli64 /c0 show |more
Make 2-6 disks into raid5
/opt/MegaRAID/storcli/storcli64 /c0 add yd type=raid5 drives=8:2-7 strip=128
Make 8-13 disks into raid5 /opt/MegaRAID/storcli/storcli64 /c0 add yd type=raid5 drives=8:8-13 strip=128
/opt/MegaRAID/storcli/storcli64 /c0add d type=raid5 drives=8:14-19 strip=128
delete raid information
/opt/MegaRAID/storcli/storcli64 /c0/v1 del
soft raid
Linux disk as soft raid
mdadm-Cv/dev/md0-10-n2/dev/nvme0n1 /dev/nvmeln1
Reposted from: https://blog.csdn.net/2301_76496264/article/details/129135804