Re: fuse in libivrt-lxc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, worked nicely!


On Thu, Dec 19, 2013 at 5:02 AM, Gao feng <gaofeng@xxxxxxxxxxxxxx> 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.
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux