Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-08 Thread Michael Rasmussen
read somewhere that a custom plugin could not get access to individual volumes. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E mir datanom net https://pgp.key-server.io/pks/lookup?search=0xE501F51C mir m

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-08 Thread Michael Rasmussen
dequate for the FreeNAS plugin, or have I misunderstand something? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E mir datanom net https://pgp.key-server.io/pks/lookup?search=0xE501F51C mir miras org

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-08 Thread Michael Rasmussen
On Mon, 8 Jun 2020 11:16:29 +0200 Andreas Steinel wrote: > [2] > https://forum.proxmox.com/threads/frage-zfs-over-nfs.70734/post-318459 > And for those who does not understand German? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https:

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-03 Thread Michael Rasmussen
ve mentioned a few places in the GUI needs to be aware of the new plugin such as in this file: https://git.proxmox.com/?p=pve-storage.git;a=blob;f=PVE/Storage/ZFSPlugin.pm;h=383f0a0cde932da5ce34d792aafb7206517b74ee;hb=HEAD -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasm

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-03 Thread Michael Rasmussen
this ;-) I am convinced that the Proxmox team will welcome such a plugin since supported more storage solution can only benefit Proxmox as a product. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://pgp.key-server.io/pks/lookup?search=0xD3C9A00

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-03 Thread Michael Rasmussen
he LUN limitation was my only objection when I stopped to develop the storage plugin. It should be rather easy to write such a plugin using the istgt code an replace the iSCSI part with cltd. For a motivated developer this should not take more than a weekends work :-) -- Hilsen/Regards Michael Rasmussen

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-03 Thread Michael Rasmussen
On Wed, 3 Jun 2020 12:03:05 +0200 Michael Rasmussen wrote: > so therefore qualifies Should have read 'so therefore not qualifies' ;-) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E mir datanom

Re: [pve-devel] Integration of FreeNAS iSCSI target initiator in Proxmox Enterprise repo

2020-06-03 Thread Michael Rasmussen
has an upper limit of 1024 LUNs per target so therefore qualifies as an plugin alternative to proxmox #define MAX_LUNS 1024 [0] [0] https://github.com/freebsd/freebsd/blob/master/usr.sbin/ctld/ctld.h -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://p

Re: [pve-devel] scsi-hd vs scsi-generic with iSCSI

2019-10-09 Thread Michael Rasmussen
it removed PS. The issue was discussed on this list 2016-09-29 to 2016-09-30 between Alexandre, Dietmar, and me. This was a patch by Alexandre witch was related to an issue related to cpu iothread bottleneck with Ceph and scsi-block vs scsi-generic. -- Hilsen/Regards Michael Rasmussen Get my pu

Re: [pve-devel] [PATCH storage V2 0/3] Fixes in ZFS over iSCSI

2019-09-23 Thread Michael Rasmussen
On Tue, 24 Sep 2019 07:13:21 +0200 Thomas Lamprecht wrote: > On 9/23/19 7:22 PM, Michael Rasmussen wrote: > > On Mon, 23 Sep 2019 16:35:00 +0200 > > Thomas Lamprecht wrote: > > > >>> PVE/Storage/ZFSPlugin.pm | 10 +- > > Could this be a

Re: [pve-devel] [PATCH storage V2 0/3] Fixes in ZFS over iSCSI

2019-09-23 Thread Michael Rasmussen
On Mon, 23 Sep 2019 16:35:00 +0200 Thomas Lamprecht wrote: > > PVE/Storage/ZFSPlugin.pm | 10 +- Could this be a fix to https://bugzilla.proxmox.com/show_bug.cgi?id=2176 ? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc https://pgp.key-ser

Re: [pve-devel] HA Migration on shutdown/reboot

2019-05-28 Thread Michael Rasmussen
currently manually migrating > vms (with migrate_all for example), the HA is migrated them back > before the migrate all is finished, so it's super difficult to have > the node empty for reboot. > Will checking 'nofailback' for the group not solve this? -- Hilsen/Regards Michael Rasmu

