[lxc-users] zfs issue after 'apt upgrade'

Ingo Baab ib at baab.de
Thu Jan 5 21:13:21 UTC 2017


Hi Pavol,

  thank you for your help, I really appriciate it.. Seems that lxd did 
not upgrade - or what do you guess?
I do not remember exactly all packages, buw what I know is that the 
zfs-kernel-modules were upgraded..

So far, I am here:

root at myrootbox.com ~ $ *uname -a*
Linux myrootbox.com 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

root at myrootbox.com ~ $ *lxc --version*
2.7

root at myrootbox.com ~ $ *lxd --version*
2.7

root at myrootbox.com ~ $*lsof | grep /lxd/*
systemd      1                  root   44u     unix 
0xffff8800d912a000      0t0      14622 /var/lib/lxd/unix.socket type=STREAM
lxd       2267                  root    4w REG              253,2  
9401277     390147 /var/log/lxd/lxd.log
lxd       2267                  root    5u REG               0,38  
1353728         15 /lxd/lxd.db
lxd       2267                  root    6u REG               0,38  
1353728         15 /lxd/lxd.db

root at myrootbox.com ~ $ *apt upgrade -y*
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht 
mehr benötigt:
   linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic
Verwenden Sie »apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
lxd (2.7-0ubuntu2~ubuntu16.04.1~ppa1) wird eingerichtet ...

Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
Unsetting deprecated profile options
Attempting to kill current lxd-bridge
Bringing down and renaming existing bridge lxdbr0 to lxd-upgrade
Creating a new LXD bridge
*error: The network already exists*
dpkg: Fehler beim Bearbeiten des Paketes lxd (--configure):
  Unterprozess installiertes post-installation-Skript gab den Fehlerwert 
1 zurück
Fehler traten auf beim Bearbeiten von:
  lxd
E: Sub-process /usr/bin/dpkg returned an error code (1)


Am 05.01.2017 um 21:33 schrieb Pavol Cupka:
> what packages were upgraded, what versions of lxc,lxd are you running, 
> and what kernel versions are you running? what files are open on the 
> affected dataset?
>
> On Thu, Jan 5, 2017 at 9:19 PM, Ingo Baab <ib at baab.de 
> <mailto:ib at baab.de>> wrote:
>
>     Hello List,
>
>     I got some serious issues with my zfs-file-system, after upgrade
>     of my ubuntu system.
>     "lxc list" reports a status of ERROR and if I try to start a
>     container I get:
>
>     root at myrootbox.com <mailto:root at myrootbox.com> / $ lxc start
>     --debug u16
>
>     DBUG[01-05|21:07:03] Raw response: {"error":"Failed to run: zfs
>     set mountpoint=none lxd: umount: /lxd/images: target is busy\n   
>         (In some cases useful info about processes that\n         use
>     the device is found by lsof(8) or fuser(1).)\ncannot unmount
>     '/lxd/images': umount failed","error_code":500,"type":"error"}
>
>
>     error: Failed to run: zfs set mountpoint=none lxd: umount:
>     /lxd/images: target is busy
>             (In some cases useful info about processes that
>              use the device is found by lsof(8) or fuser(1).)
>     cannot unmount '/lxd/images': umount failed
>
>     Some more output about my problem you can find at:
>     https://github.com/lxc/lxd/issues/1990
>     <https://github.com/lxc/lxd/issues/1990>
>
>     Help! Any tip or help is highly appriciated!
>     kind regards,
>     -Ingo
>
>     _______________________________________________
>     lxc-users mailing list
>     lxc-users at lists.linuxcontainers.org
>     <mailto:lxc-users at lists.linuxcontainers.org>
>     http://lists.linuxcontainers.org/listinfo/lxc-users
>     <http://lists.linuxcontainers.org/listinfo/lxc-users>
>
>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

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


More information about the lxc-users mailing list