Debian mkinitrd doesn't find all modules when using drbd
Brought to you by:
brucewalker,
rogertsang
If the root filesystem is on a drbd mkinitrd makes no attempt to work out what modules are needed for the underlying block device.
getroot needs to recursively call itself to work out the modules for the "low level device" (shown by "drbdadm sh-ll-dev $RESOURCE") and the metadevice (shown by "drbdadm sh-md-dev $RESOURCE"). Work out RESOURCE by doing a "drbdadm sh-resources" then for each resource check the /dev/drbd# against "drbdadm sh-dev $RESOURCE".
Logged In: YES
user_id=166336
Originator: NO
Fixed by my commit.
Logged In: YES
user_id=1246761
Originator: NO
Fixed in 1.9.3