[pve-devel] [PATCH container 2/2] adding linux LIO support

2018-06-08 Thread Udo Rader
--- PVE/Storage/LunCmd/LIO.pm | 398 ++ 1 file changed, 398 insertions(+) create mode 100644 PVE/Storage/LunCmd/LIO.pm diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm new file mode 100644 index 000..2d8c2ee --- /dev/null +++

[pve-devel] [PATCH container 1/2] adding linux LIO support

2018-06-08 Thread Udo Rader
--- PVE/Storage/LunCmd/Makefile | 2 +- PVE/Storage/ZFSPlugin.pm| 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/LunCmd/Makefile b/PVE/Storage/LunCmd/Makefile index b959255..a7209d1 100644 --- a/PVE/Storage/LunCmd/Makefile +++

[pve-devel] [PATCH container 0/2] Linux LIO/targetcli support

2018-06-08 Thread Udo Rader
based on the initiator's InitiatorName When adding a LIO iSCSI target, the "Target group" field has to be populated with the fitting "Target Portal Group" name (typically something like 'tpg1'). Udo Rader (2): adding linux LIO support adding linux LIO support PVE/S

[pve-devel] [PATCH pve-manager 1/1] adding LIO option to iSCSI dialog

2018-06-08 Thread Udo Rader
Signed-off-by: Udo Rader --- www/manager6/form/iScsiProviderSelector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/manager6/form/iScsiProviderSelector.js b/www/manager6/form/iScsiProviderSelector.js index 9a87bea9..5d10c1b7 100644 --- a/www/manager6/form

[pve-devel] [PATCH pve-manager 0/1] add LIO support to UI

2018-06-08 Thread Udo Rader
Udo Rader (1): adding LIO option to iSCSI dialog www/manager6/form/iScsiProviderSelector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin

[pve-devel] potential contribution: ZFS via iSCSI using LIO/targetcli

2018-06-07 Thread Udo Rader
know how and where to send the pull request to (or whatever format). BR Udo [1] https://forum.proxmox.com/threads/zfs-via-iscsi-using-lio-targetcli.43355/ -- Udo Rader, CEO BestSolution.at EDV Systemhaus GmbH Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck http://www.bestsolution.at/ Reg. Nr. FN

Re: [pve-devel] potential contribution: ZFS via iSCSI using LIO/targetcli

2018-06-14 Thread Udo Rader
t, we can try to include > you patches. Please send patches or pull request to this list. Hi, Some days ago I've submitted both the contributors agreement to your office@ address and the patches to this list - anything else you need from my side? Cheers Udo -- Udo Rader, GF/CEO BestSolution.at

Re: [pve-devel] [PATCH container 0/2] Linux LIO/targetcli support

2018-06-15 Thread Udo Rader
I have not fully investigated this though. Originally I always repopulated the SETTINGS variable before running any "LUN command", but after looking at the other implementations, I decided to do it as they do it. So the "easy" fix for this would probably be to revert that

Re: [pve-devel] [PATCH V3 storage 0/4] updated Linux targetcli/LIO support

2018-07-26 Thread Udo Rader
to all other iSCSI providers as well. Unfortunately I don't have access to other iSCSI servers but LIO based ones, and so I don't really feel comfortable changing code for the other providers. The rest of your remarks has been incorporated. Cheers Udo -- Udo Rader, GF/CEO BestSolution.at EDV Sy

[pve-devel] [PATCH v4 storage 1/1] Linux LIO/targetcli support

2018-07-26 Thread Udo Rader
Introducing LIO/targetcli support allowing to use recent linux distributions as iSCSI targets for ZFS volumes. In order for this to work, two preconditions have to be met: 1. the portal has to be set up correctly using targetcli 2. the initiator has to be authorized to connect to the target

[pve-devel] [PATCH v4 storage 0/1] refactored Linux LIO/targetcli support

2018-07-26 Thread Udo Rader
he fitting patch for the pve-manager, adding this property to the UI. And finally I've squashed all previous commits into just one. Udo Rader (1): Linux LIO/targetcli support PVE/Storage/LunCmd/LIO.pm | 387 PVE/Storage/LunCmd/Makefile | 2 +- P

[pve-devel] [PATCH v2 manager 1/1] Linux LIO/targetcli support

2018-07-26 Thread Udo Rader
adding LIO option and dedicated "LIO target portal group" input field to the "Add: ZFS via iSCSI" dialog --- www/manager6/form/iScsiProviderSelector.js | 3 ++- www/manager6/storage/ZFSEdit.js| 7 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git

[pve-devel] [PATCH v2 manager 0/1] refactored Linux LIO/targetcli support

2018-07-26 Thread Udo Rader
UI changes required to support Linux LIO iSCSI targets. Udo Rader (1): Linux LIO/targetcli support www/manager6/form/iScsiProviderSelector.js | 3 ++- www/manager6/storage/ZFSEdit.js| 7 +++ 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.18.0

Re: [pve-devel] [PATCH v4 storage 1/1] Linux LIO/targetcli support

2018-08-02 Thread Udo Rader
as requested, adding my DCO: Signed-Off-By: Udo Rader On Thu, 2018-07-26 at 23:26 +0200, Udo Rader wrote: > Introducing LIO/targetcli support allowing to use recent linux > distributions as iSCSI targets for ZFS volumes. > > In order for this to work, two preconditions have to be

