Re: initramfs issues with mdraid/bcache-tools/lvm2 on debian wheezy-backports 3.16

Tero Marttila
2014-10-20T09:46:31Z

On 17/10/14 01:06, Ian Pilcher wrote:
> On 10/11/2014 10:42 AM, Tero Marttila wrote:
>>
>> part seems to give (based on udev_log="debug" output):
>>
>> write error: Invalid arument
>>
>> without any additional info in dmesg.
>>
>> However, running the identical command:
>>
>> /lib/udev/bcache-register /dev/md0
>>
>> by hand a short while later from within the initramfs prompts works..
>>
>
> This sounds like the error I reported back in July:
>
> http://article.gmane.org/gmane.linux.kernel.bcache.devel/2594
>

Quite likely, although for whatever reason I didn't see any bcache
register dmesgen. The retry-on-EBUSY approach sounds like it would
resolve this, I'll need to have a go at testing it.

Ref the debian wheezy mdadm-initramfs bug, the udev settle fix would be
required for any solution that makes the udev bcache-register hook wait.
Seems like it has been fixed in jessie mdadm-3.3, but anyone using
mdraid/bcache/lvm on wheezy will require some form of initramfs hacks.

-- Tero Marttila