[pve-devel] ZFS Storage Patches

Michael Rasmussen mir at datanom.net
Mon Mar 17 19:20:21 CET 2014


On Mon, 17 Mar 2014 11:08:41 -0700
Chris Allen <ca.allen at gmail.com> wrote:

> 
> Connecting to the target with a host group defined fails unless the
> initiator has been added to the host group, as it should be by design.  If
> I manually add the initiator name ("iqn.2008-11.org.linux-kvm:<vm-name>")
> to the host group on the server then I can connect to and use the volume.
>  Since, like you pointed out Micheal, the initiator name is based on the
> VM's name, maintaining the host-group association, manually or
> automatically is a pain.  Too bad we can't force an initiator name.
> 
It works with both hostgroup and targetgroup starting the VM provided
that you add -iscsi 'initiator-name=<initiator-name>' since this option
will be transferred to libiscsi. The problem is qemu-img which is used
extensively in storage scripts in proxmox. It might be worth trying to
make a feature request to the qemu-img team to add this option?

> Did you try using only a target group, with no host group definition?  This
> seems to work fine for me.  It might be worth it to keep just the target
> group part of the patch and scrap the host group.
> 
No, I haven't tried this but I think we should keep both hoping for
qemu-img team to add the feature. Until then we simply ignore the
option.

Your patch still needs to handle the case where a VM has been converted
to a template since image handling after conversion complains of an
unknown setting: sparse.


-- 
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:
echo "Congratulations.  You aren't running Eunice."
		-- Larry Wall in Configure from the perl distribution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140317/665d804d/attachment.sig>


More information about the pve-devel mailing list