I have witnessed this too. This actually becomes a problem if it is called more than once in the same second: apt-btrfs-snapshot discards the microsecond when creating the snapshot name. Since the subvolume (snapshot) already exists on the second call, btrfs dumps the second snapshot WITHIN the first.
This creates something like: sudo btrfs subvolume list -p . ID 256 parent 5 top level 5 path @ ID 305 parent 5 top level 5 path @apt-snapshot-2012-06-20_09:33:18 ID 306 parent 305 top level 5 path @apt-snapshot-2012-06-20_09:33:18/@ This will prevent @apt-snapshot-2012-06-20_09:33:18 from being deleted because it has a child subvolume. This might cause: Bug # #997909. I am not sure what happens if more than two snapshots happen in the same second. I would assume the third would fail looking like: #853849 Simple solutions: keep the microseconds or add a random (or incrementing ) postfix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/852458 Title: three snapshots created To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-btrfs-snapshot/+bug/852458/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