Re: [pve-devel] [PATCH v2 manager 1/1] Linux LIO/targetcli support

2018-08-02 Thread Udo Rader
as requested, adding my DCO here, too: Signed-Off-By: Udo Rader On Thu, 2018-07-26 at 23:28 +0200, Udo Rader wrote: > adding LIO option and dedicated "LIO target portal group" input field > to the > "Add: ZFS via iSCSI" dialog > --- > www/manager6/form/iScs

Re: [pve-devel] [PATCH v4 storage 1/1] Linux LIO/targetcli support

2018-08-02 Thread Udo Rader
ot need to resend the patch with > it, > just replying here (or better to your patches mail itself) with this > line, which would be formatted as Stoiko's Tested-By line above, > would > be enough - just that we have it on the record :) done. -- Udo Rader, GF/CEO BestSolutio

[pve-devel] [PATCH V3 storage 1/4] adding linux LIO support

2018-06-29 Thread Udo Rader
--- PVE/Storage/LunCmd/Makefile | 2 +- PVE/Storage/ZFSPlugin.pm| 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/LunCmd/Makefile b/PVE/Storage/LunCmd/Makefile index b959255..a7209d1 100644 --- a/PVE/Storage/LunCmd/Makefile +++

[pve-devel] [PATCH V3 storage 2/4] adding linux LIO support

2018-06-29 Thread Udo Rader
--- PVE/Storage/LunCmd/LIO.pm | 398 ++ 1 file changed, 398 insertions(+) create mode 100644 PVE/Storage/LunCmd/LIO.pm diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm new file mode 100644 index 000..2d8c2ee --- /dev/null +++

[pve-devel] [PATCH V3 storage 0/4] updated Linux targetcli/LIO support

2018-06-29 Thread Udo Rader
fixed a typo that prevented LIO.pm from loading Udo Rader (4): adding linux LIO support adding linux LIO support expiring cached iSCSI configuration after 15 seconds, after which it is re-read from the portal fixed syntax error, preventing LIO.pm from loading PVE/Storage/LunCmd

[pve-devel] [PATCH V3 storage 4/4] fixed syntax error, preventing LIO.pm from loading

2018-06-29 Thread Udo Rader
--- PVE/Storage/LunCmd/LIO.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm index 44dd508..46f9613 100644 --- a/PVE/Storage/LunCmd/LIO.pm +++ b/PVE/Storage/LunCmd/LIO.pm @@ -1,4 +1,4 @@ -ackage PVE::Storage::LunCmd::LIO;

[pve-devel] [PATCH V3 storage 3/4] expiring cached iSCSI configuration after 15 seconds, after which it is re-read from the portal

2018-06-29 Thread Udo Rader
Signed-off-by: Udo Rader --- PVE/Storage/LunCmd/LIO.pm | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm index 2d8c2ee..44dd508 100644 --- a/PVE/Storage/LunCmd/LIO.pm +++ b/PVE/Storage/LunCmd/LIO.pm @@ -1,4

Re: [pve-devel] [PATCH container 0/2] Linux LIO/targetcli support

2018-06-28 Thread Udo Rader
? I've just submitted a new version of the patch that expires the $SETTINGS "cache" after 15 seconds, so if I'm right, that should solve your issues ("[PATCH V2 storage 0/3] updated Linux targetcli/LIO support") As per how expensive it is to query the portal too often, I can't rea

[pve-devel] [PATCH V2 storage 2/3] adding linux LIO support

2018-06-28 Thread Udo Rader
--- PVE/Storage/LunCmd/LIO.pm | 398 ++ 1 file changed, 398 insertions(+) create mode 100644 PVE/Storage/LunCmd/LIO.pm diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm new file mode 100644 index 000..2d8c2ee --- /dev/null +++

[pve-devel] [PATCH V2 storage 1/3] adding linux LIO support

2018-06-28 Thread Udo Rader
--- PVE/Storage/LunCmd/Makefile | 2 +- PVE/Storage/ZFSPlugin.pm| 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/LunCmd/Makefile b/PVE/Storage/LunCmd/Makefile index b959255..a7209d1 100644 --- a/PVE/Storage/LunCmd/Makefile +++

[pve-devel] [PATCH V2 storage 3/3] expiring cached iSCSI configuration after 15 seconds, after which it is re-read from the portal

2018-06-28 Thread Udo Rader
Signed-off-by: Udo Rader --- PVE/Storage/LunCmd/LIO.pm | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/PVE/Storage/LunCmd/LIO.pm b/PVE/Storage/LunCmd/LIO.pm index 2d8c2ee..44dd508 100644 --- a/PVE/Storage/LunCmd/LIO.pm +++ b/PVE/Storage/LunCmd/LIO.pm @@ -1,4

[pve-devel] [PATCH V2 storage 0/3] updated Linux targetcli/LIO support

2018-06-28 Thread Udo Rader
it. Udo Rader (3): adding linux LIO support adding linux LIO support expiring cached iSCSI configuration after 15 seconds, after which it is re-read from the portal PVE/Storage/LunCmd/LIO.pm | 407 PVE/Storage/LunCmd/Makefile | 2 +- PVE/Storage