Skip to contentSkip to conversation

Where to load dm_mod?

DISCUSSION Seewer Philippe 2 participants 3 messages Oct 14, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Some kernels configurations may build dm as a module. dracut makes sure that dm_mod et al are included in the initramfs, but dm_mod is not automatically loaded when needed.

As I'm no expert on this, my question: which module and hook should ensure that dm_mod is properly loaded? Currently I have it 90mdraid/mdmon-pre-udev.sh but I'm really not sure if this is the right place.

Thanks,
Philippe

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Seewer Philippe

Some kernels configurations may build dm as a module. dracut makes sure that dm_mod et al are included in the initramfs, but dm_mod is not automatically loaded when needed.

As I'm no expert on this, my question: which module and hook should ensure that dm_mod is properly loaded? Currently I have it 90mdraid/mdmon-pre-udev.sh but I'm really not sure if this is the right place.

Thanks,
Philippe

dm_mod ? if that is device-mapper, I would say
(90dmraid and 90lvm) or (a new 90dm)

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 10 lines · Harald Hoyer
Quoted 9 lines · Seewer Philippe

Some kernels configurations may build dm as a module. dracut makes sure that dm_mod et al are included in the initramfs, but dm_mod is not automatically loaded when needed.

As I'm no expert on this, my question: which module and hook should ensure that dm_mod is properly loaded? Currently I have it 90mdraid/mdmon-pre-udev.sh but I'm really not sure if this is the right place.

Quoted 5 lines
Quoted 2 lines

Thanks,
Philippe

dm_mod ? if that is device-mapper, I would say
(90dmraid and 90lvm) or (a new 90dm)

Yes, it's the "device-mapper driver"