>>It is not the VM as such but more related to the scsi subsystem. The 
>>disk geometry is 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.

do you talk have about lun size on the host ? On the host, a simple iscsi 
rescan should be able to detect new size.

I'm sure to be able to do online resize with my nexenta - zfs iscsi plugin in 
the past.
First version of my plugin (2010-2012 don't remember) was using scsi on host.
But it was too painfull to maintain (mainly with multipath and cpu usage with a 
lot of luns), so I switch it to libisci.

But I remember to use qmp command to tell the vm the new size of disk (even if 
it was already resized on the host)



----- Mail original -----
De: "datanom.net" <m...@datanom.net>
À: "pve-devel" <pve-devel@pve.proxmox.com>
Envoyé: Jeudi 8 Juin 2017 16:35:26
Objet: Re: [pve-devel] FreeNAS plugin: Status

On Thu, 8 Jun 2017 16:00:50 +0200 (CEST) 
Alexandre DERUMIER <aderum...@odiso.com> wrote: 

> 
> it should work if you send qmp block_resize command to vm, 
> after resize the lun on the host. 
> 
It is not the VM as such but more related to the scsi subsystem. The 
disk geometry is 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 <at> rasmussen <dot> cc 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E 
mir <at> datanom <dot> net 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C 
mir <at> miras <dot> org 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 
-------------------------------------------------------------- 
/usr/games/fortune -es says: 
Do you think your mother and I should have lived comfortably so long 
together if ever we had been married? 

_______________________________________________ 
pve-devel mailing list 
pve-devel@pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to