-
DISABLE SECURE BOOT!!!! Else the rcraid.ko module will not load!
-
THE MODULE HAS TO BE MANUALLY RECOMPILED AFTER KERNEL UPDATES!!! ELSE THE OS MAY NOT BOOT!!!!!
-
It seems that it has to be installed during OS install, trying to install it after OS install seems difficult -> It worked, see instructions below!
-
The internet says that it doesn't work for Ubuntu 20.04.2 (Apr 2021), Lenovo promises to fix it. https://forums.lenovo.com/t5/ThinkStation-Workstations/Linux-AMD-storage-RAID-driver-and-RAIDXpert2-Management-Application-for-the-ThinkStation-P620/m-p/5050961 -> I still got it to work.
-
This will disable SATA and NVME, so you have to set ALL controllers to RAID mode, else the Disks will not show up.
- Download the drivers from the Lenovo Support website
- go to the driver directory and the ubuntu driver subdirectory
chmod u+x load_amdraid
cp load_amdraid /usr/share/initramfs-tools/scripts/init-premount/
Edit /etc/default/grub and blacklist ahci and nvme:
GRUB_CMDLINE_LINUX_DEFAULT="modprobe.blacklist=ahci,nvme"
Generate the GRUB config
grub-mkconfig -o /boot/grub/grub.cfg
RELEASE=$(uname -r)
depmod -a $RELEASE
mkinitramfs -o /boot/initrd.img-$RELEASE $RELEASE
This blacklists SATA and NVME devices!!!! The os will NOT boot if the raid driver fails to load!
The raid arrays will show up as /dev/sdX! For mounting see the non-raid
I see, there are no Ubuntu drivers any more on the website, just Redhat. Lenovo really cares about Linux users!
I cannot find the file any more, sorry. There is a l2rad0002ua.zip, not sure if that helps.
https://pcsupport.lenovo.com/de/en/products/workstations/thinkstation-p-series-workstations/thinkstation-p620/downloads/ds558978-amd-raid-utility-for-rhel-86-thinkstation-p620?category=RAID%2FSAS%20HBA%20Controllers,%20Backplanes,%20Storage%20Expanders%2FSwitches,%20Bootable%20Storage