[pve-devel] [PATCH container 0/3] mountpoint support for snapshots

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Feb 24 12:28:32 CET 2016


This patch series adds mountpoint support for snapshots and fixes
an issue when deleting unused volumes.

Tested using ZFS and Ceph, including all three backup modes.

Fabian Grünbichler (3):
  Check volume usage in snapshots before deleting
  Add mp support to snapshots
  Adapt and add testcases for mp support

 src/PVE/LXC.pm                                   | 108 +++++++++++++++--------
 src/PVE/VZDump/LXC.pm                            |  20 +++--
 src/test/snapshot-expected/create/lxc/103.conf   |  27 ++++++
 src/test/snapshot-expected/create/lxc/203.conf   |  10 +++
 src/test/snapshot-expected/delete/lxc/105.conf   |   1 +
 src/test/snapshot-expected/delete/lxc/106.conf   |  10 +++
 src/test/snapshot-expected/delete/lxc/203.conf   |  26 ++++++
 src/test/snapshot-expected/rollback/lxc/105.conf |  29 ++++++
 src/test/snapshot-expected/rollback/lxc/207.conf |  29 ++++++
 src/test/snapshot-expected/rollback/lxc/208.conf |  30 +++++++
 src/test/snapshot-input/create/lxc/103.conf      |  11 +++
 src/test/snapshot-input/create/lxc/203.conf      |  10 +++
 src/test/snapshot-input/delete/lxc/106.conf      |  25 ++++++
 src/test/snapshot-input/delete/lxc/203.conf      |  25 ++++++
 src/test/snapshot-input/rollback/lxc/105.conf    |  29 ++++++
 src/test/snapshot-input/rollback/lxc/207.conf    |  29 ++++++
 src/test/snapshot-input/rollback/lxc/208.conf    |  29 ++++++
 src/test/snapshot-test.pm                        |  34 ++++++-
 18 files changed, 436 insertions(+), 46 deletions(-)
 create mode 100644 src/test/snapshot-expected/create/lxc/103.conf
 create mode 100644 src/test/snapshot-expected/create/lxc/203.conf
 create mode 100644 src/test/snapshot-expected/delete/lxc/106.conf
 create mode 100644 src/test/snapshot-expected/delete/lxc/203.conf
 create mode 100644 src/test/snapshot-expected/rollback/lxc/105.conf
 create mode 100644 src/test/snapshot-expected/rollback/lxc/207.conf
 create mode 100644 src/test/snapshot-expected/rollback/lxc/208.conf
 create mode 100644 src/test/snapshot-input/create/lxc/103.conf
 create mode 100644 src/test/snapshot-input/create/lxc/203.conf
 create mode 100644 src/test/snapshot-input/delete/lxc/106.conf
 create mode 100644 src/test/snapshot-input/delete/lxc/203.conf
 create mode 100644 src/test/snapshot-input/rollback/lxc/105.conf
 create mode 100644 src/test/snapshot-input/rollback/lxc/207.conf
 create mode 100644 src/test/snapshot-input/rollback/lxc/208.conf

-- 
2.1.4





More information about the pve-devel mailing list