[CentOS] LVM Snapshot Create Error

Peter Kjellström

cap at nsc.liu.se
Mon Aug 1 09:54:37 UTC 2005


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?

-- 
------------------------------------------------------------
  Peter Kjellström               |
  National Supercomputer Centre  |
  Sweden                         | http://www.nsc.liu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20050801/33649ad1/attachment.sig>


More information about the CentOS mailing list