[pve-devel] [PATCH v3 pve-container 1/3] First beta of FreeNAS storage plugin

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- src/PVE/API2/LXC.pm | 9 + src/PVE/LXC.pm | 6 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index d9ad5ff..9cf22de

[pve-devel] [PATCH v3 pve-container 0/3] FreeNAS storage plugin

2017-06-20 Thread mir
From: Michael Rasmussen Enable FreeNAS as a valid storage plugin for LXC Changes since v2: * Fix bug in FreeNASPlugin.pm which prevented online resize. This reverts changes in v2 * Repatch to comply to Proxmox git workflow Changes since v1: * Disable online

[pve-devel] [PATCH v3 pve-container 3/3] Revert special case for LXC online resize.

2017-06-20 Thread mir
From: Michael Rasmussen The special handling is not needed since a fix is provided in FreeNAS.pm Signed-off-by: Michael Rasmussen --- src/PVE/API2/LXC.pm | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/PVE/API2/LXC.pm

[pve-devel] [PATCH v3 pve-container 2/3] Correctly bail when online resize for CT is requested.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- src/PVE/API2/LXC.pm | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 9cf22de..d333bea 100644 ---

[pve-devel] [PATCH v7 pve-storage 09/10] Implement support for linked clones.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 56 1 file changed, 56 insertions(+) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index

[pve-devel] [PATCH v7 pve-storage 08/10] Implement support for snapshots

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 72 +++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v7 pve-storage 10/10] Enable plugin in current storage system

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage.pm| 2 ++ PVE/Storage/Makefile | 2 +- PVE/Storage/Plugin.pm | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/Storage.pm b/PVE/Storage.pm index

[pve-devel] [PATCH v7 pve-storage 03/10] Basic iscsiadm interaction code

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 119 +++ 1 file changed, 119 insertions(+) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index

[pve-devel] [PATCH v7 pve-storage 05/10] Refactor method to find next lun number.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index

[pve-devel] [PATCH v7 pve-storage 02/10] Basic FreeNAS API interaction code

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 415 +++ 1 file changed, 415 insertions(+) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index

[pve-devel] [PATCH v7 pve-storage 01/10] FreeNAS storage plugin. Skeleton code.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 66 1 file changed, 66 insertions(+) create mode 100644 PVE/Storage/FreeNASPlugin.pm diff --git

[pve-devel] [PATCH v7 pve-storage 07/10] Implement support for cloning images.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 27 +++ 1 file changed, 27 insertions(+) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 943eeab..9c0136d

[pve-devel] [PATCH v7 pve-storage 06/10] Implement support for volume resize

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 31 +++ 1 file changed, 31 insertions(+) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 91a1b0c..943eeab

[pve-devel] [PATCH v7 pve-storage 04/10] Basic storage operations.

2017-06-20 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 597 ++- 1 file changed, 589 insertions(+), 8 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v7 pve-storage 00/10] FreeNAS storage plugin

2017-06-20 Thread mir
From: Michael Rasmussen This patch series adds a storage plugin for FreeNAS using the FreeNAS API. The plugin supports both Qemu and LXC VM. Features supported, see below: VM CT create YES YES delete YES

[pve-devel] [PATCH v6 pve-storage 5/6] Fix regression and indentation

2017-06-19 Thread mir
From: Michael Rasmussen snapshot backup of CT broke general snapshot handling. Handle snapshot creation and deletion properly. Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 1570 +- 1 file

[pve-devel] [PATCH v6 pve-storage 6/6] Bug fixes and clean-ups in response to review from Fabian.

2017-06-19 Thread mir
From: Michael Rasmussen Changes since v5: * if ! to unless * all helper methods now private * remove unused includes * remove unused code * more descriptive variable names * change api timeout to be in sync with the PVE API * add loop over limit until empty resultset is

[pve-devel] [PATCH v6 pve-storage 0/6] FreeNAS storage plugin

2017-06-19 Thread mir
From: Michael Rasmussen (Resending, Diregard previous) This patch series adds a storage plugin for FreeNAS using the FreeNAS API. The plugin supports both Qemu and LXC VM. Features supported, see below: VM CT create YES

[pve-devel] [PATCH v6 pve-storage 3/6] Fix missing $vmid

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index c438519..0f2a56d 100644 ---

[pve-devel] [PATCH v6 pve-storage 2/6] Proper check if VM/CT is running

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 771061e..c438519 100644 ---

