[systemd-devel] Cryptsetup on FakeRAID fails with timeout
Ali Lown
ali at lown.me.uk
Sat Sep 22 04:43:04 PDT 2012
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 <patrakov at gmail.com> wrote:
> 2012/9/17 Ali Lown <ali at 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
More information about the systemd-devel
mailing list