[pve-devel] [PATCH] Handle bug 868, freeze hang

2016-01-14 Thread Gerrit Venema
popping up into the scheduler will be frozen anyway. This patch removes some code duplication and adds the timeout to the invoke. Gerrit Venema (1): [FIX] Avoid indefinite wait on lxc-freeze command. src/PVE/LXC.pm| 27 --- src/PVE/VZDump/LXC.pm | 4 ++-- 2 files

[pve-devel] [PATCH] [FIX] Avoid indefinite wait on lxc-freeze command.

2016-01-14 Thread Gerrit Venema
lxc-freeze is not guaranteed to return in a reasonable time. Processes waiting in uninterruptible state stall the freeze. But when the container is in FREEZING state, processes popping up will be frozen immediately anyway, so just abort after 15 seconds. Signed-off-by: Gerrit Venema --- src/PVE

[pve-devel] [PATCH] Enable thin storage type for LXC and snapshots.

2016-01-10 Thread Gerrit Venema
plugins in pve-storage. Extra: For using thin LVM on Proxmox Jessie you have to install the 'thin-provisioning-tools' package. Gerrit Venema (1): [FIX] Fix snapshot logic and enable lvmthin storage type. src/PVE/LXC.pm | 54 +++--- 1 file c

[pve-devel] [PATCH] [FIX] Fix snapshot logic and enable lvmthin storage type.

2016-01-10 Thread Gerrit Venema
This enables the container to use the lvmthin storage type if one is set up. It also fixes some logic in the handling of the freeze, errors on rollback and the handling of the config sections to keep a correct tree of snapshots. Signed-off-by: Gerrit Venema --- src/PVE/LXC.pm | 54

[pve-devel] [PATCH] Enabling snapshot rollback and delete for LVM thinpool.

2016-01-10 Thread Gerrit Venema
pve-storage.git: This patch will allow rolling back and deleting snapshots on a LVM thinpool. Also bypass size check for virtual sized volumes. Gerrit Venema (1): [FEATURE] Enable snapshot rollback and delete on a thinpool volume. PVE/Storage/LVMPlugin.pm | 8 +--- PVE/Storage

[pve-devel] [PATCH] [FEATURE] Enable snapshot rollback and delete on a thinpool volume.

2016-01-10 Thread Gerrit Venema
Also little tweaks to ensure activation and bypass free check for size. Signed-off-by: Gerrit Venema --- PVE/Storage/LVMPlugin.pm | 8 +--- PVE/Storage/LvmThinPlugin.pm | 26 -- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/PVE/Storage

[pve-devel] [PATCH] [FEATURE] Apply the options of lxc.rootfs.options on rootfs.

2016-01-09 Thread Gerrit Venema
mount influence the host system and there is no history for the original settings. Signed-off-by: Gerrit Venema --- src/PVE/LXC.pm | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 6023334..832b8ab 100644 --- a/src/PVE/LXC.pm +++

[pve-devel] [PATCH] Apply options lxc.rootfs

2016-01-09 Thread Gerrit Venema
easy way to reset the mount options afterwards, and unwanted effects may remain in the host after shutting down the container. Gerrit Venema (1): [FEATURE] Apply the options of lxc.rootfs.options on rootfs. src/PVE/LXC.pm | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions