[pve-devel] General direct [i]SCSI storage plugin to extend for specific SAN

Wolfgang Link w.link at proxmox.com
Mon Jun 27 11:24:13 CEST 2016


Alexandre has written such a plugin for netapp, may be it fits to your
needs.


https://forum.proxmox.com/threads/proxmox-netapp-storage-plugin.20966/#post-112335

On 06/27/2016 11:14 AM, Dmitry Petuhov wrote:
> I want to write storage plugin for my Netapp iSCSI SAN. But I'm little
> confused what to use as base.
> 
> ISCSIDirectPlugin.pm is first candidate, but currently it looks not very
> usable. Am I right understood that the only way to use it is to manually
> create LUN on SAN and write its number in VM config via cli?
> 
> ZFSPlugin.pm is more promising candidate, because of its extensibility
> via LunCmd/* modules by design. Actually, it could become good general
> direct-lun iSCSI plugin, if all ZFS-specific stuff would moved out to
> LunCmd/* modules.
> 
> Another consideration is that LunCmd/* plugins can be used by other
> transports of nowadays enterprise SANs, like SAS or FC. Their
> volume-image-snapshot APIs are often pretty same for different
> transports. At same time, actual transport can be masked at PVE side by
> multipathd: we could associate SAN-specific image name with its WWN in
> LunCmd code and feed qemu with unified devices
> /dev/disk/by-id/wwn-0x{$wwn} generated by multipathd.
> 
> Any thoughts?
> 
> _______________________________________________
> 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