[pve-devel] [PATCH v6 pve-storage 4/6] Add support for creating LXC snapshot backup

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 129 +-- 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v6 pve-storage 1/6] First beta of FreeNAS storage plugin. Missing snapshot backup for LXC

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +-

[pve-devel] [PATCH v6 pve-storage 4/6] Add support for creating LXC snapshot backup

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 129 +-- 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v6 pve-storage 3/6] Fix missing $vmid

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index c438519..0f2a56d 100644 ---

[pve-devel] [PATCH v6 pve-storage 2/6] Proper check if VM/CT is running

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 771061e..c438519 100644 ---

[pve-devel] [PATCH v6 pve-storage 6/6] Bug fixes and clean-ups in response to review from Fabian.

2017-06-19 Thread mir
From: Michael Rasmussen Changes since v5: * if ! to unless * all helper methods now private * remove unused includes * remove unused code * more descriptive variable names * change api timeout to be in sync with the PVE API * add loop over limit until empty resultset is

[pve-devel] [PATCH v6 pve-storage 1/1] A lot of bug fixes and clean-ups

2017-06-19 Thread mir
From: Michael Rasmussen fixes TODO Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 1011 ++ 1 file changed, 533 insertions(+), 478 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v6 pve-storage 0/6] FreeNAS storage plugin

2017-06-19 Thread mir
From: Michael Rasmussen This patch series adds a storage plugin for FreeNAS using the FreeNAS API. The plugin supports both Qemu and LXC VM. Features supported, see below: VM CT create YES YES delete YES

[pve-devel] [PATCH v6 pve-storage 1/6] First beta of FreeNAS storage plugin. Missing snapshot backup for LXC

2017-06-19 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +-

[pve-devel] [PATCH v6 pve-storage 5/6] Fix regression and indentation

2017-06-19 Thread mir
From: Michael Rasmussen snapshot backup of CT broke general snapshot handling. Handle snapshot creation and deletion properly. Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 1570 +- 1 file

[pve-devel] [PATCH v6 pve-storage 1/1] A lot of bug fixes and clean-ups

2017-06-17 Thread mir
From: Michael Rasmussen fixes TODO Signed-off-by: Michael Rasmussen --- PVE/Storage/FreeNASPlugin.pm | 1011 ++ 1 file changed, 533 insertions(+), 478 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm

[pve-devel] [PATCH v6 pve-storage 0/1] FreeNAS storage plugin

2017-06-17 Thread mir
From: Michael Rasmussen This is a patch to be added to v5 of the patch series. fixes # if ! to unless # all helper methods now private # remove unused includes # remove unused code # more descriptive variable names # change api timeout to be in sync with the PVE API # add loop

[pve-devel] [PATCH v2 pve-container 1/1] Correctly bail when online resize for CT is requested.

2017-06-17 Thread mir
From: Michael Rasmussen Signed-off-by: Michael Rasmussen --- src/PVE/API2/LXC.pm | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 9cf22de..d333bea 100644 ---

[pve-devel] [PATCH v2 pve-container 0/1] FreeNAS storage plugin

2017-06-17 Thread mir
From: Michael Rasmussen The is a fix in response to comments from Fabian. Pass value of $running to volume_resize if storage id is freenas Michael Rasmussen (1): Correctly bail when online resize for CT is requested. src/PVE/API2/LXC.pm | 22

[pve-devel] Fix bug in parser using a read-only variable

2014-10-24 Thread mir
Fix bug as found is this thread: http://forum.proxmox.com/threads/20070-Proxmox-VE-3-3-and-Freenas-9-2-7-ZFS-via-ISCSI This mail was virus scanned and spam checked before delivery. This mail is also DKIM signed. See header dkim-signature. ___

[pve-devel] [PATCH] fix modification of read only bug

2014-10-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Istgt.pm | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/PVE/Storage/LunCmd/Istgt.pm b/PVE/Storage/LunCmd/Istgt.pm index c17d1c8..8594f77 100644 ---

[pve-devel] [PATCH] relax gcc check. honor CC environment

2014-07-08 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e2c1bc..f359e05 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@

[pve-devel] Relax gcc check in Makefile

2014-07-08 Thread mir
- Relax gcc check in Makefile so any gcc version 4.7 can be used. Debian Sid has version 4.7.4 - Honor CC environment so compiling with non default gcc is possible without changing symliks. Example: make CC=gcc-4.7 This mail was virus scanned and spam checked before delivery. This

[pve-devel] [PATCH] Missing commas added

2014-06-26 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js b/www/manager/storage/ZFSEdit.js index 8581dc4..0904675 100644 ---

