Displaying 2 results from an estimated 2 matches for "usbdr".
Did you mean:
usbd
2017 Feb 07
1
Re: accessing USB as storage device through lxc container.
...for the info.
I have tried the below snippet in the libvirt xml.
<hostdev mode='capabilities' type='storage'>
<source>
<block>/dev/sdc1</block>
</source>
</hostdev>
------------
root@ir800-lxc:~# mount /dev/sdc1 /mnt/usbdr/
mount: permission denied (are you root?)
----------
It works if the usernamespace is not enabled.
The reason being, we have enabled the username and hence its unprivileged
container.
As per this patch:
https://www.redhat.com/archives/libvir-list/2012-November/msg01555.html,
the capabilities...
2017 Feb 03
2
accessing USB as storage device through lxc container.
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.
However, they are seen as char devices in the container at the location.
There is no issue of ACL, as the capabilities restrictions have been
dropped.
Has anyone successfully mounted the storage