I waited until the weekend so I could take down the devices briefly.
After converting to use md instead, I can confirm that systemd is
working fine with automounting the luks partition and correctly asking
for a passphrase.

The migration I used was:
dmraid -an #disable dmraid devices
mdadm --create /dev/md0 --level=1 --raid-devices=2 --metadata=0.90
/dev/sdb /dev/sdc
I chose to use v0.9 since I wanted kernel autodetect with needing to
maintain an initramfs as well.

Currently the disks are resyncing (and will be for the next few hours).

Shall I take this as a sign that dmraid is being deprecated in the linux world?

On 17 September 2012 13:57, Alexander E. Patrakov <patra...@gmail.com> wrote:
> 2012/9/17 Ali Lown <a...@lown.me.uk>:
>> I am unable to get systemd to mount a LUKS partition on boot. This
>> LUKS partition (pdc_bhjchdjgaep5) sits on top of a fakeraid mirror set
>> (pdc_bhjchdjgae) of 2TB disks (sdd,sde).
>
> Disclaimer: what I am proposing below is not a solution, just a workaround.
>
> Now that a normal "md" raid is able to assemble fake RAIDs perviously
> handled by dmraid, could you please try to migrate? Just try to
> assemble md raid as usual, obviously without having run dmraid. You'll
> get devices like md126_p1 and md126_p2.
>
> --
> Alexander E. Patrakov
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to