I’m planning to install Qubes OS on a system with two NVMe SSDs configured in RAID 0. I’d like guidance on how to set this up correctly. Can anyone please guide me how to do so?
I’ve created RAID partition /dev/md0 using following command:
After reviewing Qubes Issues on GitHub, it appears that Qubes OS currently doesn’t support a RAID 0 setup, and it seems it won’t be supported in version 4.3 either.
Too bad! I was really looking forward to using Qubes on a RAID 0 array.
The GUI-based RAID creation utility available in the Fedora installer is not present in the Qubes OS installer. Additionally, when I attempt to create RAID drives using the virtual console and then load them in the GUI, the Anaconda installer crashes, causing the system to reboot. Therefore, the setup described in the linked guide does not work for Qubes OS.
It is present in the R4.2.4 installer. Make sure you don’t forget the first step:
For RAID-0, the total capacity will be (number of drives) * (size of the smallest drive) although Btrfs would support using the full capacity, because Anaconda will create small partitions even if “Size policy: As large as possible” is selected. (I haven’t tried the R4.3 installer, maybe it’s fixed there?) The full capacity can still be used by selecting “RAID Level: Single”, which however won’t do striping so performance should be a bit lower than for RAID-0.
At least for the default “Single”, it’s also possible to install with just one drive and add more drives later.
Maximum Gen4x4 throughput is 8Gb/s and Gen5x4 is 16Gb/s, but when transferring MBs in normal use it’s comparing a fraction of a second to a smaller fraction of a second. If you normally work with GBs to TBs throughput I’d recommend another OS than Qubes (that’s what I do for that type of work). And I prefer XFS as it is the quickest in that specific case.