LVM Snapshot Create Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Well thank you Peter. Thas was indeed the solution. A simple 'modprobe
dm-snapshot' and now I can create snapshots.

This falls into the category of 'LVM1 to LVM2 Transition Gotcha'. Do you
have any other 'gotchas' to share? I wonder why these modules aren't
loaded when either an LVM device is detected or a command requiring them
is run?

Kirk Bocek

Peter Kjellstr?m wrote:
> On Saturday 30 July 2005 17.01, Kirk Bocek wrote:
> 
>>Just discovered that on CentOS 4.1 when you issue the command:
>>
>>	lvcreate -s -n temp -L2G /dev/vgname/lvname
>>
>>to create a snapshot, you get the error message:
>>
>>	snapshot: Required device-mapper target(s) not detected in your kernel
> 
> 
> I think you need to do:
> 
> modprobe dm-snapshot
> 
> but I haven't tested it myself but almost the same thing happened to me when I 
> tried to move a lv around (it then needs dm-mirror..)
> 
> good luck, 
>  Peter
> 
> 
>>I've checked and recheck my spelling and tried using the device created
>>under /dev/mapper. I've tried it on both x86_64 and on i386. Works as
>>expected under CentOS 3.5.
>>
>>Any ideas what is going on?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux