[systemd-devel] Cryptsetup on FakeRAID fails with timeout

Ali Lown ali at lown.me.uk
Mon Sep 24 04:22:36 PDT 2012


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: DEVNAME=/dev/md0
E: DEVPATH=/devices/virtual/block/md0
E: DEVTYPE=disk
E: ID_PART_TABLE_TYPE=dos
E: MAJOR=9
E: MD_DEVICES=2
E: MD_LEVEL=raid1
E: MD_METADATA=0.90
E: MD_UUID=ee87365a:bf0826c6:0825cc4b:d1c49ecb
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=19557

/dev/md0p1:
P: /devices/virtual/block/md0/md0p1
N: md0p1
L: 100
S: disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb-part1
E: DEVLINKS=/dev/disk/by-id/md-uuid-ee87365a:bf0826c6:0825cc4b:d1c49ecb-part1
E: DEVNAME=/dev/md0p1
E: DEVPATH=/devices/virtual/block/md0/md0p1
E: DEVTYPE=partition
E: ID_PART_ENTRY_DISK=9:0
E: ID_PART_ENTRY_NUMBER=1
E: ID_PART_ENTRY_OFFSET=2048
E: ID_PART_ENTRY_SCHEME=dos
E: ID_PART_ENTRY_SIZE=1953122304
E: ID_PART_ENTRY_TYPE=0x5
E: ID_PART_TABLE_TYPE=dos
E: MAJOR=259
E: MD_DEVICES=2
E: MD_LEVEL=raid1
E: MD_METADATA=0.90
E: MD_UUID=ee87365a:bf0826c6:0825cc4b:d1c49ecb
E: MINOR=2
E: SUBSYSTEM=block
E: SYSTEMD_READY=0
E: TAGS=:systemd:
E: USEC_INITIALIZED=40061

/dev/md0p5 and /dev/md0p6 also report SYSTEMD_READY=0

So, the tag isn't being set correctly?

Ali

On 24 September 2012 11:11, Lennart Poettering <lennart at poettering.net> wrote:
> On Mon, 24.09.12 10:59, Ali Lown (ali at lown.me.uk) wrote:
>
>>
>> As described in OP, I am running
>> f6c2e28b07a0d24c68f7780fc986ac3619fdcbdb, so I am running with
>> 44b5651f19b60a84dbfdbb0ea13196b784080c8b.
>>
>> I confirmed that the line added in 44b exists in
>> /usr/lib64/udev/rules.d/99-systemd.rules.
>
> Hmm, please try to debug this by checking for the systemd tag and the
> SYSTEMD_READY field for the md device. systemd will pick up block
> devices only if the tag is set and the field is 1. Use "udevadm info
> /dev/md0" (or suchlike) for this.
>
> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list