Re: [pve-devel] [PATCH storage 0/1] Fix for ZFS over iSCSI on Solaris 11

2019-05-16 Thread Michael Rasmussen
rage > > This sounds like a good idea since initiator name is related to the consumer and not the provider. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:

Re: [pve-devel] HA: vm shutdown/stop behaviour and other HA questions

2019-03-05 Thread Michael Rasmussen
g. there is really no HA for a cluster if every VM member dies with the same node, -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org

Re: [pve-devel] cpuflag: pcid needed in guest for good performance after meltdown

2018-01-09 Thread Michael Rasmussen
ly that this is an Intel problem only (NSA conspiracy hat on) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org http://pgp.mit

Re: [pve-devel] cpuflag: pcid needed in guest for good performance after meltdown

2018-01-09 Thread Michael Rasmussen
cid) > > I have some opterons to test, I'll try next week. All my Opterons show either no effect or only marginally performance hits attached a week average for my mail server. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/l

Re: [pve-devel] cpuflag: pcid needed in guest for good performance after meltdown

2018-01-09 Thread Michael Rasmussen
s an Intel only cpu flag? lscpu |grep Model Model: 2 Model name:AMD Opteron(tm) Processor 3350 HE grep pcid /proc/cpuinfo -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00

Re: [pve-devel] cpuflag: pcid needed in guest for good performance after meltdown

2018-01-08 Thread Michael Rasmussen
-sympathy/L9mHTbeQLNU). > As I understand it it is only required given the guest also uses a kernel that take advantage of this feature and which is, for Linux, a kernel 4.14 post Meltdown fix? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu

Re: [pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Michael Rasmussen
.ipv4.gateway = $d->{gw}\n" if > defined($d->{gw}); > + $raw .= "lxc.network.flags = up\n" if defined($d->{ip}); The if defined($d->{ip}) in this line is not needed since this is already true when entering this condition. -- Hilsen/Regards Michael Rasmussen Get my pu

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

2017-07-04 Thread Michael Rasmussen
Hi all, Is Fabian away for vacation? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org http://pgp.mit.edu:11371/pks

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

2017-06-29 Thread Michael Rasmussen
API limitations. I do wonder whether it would not be better to > skip linked clones until the API exposes this information? otherwise we have > to > keep this workaround supported forever.. > I intend to keep it since linked clones is a huge bonus. -- Hilsen/Regards Michael Rasmussen

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

2017-06-28 Thread Michael Rasmussen
25 years). Since you are the gate keeper to the Proxmox code base I will of course change it - but with objections! ;-) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C

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

2017-06-20 Thread Michael Rasmussen
to validate SSL certificate or not * Password and username in /etc/pve/priv * - /^(base|vm)-(\d+)-disk-\d+$/ in freenas_list_zvols, only $2 is used - /^(vm|base)-(\d+)-/ in freenas_get_target_name, only $2 is used -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen

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

2017-06-20 Thread Michael Rasmussen
the pool are encrypted using the GELI encryption extension which is provided in the FreeNAS gui. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-19 Thread Michael Rasmussen
On Mon, 19 Jun 2017 20:54:18 +0200 Michael Rasmussen <m...@datanom.net> wrote: > Found it ;-) No need to change any code in LXC.pm > Cause: The code I added to circumvent the FreeNAS bug was doing a > rescan of the session which deactivated the volume before the command > u

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-19 Thread Michael Rasmussen
ath/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:vm-113-lun-0 /tmp && resize2fs /dev/disk/by-path/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:vm-113-lun-0' was running resulting in a removing of the LUN from the scsi subsystem. -- Hilsen/Regards Michael Rasmussen Get my

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-19 Thread Michael Rasmussen
: +$os_request->(['iscsiadm', '-m', 'session', '-r', $sid, '-R'], 0, 60); +$os_request->( +['udevadm', 'trigger', '--type=devices', '--subsystem-match=scsi_disk'] , 0, 60); +$os_request->(['udevadm', 'settle', '-t', $api_timeout], 0, 60); -- Hilsen/Regards Michael Rasmussen Ge

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

