搞了两个1TB硬盘组raid,AMD x570支持硬件raid, raid0模式,但操作系统下raid驱动只看到了windows的,对于一个也厌烦了windows且工作于嵌入式Linux的人来说,是头疼的事。
虽然linux下有软raid开源程序(试过mdadm,但没试过组完在windows上能否识别,毕竟有些小工具只有在windows或winpe上能用),但有硬件raid为什么要闲置着。
终于看到GitHub - thopiekar/rcraid-dkms: AMD RAIDXpert driver as DKMS package
# rcraid-dkms
AMD RAIDXpert driver as DKMS package
Foreword:
===========
Many AMD mainboards for the AM4 socket based on the following chipsets come with RAID support:
* X370
* X399
* X470
* X570
But this RAID mode, which needs to be set in the BIOS, requires a specific driver for each OS.
There is a driver for Windows, but for Linux AMD provides either a binary blob or the sources.
When following the instructions, you will need to recompile the driver and install the kernel module on each kernel update and/or upgrade.
Since we are in the 21 century and we have software like DKMS, we don't need to do this manually, but let it happen automatically.
Goal
====
Therefore we try here to keep the code alive for many kernel versions as possible and deliver it within a PPA for Ubuntu as a DKM