[pve-devel] FreeNAS plugin: Status

Michael Rasmussen mir at datanom.net
Thu Jun 8 20:35:31 CEST 2017


On Thu, 8 Jun 2017 19:38:23 +0200
Michael Rasmussen <mir at datanom.net> wrote:

> On Thu, 8 Jun 2017 19:21:50 +0200
> Michael Rasmussen <mir at 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. If I do the same
> > from the FreeNAS GUI then it works as expected!
> >   
> Created a bug report: https://bugs.freenas.org/issues/24432
> 
To conclude on this long thread:
1) Online resize is not functional due to the bug in FreeNAS API so
until this bug is resolved only allow offline resize
2) If I manually resizes the disk in the FreeNAS gui and rescan the
iscsi session on the client online resize works with both VM and CT
VM:
   1) Change size of zvol
   2) rescan iscsi session
   3) qmp block_resize drive-scsiX +size[KMG]
CT:
   1) Change size of zvol
   2) rescan iscsi session
   3) unshare -m -- sh -c 'mount --make-rprivate / && mount /dev/disk/by-path/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:some_lun /tmp && resize2fs /dev/disk/by-path/ip-10.0.1.32:3260-iscsi-iqn.2005-10.org.freenas.ctl:some_lun'


-- 
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:
If redness or swelling develop, consult physician promptly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20170608/143ddc3b/attachment.sig>


More information about the pve-devel mailing list