2017-06-19 Thread Michael Rasmussen
On Mon, 19 Jun 2017 16:50:43 +0200 Michael Rasmussen <m...@datanom.net> wrote: > Hi all, > > I do not know why this '[PATCH v6 pve-storage 1/1] A lot of bug fixes > and clean-ups' is part of the series!!?? It is identical to '[PATCH v6 > pve-storage 6/6] Bug fixes and

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

2017-06-19 Thread Michael Rasmussen
Hi all, I do not know why this '[PATCH v6 pve-storage 1/1] A lot of bug fixes and clean-ups' is part of the series!!?? It is identical to '[PATCH v6 pve-storage 6/6] Bug fixes and clean-ups in response to review from Fabian.' -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys

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

2017-06-19 Thread Michael Rasmussen
Hi Fabian, If I understand you correctly you want a separate patch for every fix comment? On June 19, 2017 8:24:36 AM GMT+02:00, "Fabian Grünbichler" <f.gruenbich...@proxmox.com> wrote: >On Sat, Jun 17, 2017 at 11:52:41PM +0200, m...@datanom.net wrote: >> F

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-17 Thread Michael Rasmussen
-', 'sh', '-c', 'mount --make-rprivate / && mount /dev/disk/by-path/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:vm-113-lun-0 /tmp && resize2fs /dev/disk/by-path/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:vm-113-lun-0']; my $exit_code = run_command($cmd, noer

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-17 Thread Michael Rasmussen
> not different to FC-based multipath, so configuration files are > interchangeable. My storage is connected through Infiniband and Infiniband does not support either bonding nor having to devices in the same network so there is no way for me to test this. -- Hilsen/Regards Michael Rasmusse

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-17 Thread Michael Rasmussen
On Sat, 17 Jun 2017 10:15:25 +0200 Andreas Steinel <a.stei...@gmail.com> wrote: > Mi Michael, > > On Fri, Jun 16, 2017 at 3:10 AM, Michael Rasmussen <m...@datanom.net> wrote: > > MPIO is not tested since I don't have the required hardware to do so. > > Is

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-16 Thread Michael Rasmussen
next patch will have a loop requesting a batch at the time until an empty resultset is returned. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE5

Re: [pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-16 Thread Michael Rasmussen
he scsi subsystem is closely tied to a specific session which is invisible to other sessions. You can compared it to a database transaction. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net ht

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage/FreeNASPlugin.pm | 129 +-- 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 0f2a56d..fee3d27

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

2017-06-15 Thread Michael Rasmussen
snapshot backup of CT broke general snapshot handling. Handle snapshot creation and deletion properly. Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage/FreeNASPlugin.pm | 1570 +- 1 file changed, 782 insertions(+), 788 deletions(-)

[pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-15 Thread Michael Rasmussen
therefore not uses libiscsi there should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (5): First beta of FreeNAS storage plugin. Missin

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

[pve-devel] [PATCH pve-storage 0/5] v5 fix regression and indentation

2017-06-15 Thread Michael Rasmussen
therefore not uses libiscsi there should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (5): First beta of FreeNAS storage plugin. Missin

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

2017-06-15 Thread Michael Rasmussen
snapshot backup of CT broke general snapshot handling. Handle snapshot creation and deletion properly. Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage/FreeNASPlugin.pm | 1570 +- 1 file changed, 782 insertions(+), 788 deletions(-)

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage/FreeNASPlugin.pm | 129 +-- 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 0f2a56d..fee3d27

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

2017-06-15 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-15 Thread Michael Rasmussen
YES YES offline YES YES clone full YES YES (Unavailable in GUI) linked YES YES (Unavailable in GUI) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op

[pve-devel] Possible bug in pve-manager and/or qemu-kvm

2017-06-15 Thread Michael Rasmussen
I should mention that for CT's there is no differens whether gui shutdown or native shutdown is used. I wonder if the process login this 'pve qm[8308]: VM 110 qmp command failed - VM 110 not running' should not call deactivate_volume for every disk belonging to the VM? -- Hilsen/Regards Michael Rasmu

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

2017-06-15 Thread Michael Rasmussen
rformance 2) Lower CPU usage 3) Support for TRIM/Discard via SCSI UNMAP -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mi

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

