Best way to mount an existing LUKS md-RAID with ZimaOS?

Hello!

I’m considering buying a ZimaBoard 2 and would like to continue to use the existing large disks from my existing Linux-based home server.

The two disks contain a LUKS encrypted MD RAID 1 (no LVM).

I understand that ZimaOS does not support disk encryption “out of the box” yet.

Is it possible to manually mount the LUKS RAID after boot by entering the passphrase (for example with cryptsetup), so that it can be used normally like a regular volume in ZimaOS? What is the best way to achieve this?

Hi,

Personally, I couldn’t do it succeed with ZimaOS.

Apparently, mounting the file system manually would work if the dm_crypt and dm_mod kernel modules were present. cryptsetup already exists on the system but fails due to the missing modules. So, I suspect it would be a relatively easy fix for the developers but a big improvement for those who need data protection (or are required to encrypt data at rest).