The cinder.brick.initiator.linuxscsi Module

Generic linux scsi subsystem and Multipath utilities.

Note, this is not iSCSI.

class LinuxSCSI(root_helper, execute=<function execute at 0x7f5a4ca88140>, *args, **kwargs)

Bases: cinder.brick.executor.Executor

echo_scsi_command(path, content)

Used to echo strings to scsi subsystem.

find_multipath_device(device)

Find a multipath device associated with a LUN device name.

device can be either a /dev/sdX entry or a multipath id.

flush_multipath_device(device)
flush_multipath_devices()
get_device_info(device)
get_name_from_path(path)

Translates /dev/disk/by-path/ entry to /dev/sdX.

remove_multipath_device(multipath_name)

This removes LUNs associated with a multipath device and the multipath device itself.

remove_scsi_device(device)

Removes a scsi device based upon /dev/sdX name.

Previous topic

The cinder.brick.initiator.linuxfc Module

Next topic

The cinder.brick.iscsi.iscsi Module

This Page