[pve-devel] [PATCH 1/1] Extend GUI to show new ZFS features

2014-06-25 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 34 -- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js b/www/manager/storage/ZFSEdit.js

[pve-devel] [PATCH 1/1] add initiator-name to iscsi drives if configured

2014-05-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/QemuServer.pm | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 2cb2d95..c4ec8fa 100644 ---

[pve-devel] ZFS plugin: Patch to solve issue with nexenta

2013-11-04 Thread mir
Hi Alexandré, Can you please test this patch on Nexenta? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] Fix indentation.

2013-10-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 242 - 1 file changed, 121 insertions(+), 121 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js

[pve-devel] [PATCH 2/2] Change isci provider field from text input to drop-down list

2013-10-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js b/www/manager/storage/ZFSEdit.js index

[pve-devel] [PATCH 1/2] Fix indentation.

2013-10-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 242 - 1 file changed, 121 insertions(+), 121 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js

[pve-devel] [PATCH] Change iscsi provider to drop-down box Available isci providers are listed in a drop-down box for the user to choose. Fix some indentation problems as well.

2013-10-23 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 256 ++--- 1 file changed, 135 insertions(+), 121 deletions(-) diff --git a/www/manager/storage/ZFSEdit.js

[pve-devel] [PATCH] Code clean up. Fix wrong indentation.

2013-10-22 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Iet.pm | 710 +++--- 1 file changed, 355 insertions(+), 355 deletions(-) diff --git a/PVE/Storage/LunCmd/Iet.pm b/PVE/Storage/LunCmd/Iet.pm

[pve-devel] Iet.pm: Correct wrong indentation

2013-10-22 Thread mir
Patch to correct indentation to use 4 spaces consistently. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] ZFSPlugin et al: use ssh key from pmxcfs

2013-10-22 Thread mir
This patch implements support for cluster wide usage of a single ssh key. The key is stored in /etc/pve/priv/zfs and distributed through pmxcfs. One key is create for each storage and used for all pools and targets on the storage. Naming convention: portal_id_rsa

[pve-devel] [PATCH 1/1] Use ssh key stored in pmxcfg. Use ssh -i /etc/pve/priv/zfs/portal_id_rsa for remote commands

2013-10-22 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Comstar.pm | 141 +++ PVE/Storage/LunCmd/Iet.pm | 7 +- PVE/Storage/LunCmd/Istgt.pm | 861 +- PVE/Storage/ZFSPlugin.pm | 335

[pve-devel] [PATCH 2/2] Added support for iSCSI Enterprise Target Daemon (iet) iscsitarget used in Linux distributions.

2013-10-20 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Iet.pm | 477 ++ PVE/Storage/ZFSPlugin.pm | 7 +- 2 files changed, 483 insertions(+), 1 deletion(-) create mode 100644

[pve-devel] ZFSPlugin: Added support for iSCSI Enterprise Target Daemon (Linux)

2013-10-20 Thread mir
These two patches ends the circle of adding ZFS support for Proxmox. Patch 1: Some code clean up in Istgt.pm Patch 2: Iet.pm which contains support for ZFS on Linux and the changes in ZFSPlugin.pm required to use thus new feature. ___ pve-devel mailing

[pve-devel] [PATCH 1/2] Code clean up

2013-10-20 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Istgt.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PVE/Storage/LunCmd/Istgt.pm b/PVE/Storage/LunCmd/Istgt.pm index 13d57fa..5c05a3d 100644 ---

[pve-devel] [PATCH 2/3] Comstar lun commands moved to separate module

2013-10-16 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Comstar.pm | 101 ++ 1 file changed, 101 insertions(+) create mode 100644 PVE/Storage/LunCmd/Comstar.pm diff --git

[pve-devel] [PATCH 1/3] Prepare for adding support for istgt and openiscsi Refactor code. Move any LUN related to proper LUN module.

2013-10-16 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 151 +-- 1 file changed, 80 insertions(+), 71 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index

[pve-devel] [PATCH 3/3] Module to support istgt lun commands Istgt is used on any *BSD. As of FreeBSD 10 it seems FreeBSD will provide thier own native replacement.

2013-10-16 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/LunCmd/Istgt.pm | 580 1 file changed, 580 insertions(+) create mode 100644 PVE/Storage/LunCmd/Istgt.pm diff --git

[pve-devel] Extend ZFSPlugin to support istgt

2013-10-16 Thread mir
The following patches adds support for istgt which is used in *BSD to provide iSCSI. To be able to support more than Comstar a refactoring of the code was necessary. Refactoring has moved any reference to LUN commands to separate modules created in a subfolder in Storage (LunCmd).

