Public bug reported: [Rationale] ZFS module of docker creates many snapshots under <pool>/ROOT/machineid/var/lib/<ID>. These snapshots are processed by zsys and lead to timeout.
This patch migrates the snapshots created by docker under the persistent dataset <pool>/var/lib/docker/ so they are scanned and then ignored by zsys. [Test Case] 1. On a machine with docker installed, create a docker container: $ docker run ubuntu 2. Verify that docker created snapshots under <pool>/ROOT/machineid/var/lib/<ID> with zfs list 3. Install the new version 4. Verify that the snapshots have been migrated to <pool>/var/lib/docker/ 5. Verify that docker is still working: $ docker run ubuntu [Regression Potential] The change only affects the postinst. The risk is that dataset are not migrated or partially migrated. Then new snapshots are created on a different location and containers created or run from an existing image won't start. ** Affects: docker.io (Ubuntu) Importance: High Assignee: Didier Roche (didrocks) Status: Triaged ** Changed in: docker.io (Ubuntu) Status: New => Triaged ** Changed in: docker.io (Ubuntu) Importance: Undecided => High ** Changed in: docker.io (Ubuntu) Assignee: (unassigned) => Didier Roche (didrocks) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879473 Title: hundreds of snapshots created by docker zfs lead to zsys timeout To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1879473/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs