OpenNebula users know that NFS is just too slow for virtual machine disk images. Fiber Channel works, but is too expensive for me. Rather than deal with disk image speed issues, I’m using NFS on ZFS for file storage and booting my systems diskless. Diskless servers have a lot of advantages, but speed isn’t one of them. This is fine for most applications, but a few things (databases come to mind) perform better on a speedy disk. I want the ability to use diskless machines where appropriate, but use cheap networked disk when necessary. Ideally, I want iSCSI on top of ZFS. Short of ideal, I’ll take iSCSI any way I can get it. I want the virtualization server to attach to the iSCSI target, and then offer that target to the VM as if it was a local disk.
There’s an alpha one-iSCSI-target-per-VM transfer manager driver. It’s intended for a Linux iSCSI server, which I don’t have and don’t intend to run. Instead, I have a stack of cheap NAS appliances. Here’s how I got one target per VM running in my OpenNebula instance. Continue reading “opennebula with one iscsi target per VM”