Re: [libvirt-users] accessing USB as storage device through lxc container.

2017-02-08 Thread Martin Kletzander
On Tue, Feb 07, 2017 at 11:00:54AM -0800, ravi mh wrote: Thanks Martin for the info. I have tried the below snippet in the libvirt xml. /dev/sdc1 I meant not root@ir800-lxc:~# mount /dev/sdc1 /mnt/usbdr/ mount: permission denied (are you root?)

Re: [libvirt-users] accessing USB as storage device through lxc container.

2017-02-07 Thread ravi mh
Thanks Martin for the info. I have tried the below snippet in the libvirt xml. /dev/sdc1 root@ir800-lxc:~# mount /dev/sdc1 /mnt/usbdr/ mount: permission denied (are you root?) -- It works if the usernamespace is not enabled. The reason b

Re: [libvirt-users] accessing USB as storage device through lxc container.

2017-02-02 Thread Martin Kletzander
On Thu, Feb 02, 2017 at 06:30:24PM -0800, ravi mh wrote: Hi all, I am not able to access USB as storage device in the lxc container. Having tried to pass the usb device with the product and vendor id, not able to see the device mounted in the lxc file system. It won't be mounted, it will just