LVM snapshot doesn't seem to work

Alexander Skwar listen at alexander.skwar.name
Mon Aug 28 08:00:03 UTC 2006


Gabriel Dragffy <dragffy at yandex.ru>:

> I'm trying the following command:
> $ sudo lvcreate --size 100m --snapshot --name snap /dev/bouncyball/root
> 
> and getting the error:
>   snapshot: Required device-mapper target(s) not detected in your kernel
>   lvcreate: Create a logical volume
> 
> I have tried many other combinations including the -s and -n switches
> but still no joy, what am I overlooking?

You're overlooking the message that lvcreate is telling you:
        
        Required device-mapper target(s) not detected in your kernel

Solution: Enable the kernel to support snapshots.

        modprobe dm-snapshots   (or something like this)

Alexander Skwar
-- 
Life is like arriving late for a movie, having to figure out what was
going on without bothering everybody with a lot of questions, and then
being unexpectedly called away before you find out how it ends.






More information about the ubuntu-users mailing list