Cinder/LIO-Grizzly

LIO support in Grizzly
In the Grizzly release, Cinder has added support for using LIO (http://linux-iscsi.org/) as an iSCSI target backend, as an optional replacement for tgtd (part of scsi-target-utils).

Note that migration from tgtd to LIO is not supported -- only switch drivers if no volumes exist.

To enable the LIO driver
1. Prerequisites:

Install rtstool from https://pypi.python.org/pypi/rtstool/ with pip. This is a supporting tool required by this driver.

Install rtslib-fb from https://pypi.python.org/pypi/rtslib-fb/ with pip or your distribution's packages.

2. Ensure that /etc/cinder/cinder.conf is set to use the LVM iSCSI driver:

3. Configure the iSCSI helper in /etc/cinder.conf: (The default is "tgtadm", for tgtd.)

4. Restart the Cinder volume service.

You may now create a cinder volume. Running "targetcli ls" will show that a backstore and iSCSI target have been configured in the LIO iSCSI subsystem.