[pve-devel] Datacore storage model

Luca De Andreis dea at corep.it
Tue Apr 18 17:52:52 CEST 2017


Il 18 aprile 2017 16:43:11 CEST, Wolfgang Bumiller <w.bumiller at proxmox.com> ha scritto:
>applied to master & stable-4
>
>On Tue, Apr 18, 2017 at 09:24:40AM +0200, Dominik Csapak wrote:
>> else we always get a failed task when the vnc connection is
>> running longer than $timeout
>> 
>> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
>> ---
>>  PVE/API2/Qemu.pm | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
>> index 616dc48..24a5b67 100644
>> --- a/PVE/API2/Qemu.pm
>> +++ b/PVE/API2/Qemu.pm
>> @@ -1435,6 +1435,7 @@ __PACKAGE__->register_method({
>>  		local $SIG{ALRM} = sub { die "connection timed out\n" };
>>  		alarm $timeout;
>>  		accept(my $cli, $sock) or die "connection failed: $!\n";
>> +		alarm(0);
>>  		close($sock);
>>  		if (PVE::Tools::run_command($cmd,
>>  		    output => '>&'.fileno($cli),
>> -- 
>> 2.11.0
>
>_______________________________________________
>pve-devel mailing list
>pve-devel at pve.proxmox.com
>http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Hi all, 

I've just see a Datacore storage demonstration, I think is very easy to implement a native Proxmox support, with function like clone, snapshot, expand, rollback, ecc. 

The storage is exported on FC or Iscsi, raw mode, all functions are implemented by Datacore simply by well documented functions by SSH connection to Datacore. 

Very similar to iscsi over zfs, but more standard (iscsi over zfs has problems with bsd versions, Linux ietd, ecc.). 

It's a bad idea? 

Luca 





More information about the pve-devel mailing list