Jump to: navigation, search


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:

volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver

3. Configure the iSCSI helper in /etc/cinder.conf:

iscsi_helper = lioadm

(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.