2017-06-15 Thread Michael Rasmussen
I still dont see a usecase for this? On June 15, 2017 11:09:21 AM GMT+02:00, Andreas Steinel <a.stei...@gmail.com> wrote: >On Thu, Jun 15, 2017 at 10:50 AM, Michael Rasmussen <m...@datanom.net> >wrote: >> Hi Andreas, >> Even better, I can sent you the deb packag

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

2017-06-15 Thread Michael Rasmussen
try to figure >out which ones are already taken care of and manually apply them. > >Best, >LnxBil > >On Wed, Jun 14, 2017 at 9:55 PM, Michael Rasmussen <m...@datanom.net> >wrote: >> Signed-off-by: Michael Rasmussen <m...@data

[pve-devel] [PATCH pve-storage 0/4] v4 Support for snapshot LXC backup

2017-06-14 Thread Michael Rasmussen
ere should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (4): First beta of FreeNAS storage plugin. Missing snapshot backup for LXC Pr

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage/FreeNASPlugin.pm | 129 +-- 1 file changed, 74 insertions(+), 55 deletions(-) diff --git a/PVE/Storage/FreeNASPlugin.pm b/PVE/Storage/FreeNASPlugin.pm index 0f2a56d..fee3d27

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

[pve-devel] [PATCH pve-storage 0/3] v3 small fix

2017-06-14 Thread Michael Rasmussen
ere should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (3): First beta of FreeNAS storage plugin. Missing snapshot backup for LX

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 --- a/PVE/Storage/FreeNASPlugin.pm +++

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

2017-06-14 Thread Michael Rasmussen
system via openiscsi and therefore not uses libiscsi there should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (2): First beta

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

2017-06-14 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

Re: [pve-devel] pve-manager: bug or feature?

2017-06-13 Thread Michael Rasmussen
l be referenced by linked clones if linked clones exists. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras o

[pve-devel] [PATCH pve-manager 0/2] v2 of freenas plugin

2017-06-13 Thread Michael Rasmussen
The GUI part for the FreeNAS storage plugin. v2: Fixes indentation and lint errors Added suggestions by Dominik. Michael Rasmussen (2): First beta of FreeNAS storage plugin Fix indentation, lint errors and add changes suggested by Dominik www/manager6/Makefile | 1 + www

[pve-devel] [PATCH pve-manager 1/2] First beta of FreeNAS storage plugin

2017-06-13 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- www/manager6/Makefile | 1 + www/manager6/Utils.js | 4 +- www/manager6/dc/StorageView.js | 15 +++- www/manager6/lxc/ResourceEdit.js| 6 +- www/manager6/qemu/Clone.js | 3 +

[pve-devel] [PATCH pve-manager 2/2] Fix indentation, lint errors and add changes suggested by Dominik

2017-06-13 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- www/manager6/Utils.js | 2 +- www/manager6/dc/StorageView.js | 20 ++-- www/manager6/lxc/ResourceEdit.js| 16 www/manager6/qemu/Clone.js | 2 +- www/manager6/qemu/HDE

Re: [pve-devel] [PATCH pve-manager] First beta of FreeNAS storage plugin

2017-06-13 Thread Michael Rasmussen
root www-data. I cannot see how this could be changed to a more secure way since www-data will need to be allowed to have access to the password to be able to call the storage. What more security do a credentials file provide? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys:

Re: [pve-devel] [PATCH pve-manager] First beta of FreeNAS storage plugin

2017-06-13 Thread Michael Rasmussen
T'; > > +} > > + > > + var ipanel = Ext.create('PVE.storage.FreeNASInputPanel', { > > + isCreate: me.isCreate, > > + storageId: me.storageId > > + }); > > + > > + Ext.apply(me, { > > + subject: 'FreeNAS Storage', > >

Re: [pve-devel] FreeNAS plugin: Status

2017-06-12 Thread Michael Rasmussen
tervention anyway. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org http://pgp.mit.edu:1137

