[lxc-users] lxd start very slow and error msg="zfs mount failed" driver=storage/zfs output="cannot mount 'lxd/containers/fw-manuel': filesystem already mounted\n"

AIRIS MENU subnetting at hotmail.com
Wed Dec 14 13:20:40 UTC 2016


Hi,


LXD container start correctly after 11 seconds. I'm using Ubuntu 14.04 with a second disk with ZFS for containers and in /var/log/lxd/lxd.log appear error messages:


t=2016-12-14T12:49:31+0100 lvl=info msg="Starting container" name=fw-manuel action=start created=2016-12-06T21:39:55+0000 ephemeral=false used=2016-12-13T23:19:34+0000 stateful=false
t=2016-12-14T12:49:41+0100 lvl=eror msg="zfs mount failed" driver=storage/zfs output="cannot mount 'lxd/containers/fw-manuel': filesystem already mounted\n"
t=2016-12-14T12:49:42+0100 lvl=info msg="Started container" name=fw-manuel action=start created=2016-12-06T21:39:55+0000 ephemeral=false used=2016-12-13T23:19:34+0000 stateful=false

The zfs pool seems to be ok:
manuel at examenes:~$ sudo zpool status
[sudo] password for manuel:
  pool: lxd
 state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    lxd         ONLINE       0     0     0
      sdb       ONLINE       0     0     0

errors: No known data errors
And container mount correctly:
manuel at examenes:~$ sudo zfs list
NAME                                             USED  AVAIL  REFER  MOUNTPOINT
lxd                                              6,58G   443G    96K  none
lxd/containers                                   5,86G   443G    96K  none
lxd/containers/alejandro01                       120M   443G   380M  /var/lib/lxd/containers/alejandro01.zfs
lxd/containers/alejandro01-rec                   8,34M   443G   360M  /var/lib/lxd/containers/alejandro01-rec.zfs
lxd/containers/alejandro02                       76,7M   443G   380M  /var/lib/lxd/containers/alejandro02.zfs
lxd/containers/alejandro02-rec                   8,34M   443G   360M  /var/lib/lxd/containers/alejandro02-rec.zfs
lxd/containers/alejandro03                       76,7M   443G   380M  /var/lib/lxd/containers/alejandro03.zfs
lxd/containers/alejandro03-rec                   8,34M   443G   360M  /var/lib/lxd/containers/alejandro03-rec.zfs
lxd/containers/fw-manuel                         70,7M   443G   377M  /var/lib/lxd/containers/fw-manuel.zfs

Running Ubuntu 14.04 with lxd 2.6.2 and ubuntu-zfs (from ppa:zfs-native/stable). An identical container in another host running Ubuntu 16.04 with zfs starts in 1 second without errors in /var/log/lxd/lxd.log .

Any ideas?
Thanks in advance
Manuel Glez.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161214/ea37ebbd/attachment-0001.html>


More information about the lxc-users mailing list