[pve-devel] [PATCHv2] Add support for multipath-backed direct attached storage
Alexandre DERUMIER
aderumier at odiso.com
Mon Jul 11 11:12:30 CEST 2016
>>Okay, there's problem: Linux is little ugly when it comes to delete
>>external LUN.
>>So we have to unlink (rescan-scsi-bus.sh -r or echo 1 >
>>/sys/block/sdX/device/delete) all paths to this LUN from all nodes, and
>>only then we may safely delete it. BTW, iSCSI (not direct) storage is
>>also affected (at least if we have installed multipath-tools).
>>Is there easy way to run some code on all cluster nodes, wait it to
>>complete and then continue?
You also need to remove multipath dm devices after deleting.
It's really a pain to manage it cluster wide.
That's why in past, with my nexenta iscsi san, I was using qemu libiscsi + lacp without multipath.
(Also, multipath daemon is really cpu hungry, when you have a lot of luns)
BTW, it seem that last version of libiscsi support multipath
https://github.com/sahlberg/libiscsi/pull/166
But I'm not sure it's already work with qemu.
----- Mail original -----
De: "Dmitry Petuhov" <mityapetuhov at gmail.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 11 Juillet 2016 10:53:59
Objet: Re: [pve-devel] [PATCHv2] Add support for multipath-backed direct attached storage
Okay, there's problem: Linux is little ugly when it comes to delete
external LUN.
So we have to unlink (rescan-scsi-bus.sh -r or echo 1 >
/sys/block/sdX/device/delete) all paths to this LUN from all nodes, and
only then we may safely delete it. BTW, iSCSI (not direct) storage is
also affected (at least if we have installed multipath-tools).
Is there easy way to run some code on all cluster nodes, wait it to
complete and then continue?
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list