[pve-devel] [PATCH pve-container] First beta of FreeNAS storage plugin

2017-06-11 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- 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 100644 --- a/src/PVE/API2/LXC.pm +++ b/s

[pve-devel] [PATCH pve-container] FreeNAS storage plugin

2017-06-11 Thread Michael Rasmussen
Enable FreeNAS as a valid storage plugin for LXC Michael Rasmussen (1): First beta of FreeNAS storage plugin src/PVE/API2/LXC.pm | 9 + src/PVE/LXC.pm | 6 +- 2 files changed, 14 insertions(+), 1 deletion(-) -- 2.1.4 This mail was virus scanned and spam checked

[pve-devel] [PATCH pve-manager] FreeNAS storage plugin

2017-06-11 Thread Michael Rasmussen
The GUI part for the FreeNAS storage plugin. Michael Rasmussen (1): First beta of FreeNAS storage plugin www/manager6/Makefile | 1 + www/manager6/Utils.js | 4 +- www/manager6/dc/StorageView.js | 15 +++- www/manager6/lxc/ResourceEdit.js| 6 +- www

[pve-devel] [PATCH pve-manager] First beta of FreeNAS storage plugin

2017-06-11 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- www/manager6/Makefile | 1 + www/manager6/Utils.js | 4 +- www/manager6/dc/StorageView.js | 15 +++- www/manager6/lxc/ResourceEdit.js| 6 +- www/manager6/qemu/Clone.js | 3 +

[pve-devel] [PATCH pve-storage] FreeNAS storage plugin

2017-06-11 Thread Michael Rasmussen
ere should be support for MPIO and authentication. MPIO is not tested since I don't have the required hardware to do so. Authentication is not enabled but should be easy to do if the requirements exists. Michael Rasmussen (1): First beta of FreeNAS storage plugin. Missing snapshot backup for

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

2017-06-11 Thread Michael Rasmussen
Signed-off-by: Michael Rasmussen <m...@datanom.net> --- PVE/Storage.pm |2 + PVE/Storage/FreeNASPlugin.pm | 1289 ++ PVE/Storage/Makefile |2 +- PVE/Storage/Plugin.pm|2 +- 4 files changed, 1293 insertions

Re: [pve-devel] Cloning a CT

2017-06-08 Thread Michael Rasmussen
patches for that on this list. But no time to test/apply them > ... > I have done some quick tests here and with backend zfs/zvols there is no difference whether you make clones or linked clones so there is no technical reason not to enable this feature in the gui. -- Hilsen/Regards Mi

[pve-devel] Cloning a CT

2017-06-08 Thread Michael Rasmussen
Hi all, Any particular reason to not allow making a clone of a CT? I even think that making a linked clone of a CT should be possible, at least for zvols. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
On Thu, 8 Jun 2017 19:38:23 +0200 Michael Rasmussen <m...@datanom.net> wrote: > On Thu, 8 Jun 2017 19:21:50 +0200 > Michael Rasmussen <m...@datanom.net> wrote: > > > I seem to have found a bug in the API because changing the size through > > the API all th

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
On Thu, 8 Jun 2017 19:21:50 +0200 Michael Rasmussen <m...@datanom.net> wrote: > I seem to have found a bug in the API because changing the size through > the API all though the zvol is properly resized rescanning the session > on the client side does not show the changed size. I

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
On Thu, 8 Jun 2017 18:15:13 +0200 Michael Rasmussen <m...@datanom.net> wrote: > On Thu, 8 Jun 2017 18:07:26 +0200 > Michael Rasmussen <m...@datanom.net> wrote: > > > Both host and storage. FreeNAS requires a removal of the > > 'targettoexent' and a new reas

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
en/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org http://pgp.mit.edu:11371/pks/lookup

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
On Thu, 8 Jun 2017 18:07:26 +0200 Michael Rasmussen <m...@datanom.net> wrote: > Both host and storage. FreeNAS requires a removal of the > 'targettoexent' and a new reassigning of targettoextent between > target and extent. This reassignment brakes the connection sort of like I

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
pport for chap, and most importantly no support for LXC. On the other hand maintenance of the iscsi subsystem has improved a lot making it very easy expose and hide LUN's on demand. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11

