[libvirt-users] fuse in libivrt-lxc
Eldar Yusupov
eyusupov at gmail.com
Thu Dec 19 08:54:39 UTC 2013
Thanks, worked nicely!
On Thu, Dec 19, 2013 at 5:02 AM, Gao feng <gaofeng at cn.fujitsu.com> wrote:
> On 12/19/2013 05:16 AM, Eldar Yusupov wrote:
> > Hi,
> >
> > I created an LXC domain via libvirt (on Fedora 20), but when I'm trying
> to mount a FUSE filesystem, like sshfs, I'm getting a following error:
> >
> > $ sshfs 172.30.15.2:/<mntdir> /<mntpoint>
> > fuse: device not found, try 'modprobe fuse' first
> >
> > I see that there's no /dev/fuse device. Is there a way to make it work?
> Can I get it working via libvirt domain xml file settings or should I use
> something else, for example, edit cgroups settings
> > directly somehow?
>
> Try to add below configuration to your xml file.
>
> <devices>
> .....
> <hostdev mode='capabilities' type='misc'>
> <source>
> <char>/dev/fuse</char>
> </source>
> </hostdev>
> .....
> </devices>
>
--
--
Regards,
Eldar Yusupov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131219/69b39c7a/attachment.htm>
More information about the libvirt-users
mailing list