[pve-devel] [PATCHv3] Add support for multipath-backed direct attached storage

Dmitry Petuhov mityapetuhov at gmail.com
Sat Aug 6 09:23:14 CEST 2016


Third try. Rewrited to less general form, as Wolfgang and Dominik
suggested.

First patch is generic layer for low-level SCSI and multipath
devices manipulation. Script does almost same as sg3-utils's
rescan-scsi-bus (what we need from it), but much faster and
quietly.

For this patch multipath.conf needs
	uid_attribute           ID_WWN_WITH_EXTENSION
and
	blacklist {
		wwid .*
	}
	blacklist_exceptions {
	}

Existing exceptions are not touched (if WWIDs are not interferred),
so patch should be compatible with manual whitelisting.

Potential problem: host's udev will try to handle devices meant for
guests with other ways: LVM, ZFS and other such things. Any ideas
how to avoid this?

Second patch is Netapp-specific. Just moved storage-specific code
from LunCmd module to plugin itself and little simplified. Based
on Alexandre Derumier's <aderumier at odiso.com> plugin for same SAN/NAS
over NFS.

I gonna use it on new production cluster next week, so new
bugfixes are coming :)

Testing would be appreciated, especially if someone have Netapp
storage connected via FC (I currently use iSCSI).



More information about the pve-devel mailing list