Re: [pve-devel] FreeNAS plugin: Status

2017-06-08 Thread Michael Rasmussen
fixed at the time the LUN is attached to the system so the only way to change the geometry is to reload the LUN - reloading means in this context detach and attach again. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=

Re: [pve-devel] FreeNAS plugin: Status

2017-06-07 Thread Michael Rasmussen
On Wed, 7 Jun 2017 18:57:42 +0200 Michael Rasmussen <m...@datanom.net> wrote: > When CT is online: > mount.nfs: Failed to resolve server /dev/disk/by-path/ip-10.0.1.32: Name or > service not known > Failed to update the container's filesystem: command 'unshare -m -- sh -

Re: [pve-devel] FreeNAS plugin: Status

2017-06-07 Thread Michael Rasmussen
On Wed, 7 Jun 2017 19:50:17 +0200 Michael Rasmussen <m...@datanom.net> wrote: > BTW. Should the disks containing the state of live snapshots be part of > the list displayed when entering storage content? See snapshot > Snapshot: https://snag.gy/U3IysH.jpg -- Hilsen/Regards Mi

Re: [pve-devel] FreeNAS plugin: Status

2017-06-07 Thread Michael Rasmussen
BTW. Should the disks containing the state of live snapshots be part of the list displayed when entering storage content? See snapshot -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net

[pve-devel] FreeNAS plugin: Status

2017-06-07 Thread Michael Rasmussen
exit code 8 Seems fixable by ensuring to activate volume before hand. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org ht

Re: [pve-devel] Problems creating live snapshot

2017-06-07 Thread Michael Rasmussen
currently active deactivate_luns($scfg, $volname, $active_luns); -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir mi

Re: [pve-devel] Problems creating live snapshot

2017-06-07 Thread Michael Rasmussen
o you think colons should be a problem in this particular case? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE501F51C mir miras org http://pgp

Re: [pve-devel] Problems creating live snapshot

2017-06-06 Thread Michael Rasmussen
ions and a file system? > > No. I am not aware of such restrictions. > So why does it not work? Any way to debug? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.e

[pve-devel] Problems creating live snapshot

2017-06-06 Thread Michael Rasmussen
is: 1) Does savevm-start have problems saving to a /dev/disk/by-path/some_path? 2) Does savevm-start require a disk with partions and a file system? -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
ge will support 40 VM's. I have just discovered that ctld supports up to 1024 LUN's: #define MAX_LUNS1024 https://github.com/freebsd/freebsd/blob/master/usr.sbin/ctld/ctld.h -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mi

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
d through a LUN so it is only ram disks for live snapshots and actual disks which counts. > > I guess you can/should implement such limit inside the storage driver? > This is what I have done. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://p

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
On Tue, 6 Jun 2017 17:53:55 +0200 Michael Rasmussen <m...@datanom.net> wrote: > 2) A VM or CT will be limited to have no more than 4 active snapshots > at a time. Forgot to add that VmWare also recommends no more than 4 active snapshots at a time for performance reasons (I have no

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
discussed it with the ctld developer some years ago but his would only raise the number of LUN's from 100 to 1000 at that time. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
active snapshots at a time. 3) One LUN is reserved for snapshot backups of CT's. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael rasmussen cc http://pgp.mit.edu:11371/pks/lookup?op=get=0xD3C9A00E mir datanom net http://pgp.mit.edu:11371/pks/lookup?op=get=0xE5

Re: [pve-devel] perhaps a bug in QemuConfig.pm?

2017-06-06 Thread Michael Rasmussen
of LUNS. For now I will circumvent the issue by restricting number of LUN's for disks to a VM to 20 and reserve a pool of 5 LUN's for state and snapshot backup. It's just an annoying thing which makes the situation slightly more complicated, but nothing to worry about;-) -- Hilsen/Regards Michael Rasmussen G

  1   2   3   4   5   6   7   8   >