Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using lxc for running encryption app.  The app run "dmsetup" on devices added in the container/VM. On running the "dmsetup create clear_sdb1" the device gets created as /dev/mapper/clear_sdb1  However similar thing does not happen when I add 2nd device sdb2.
Strangely both  /dev/mapper/clear_sdb1   and /dev/mapper/clear_sdb2 starts showing up in host's device hierarchy. Should it never get created in host machine. 
The /dev/mapper/control is already present in container.
I have disabled the apparmor in config file.
All the devices are given "rwm" permissions.
Will be using this setup for simulating many Virtual Machines. 
/dev/mapper is the only blocker currently, since my app is working fine with one device.

Host =>  Linux avatar 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Container  =>  Linux cn-01 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lxc version: 1.0.0.alpha1
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.