Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Ali Lown
Kay, Thanks. That rule appears to have fixed it for me. > The current rules always marked all MD partitions as inactive, which > does not sound right. We are not even sure if the partitions would > ever get a change event later. The partitions correctly mount at boot-time now. The luks partition

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Kay Sievers
On Mon, Sep 24, 2012 at 2:32 PM, Lennart Poettering wrote: > On Mon, 24.09.12 12:22, Ali Lown (a...@lown.me.uk) wrote: >> /dev/md0p1: >> P: /devices/virtual/block/md0/md0p1 >> E: DEVTYPE=partition >> E: SUBSYSTEM=block >> E: SYSTEMD_READY=0 >> E: TAGS=:systemd: >> /dev/md0p5 and /dev/md0p6 also

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 12:22, Ali Lown (a...@lown.me.uk) wrote: > FW back onto the mailing list: > > As the devices report ATM (after a manual mounting following systemd failure): > > /dev/md0: > P: /devices/virtual/block/md0 > N: md0 > L: 100 > S: disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ec

[systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Ali Lown
FW back onto the mailing list: As the devices report ATM (after a manual mounting following systemd failure): /dev/md0: P: /devices/virtual/block/md0 N: md0 L: 100 S: disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb E: DEVLINKS=/dev/disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb E:

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Sep 24, 2012 at 11:54:17AM +0200, Lennart Poettering wrote: > On Sun, 23.09.12 18:20, Ali Lown (a...@lown.me.uk) wrote: > > > > > I responded too early, mdadm has caused its own set of problems: > > > > - During the boot process, the mdXpX.device don't get marked as active > > automatica

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 18:20, Ali Lown (a...@lown.me.uk) wrote: > > I responded too early, mdadm has caused its own set of problems: > > - During the boot process, the mdXpX.device don't get marked as active > automatically causing X.mount based on those devices to fail. > Once I get to the emergency

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-23 Thread Ali Lown
I responded too early, mdadm has caused its own set of problems: - During the boot process, the mdXpX.device don't get marked as active automatically causing X.mount based on those devices to fail. Once I get to the emergency shell, simply calling 'systemctl daemon-reload' reloads the mdXpX.device

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-22 Thread Ali Lown
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 --creat

Re: [systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-17 Thread Alexander E. Patrakov
2012/9/17 Ali Lown : > 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 norm

[systemd-devel] Cryptsetup on FakeRAID fails with timeout

2012-09-17 Thread Ali Lown
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). I am using systemd from scm (f6c2e28b07a0d24c68f7780fc986ac3619fdcbdb). I have also tried systemd 189, and have the sam