Skip to contentSkip to conversation

pvmove won't start

linux-lvm Dieter Stüken 2 participants 2 messages Aug 15, 2005

lore
Share & tools
lore
#0 lore raw

I'm using LVM2 on kernel 2.6.12.2 and tried to perform a pvmove. Unfortunately I got the message:

mirror: Required device-mapper target(s) not detected in your kernel

I found, dm-mirror was compiled as a module, but it was not loaded. After a "modprobe dm-mirror" it seems to work now. Can someone tell me, why the module is not loaded automatically?

Dieter.

Signature · 4 lines
Dieter St�ken, con terra GmbH, M�nster
    [email protected]
    http://www.conterra.de/
    (0)251-7474-501
#1 lore raw

Dieter

I don't know what the odds of getting your distro to fix it but if you have any plans to use pvmove or make snapshots I highly recommend you load dm_snapshot and dm_mirror in your initrd or build into the kernel.

I found the hard way that I couldn't boot with the snapshot even if not mounted with out these loaded.

In debian sarge I put
dm_snapshot
dm_mirror
in /etc/mkinitrd/modules
and ran mkinitrd.

John

Quoted 10 lines · Dieter St�ken

I'm using LVM2 on kernel 2.6.12.2 and tried to perform a pvmove. Unfortunately I got the message:

mirror: Required device-mapper target(s) not detected in your kernel

I found, dm-mirror was compiled as a module, but it was not loaded. After a "modprobe dm-mirror" it seems to work now. Can someone tell me, why the module is not loaded automatically?

Dieter.

begin:vcard
fn:John McMonagle
n:McMonagle;John
org:Advocap Inc
adr;dom:;;2929 Harrison St;Oshkosh;WI;54936
email;internet:[email protected]
title:IT Manager
tel;work:920-426-0150
x-mozilla-html:FALSE
url:http://www.advocap.org
version:2.1
end:vcard