[pve-devel] ZFSPlugin: Bug in calculation of pool size

2013-10-12 Thread mir
Attached patch fixes a bug in the pool size calculation. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] Fixes bug in calculating pool size

2013-10-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index efcdd04..a50f7cb 100644 ---

[pve-devel] Final fixes to gui for ZFSPlugin (disregard last mail)

2013-10-03 Thread mir
- Removed all references to sudo, chap, and password. - Use Utils to format storage name in gui panel - Move target name to line for itself since names can be long ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH 2/3] ZFS-gui-reworked-so-that-unused-config-is-dropped

2013-10-03 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 145 + 1 file changed, 145 insertions(+) create mode 100644 www/manager/storage/ZFSEdit.js diff --git

[pve-devel] [PATCH 3/3] Display-target-name-better-and-fix-typo

2013-10-03 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/dc/StorageView.js | 2 +- www/manager/storage/ZFSEdit.js | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/www/manager/dc/StorageView.js

[pve-devel] [PATCH 1/3] Latest-changes-which-removes-unused-config

2013-10-03 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/Makefile | 1 + www/manager/Utils.js | 2 ++ www/manager/dc/StorageView.js | 11 +++ www/manager/qemu/Clone.js | 3 ++- www/manager/qemu/HDEdit.js| 3

[pve-devel] [PATCH] Remove unused functionality

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index c8a47d2..c25d5ec 100644 ---

[pve-devel] Final fixes for ZFSPlugin

2013-10-02 Thread mir
Removed all reference to sudo, chap, and password ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] Final fixes to gui for ZFSPlugin

2013-10-02 Thread mir
- Removed all references to sudo, chap, and password. - Use Utils to format storage name in gui panel - Move target name to line for itself since names can be long ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH 2/2] ZFS gui reworked so that unused config is dropped

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 145 + 1 file changed, 145 insertions(+) create mode 100644 www/manager/storage/ZFSEdit.js diff --git

[pve-devel] [PATCH 1/2] Latest changes which removes unused config.

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/API2/OpenVZ.pm| 6 -- www/manager/Makefile | 1 + www/manager/Utils.js | 2 ++ www/manager/dc/StorageView.js | 11 +++ www/manager/qemu/Clone.js |

[pve-devel] [PATCH 2/3] ZFS gui reworked so that unused config is dropped

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/storage/ZFSEdit.js | 145 + 1 file changed, 145 insertions(+) create mode 100644 www/manager/storage/ZFSEdit.js diff --git

[pve-devel] [PATCH 3/3] Display target name better and fix typo

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/dc/StorageView.js | 2 +- www/manager/storage/ZFSEdit.js | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/www/manager/dc/StorageView.js

[pve-devel] [PATCH 1/3] Latest changes which removes unused config.

2013-10-02 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/API2/OpenVZ.pm| 6 -- www/manager/Makefile | 1 + www/manager/Utils.js | 2 ++ www/manager/dc/StorageView.js | 11 +++ www/manager/qemu/Clone.js |

[pve-devel] [PATCH 01/01] Added support for ZFS Storage Plugin

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/Makefile | 1 + www/manager/Utils.js | 2 + www/manager/dc/StorageView.js | 11 +++ www/manager/qemu/Clone.js | 3 +- www/manager/qemu/HDEdit.js | 3

[pve-devel] Final version of ZFS plugin

2013-08-24 Thread mir
This patch provides the needed changes to apply the ZFS plugin. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 07/09] When resizing a disk also resize the LUN.

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index a562635..c5bf8c4 100644 ---

[pve-devel] [PATCH 01/09] Added support for ZFS Storage Plugin

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage.pm | 2 + PVE/Storage/Makefile | 2 +- PVE/Storage/Plugin.pm| 2 +- PVE/Storage/ZFSPlugin.pm | 646 +++ 4 files changed,

[pve-devel] [PATCH 02/09] If remove of a base-image fails because of dependent clones we must recreate the lun since dependent clones require access to the image.

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 909f71f..b02a87a 100644 ---

[pve-devel] [PATCH 06/09] Explicite use user root when making ssh call.

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 0ec6632..a562635 100644 ---

[pve-devel] [PATCH 04/09] Only append volumes which is created by pve-manager

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index e39b965..ff32b97 100644 ---

[pve-devel] [PATCH 09/09] Improve performance when fetching list of zvols

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 151 ++- 1 file changed, 57 insertions(+), 94 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index

