[lxc-users] LXD and ZFS disappeared container mount points

Tamas Papp tompos at martos.bme.hu
Mon May 30 14:15:49 UTC 2016



On 05/30/2016 04:11 PM, tapczan wrote:
> Hi
>
> When I create LXD container on ZFS backend I see:
>
> # df
> lxd/containers/c1
>        30191104   190080  30001024   1% /var/lib/lxd/containers/c1.zfs
>
> # mount
> lxd/containers/c1 on /var/lib/lxd/containers/c1.zfs type zfs
> (rw,relatime,xattr,noacl)
>
> # mountpoint /var/lib/lxd/containers/c1.zfs
> /var/lib/lxd/containers/c1.zfs is a mountpoint
>
> # zfs list
> lxd/containers/c1
>                2.39M  28.6G   186M  /var/lib/lxd/containers/c1.zfs
>
> Everything ok.
>
> But after some time this mount point disappears from df, mount output:
>
> # mountpoint /var/lib/lxd/containers/c1.zfs
> /var/lib/lxd/containers/c1.zfs is not a mountpoint
>
> What is interesting container is still working and 'zfs list' is
> showing that '/var/lib/lxd/containers/c1.zfs' is mounted.
> I see this behaviour on multiple hosts.
>
> Has anybody some clue why is it happening?
>

I also experience this but still don't have a reproducer.
It somehow must be related to stopping instanced.


tamas


More information about the lxc-users mailing list