Skip to contentSkip to conversation

root on multipath and dracut

DISCUSSION Hannes Reinecke 2 participants 2 messages Feb 10, 2014 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi Ben,

as we're switching to dracut/systemd nowadays I've tried to setup and enable root on multipath for this, too.

As you might've seen, I've already added proper systemd support for multipath-tools, so it should be easy to plug it into dracut.

Or so I thought.

As it turns out, dracut is trying to add some RH-specific rules files:

40-multipath.rules
62-multipath.rules
65-multipath.rules

which have only _very_ sparse documentation.
Wouldn't it be a good idea to settle on a default set on scripts here and include those into the multipath-tools repository?

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
#1 lore raw
Quoted 16 lines · Hannes Reinecke

Hi Ben,

as we're switching to dracut/systemd nowadays I've tried to setup and enable root on multipath for this, too.

As you might've seen, I've already added proper systemd support for multipath-tools, so it should be easy to plug it into dracut.

Or so I thought.

As it turns out, dracut is trying to add some RH-specific rules files:

40-multipath.rules
62-multipath.rules
65-multipath.rules

Quoted 8 lines

which have only _very_ sparse documentation.
Wouldn't it be a good idea to settle on a default set on scripts here and include those into the multipath-tools repository?

Cheers,

Hannes

Currently we only ship /lib/udev/rules.d/62-multipath.rules with device-mapper-multipath-0.4.9-56.

Gentoo was using 65-multipath.rules and we formerly used 40-multipath.rules.

So, basically dracut tries to find any of them to be backwards compatible and cross distro.