[pve-devel] [PATCH 05/09] Refactored code according to suggestions by Alexandre. Also fixed bug so that parent to an image is returned.

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net The fix solves timeout problems in pve GUI since refactored code runs 5 times faster than original code. Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 70 1 file changed,

[pve-devel] [PATCH 08/09] This newest version fixes a serious bug cause my asynchronious AJAX calls from web gui.

2013-08-24 Thread mir
From: Michael Rasmussen m...@datanom.net The problem displays its ugly face when the content tab is invoked in the gui. This request calls to plugin method 'list_images' which will produce a list of all images available on the storage server. After the gui receives this list it will call the

[pve-devel] [PATCH 01/01] Added support for ZFS Storage Plugin

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- www/manager/Makefile | 1 + www/manager/Utils.js | 2 + www/manager/dc/StorageView.js | 11 +++ www/manager/qemu/Clone.js | 3 +- www/manager/qemu/HDEdit.js | 3

[pve-devel] [PATCH 02/09] If remove of a base-image fails because of dependent clones we must recreate the lun since dependent clones require access to the image.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 909f71f..b02a87a 100644 ---

[pve-devel] [PATCH 08/09] When resizing a disk also resize the LUN.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index a562635..c5bf8c4 100644 ---

[pve-devel] [PATCH 09/09] This newest version fixes a serious bug cause my asynchronious AJAX calls from web gui.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net The problem displays its ugly face when the content tab is invoked in the gui. This request calls to plugin method 'list_images' which will produce a list of all images available on the storage server. After the gui receives this list it will call the

[pve-devel] [PATCH 03/09] Remove unnecessary output from error message.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index b02a87a..0addd0b 100644 ---

[pve-devel] [PATCH 05/09] Only append volumes which is created by pve-manager

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index e39b965..ff32b97 100644 ---

[pve-devel] [PATCH 06/09] Refactored code according to suggestions by Alexandre. Also fixed bug so that parent to an image is returned.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net The fix solves timeout problems in pve GUI since refactored code runs 5 times faster than original code. Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 70 1 file changed,

[pve-devel] [PATCH 04/09] Fix small variable name conflict.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 0addd0b..e39b965 100644 ---

[pve-devel] [PATCH 07/09] Explicite use user root when making ssh call.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 0ec6632..a562635 100644 ---

[pve-devel] [PATCH 07/09] Explicite use user root when making ssh call.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 0ec6632..a562635 100644 ---

[pve-devel] [PATCH 03/09] Remove unnecessary output from error message.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index b02a87a..0addd0b 100644 ---

[pve-devel] [PATCH 05/09] Only append volumes which is created by pve-manager

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index e39b965..ff32b97 100644 ---

[pve-devel] [PATCH 04/09] Fix small variable name conflict.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 0addd0b..e39b965 100644 ---

[pve-devel] [PATCH 08/09] When resizing a disk also resize the LUN.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index a562635..c5bf8c4 100644 ---

[pve-devel] Plugin to add support for native ZFS on shared storage

2013-08-12 Thread mir
This newest version fixes a serious bug cause my asynchronious AJAX calls from web gui. The problem displays its ugly face when the content tab is invoked in the gui. This request calls to plugin method 'list_images' which will produce a list of all images available on the storage server. After

[pve-devel] [PATCH 02/09] If remove of a base-image fails because of dependent clones we must recreate the lun since dependent clones require access to the image.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm index 909f71f..b02a87a 100644 ---

[pve-devel] [PATCH 01/09] Added support for ZFS Storage Plugin

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage.pm | 2 + PVE/Storage/Makefile | 2 +- PVE/Storage/Plugin.pm| 2 +- PVE/Storage/ZFSPlugin.pm | 646 +++ 4 files changed,

[pve-devel] [PATCH 09/09] This newest version fixes a serious bug cause my asynchronious AJAX calls from web gui.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net The problem displays its ugly face when the content tab is invoked in the gui. This request calls to plugin method 'list_images' which will produce a list of all images available on the storage server. After the gui receives this list it will call the

[pve-devel] [PATCH 06/09] Refactored code according to suggestions by Alexandre. Also fixed bug so that parent to an image is returned.

2013-08-12 Thread mir
From: Michael Rasmussen m...@datanom.net The fix solves timeout problems in pve GUI since refactored code runs 5 times faster than original code. Signed-off-by: Michael Rasmussen m...@datanom.net --- PVE/Storage/ZFSPlugin.pm | 70 1 file changed,

  1   2   >