OpenVZ Forum


Home » General » Support » device mapper inside VE (be able to use dm-crypt and device mapper inside openvz)
device mapper inside VE [message #41369] Tue, 11 January 2011 11:12 Go to previous message
jeanroch
Messages: 2
Registered: January 2011
Location: france
Junior Member
hello,

I would like to encrypt an entire disk inside a VE with cryptsetup. But I didn't manage to use device mapper.

[root@sauvegarde ~]# dmsetup table /dev/vgr0/sauvegarde
/proc/devices: No entry for misc found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: Operation not permitted
Failure to communicate with kernel device-mapper driver.
Command failed


/proc/devices is empty and /dev/mapper/control is already present
[root@sauvegarde ~]# ll /dev/mapper/
total 0
crw-r----- 1 root root 10, 59 Jan 10 23:24 control


I have tried to give somes capability, but without success,
[root@storalca1 ~]# tail -2 /etc/vz/conf/48101.conf
DEVNODES="vgr0/sauvegarde:rw "
CAPABILITY="SYS_MODULE:on MKNOD:on "



kernel 2.6.32.25 with patch dzhanibekov (device mapper and dm-crypt are compiled in the kernel)
vzquota 3.0.12
vzctl 3.0.25
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: unknown source of system load
Next Topic: Very slow VE stopping + high CPU usage
Goto Forum:
  


Current Time: Thu Jul 11 10:20:52 GMT 2024

Total time taken to generate the page: 0.02292 seconds