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>

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to