[Pkg-xen-devel] Patches to support iSCSI in xcp-storage-managers

Florian Zavatzki fz at binsec.de
Wed Jul 10 07:39:37 UTC 2013


Hi,

attached I have some patches which add support for iSCSI LVMoISCSI to
the xcp-storage-managers package.
The patches are based on the Debian git repository.

I have tested my changes and everything seems to work fine.
The tests are done on a three node XCP pool with multipath. I haven't
tested the changes without multipath.

Maybe someone could take a look on the patches and give me some
feedback, or better: include them in the package :-)

The patch 0003-Add-patches-for-LVMoISCSI-support-under-debian.patch will
add the patch
debian/patches/0013-Skip-removal-from-etc-iscsi-ifaces.patch. This patch
will remove the code which removes the directory /etc/iscsi/ifaces on
every restart of iscsid. As in my environment I'm required to use iface
configuration I have removed this part of the code. I'm not sure if this
patch is useful for other environments, but I also not sure what the
intention is to remove this directory on every restart.

With patch 0004-Add-LVMoISCSI-patches.patch a patch to debian/patches
with the name 0018-Do-not-remove-VG-symlinks.patch will be added. This
patch removes code which will remove the symlinks under /dev/<VGNAME>,
but this symlinks doesn't exist after dmsetup has removed the VG (this
code is executed during a detach of a SR). I'm not sure if there is a
difference between CentOS and Debian on handling this symlinks by
dmsetup, so maybe removing this code will break something else, but I
couldn't found any malfunction after removal.

Bye,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches.tar.gz
Type: application/x-gzip
Size: 5602 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20130710/b0dc5ca0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20130710/b0dc5ca0/attachment.sig>


More information about the Pkg-xen-devel mailing list