The cinder.volume.drivers.ibm.gpfs Module

GPFS Volume Driver.

class GPFSDriver(*args, **kwargs)

Bases: cinder.volume.driver.ConsistencyGroupVD, cinder.volume.driver.ExtendVD, cinder.volume.driver.LocalVD, cinder.volume.driver.TransferVD, cinder.volume.driver.CloneableImageVD, cinder.volume.driver.SnapshotVD, cinder.volume.driver.MigrateVD, cinder.volume.driver.BaseVD

Implements volume functions using GPFS primitives.

Version history: 1.0.0 - Initial driver 1.1.0 - Add volume retype, refactor volume migration 1.2.0 - Add consistency group support 1.3.0 - Add NFS based GPFS storage backend support 1.3.1 - Add GPFS native encryption (encryption of data at rest) support

CI_WIKI_NAME = 'IBM_GPFS_CI'
VERSION = '1.3.1'
backup_volume(context, backup, backup_service)

Create a new backup from an existing volume.

check_for_setup_error()

Returns an error if prerequisites aren’t met.

clone_image(context, volume, image_location, image_meta, image_service)

Create a volume from the specified image.

copy_image_to_volume(context, volume, image_service, image_id)

Fetch the image from image_service and write it to the volume.

Note that cinder.volume.flows.create_volume will attempt to use clone_image to efficiently create volume from image when both source and target are backed by gpfs storage. If that is not the case, this function is invoked and uses fetch_to_raw to create the volume.

copy_volume_to_image(context, volume, image_service, image_meta)

Copy the volume to the specified image.

create_cgsnapshot(context, cgsnapshot, snapshots)

Create snapshot of a consistency group of GPFS volumes.

create_cloned_volume(volume, src_vref)

Create a GPFS volume from another volume.

create_consistencygroup(context, group)

Create consistency group of GPFS volumes.

create_export(context, volume, connector)

Exports the volume.

create_snapshot(snapshot)

Creates a GPFS snapshot.

create_volume(volume)

Creates a GPFS volume.

create_volume_from_snapshot(volume, snapshot)

Creates a GPFS volume from a snapshot.

delete_cgsnapshot(context, cgsnapshot, snapshots)

Delete snapshot of a consistency group of GPFS volumes.

delete_consistencygroup(context, group, volumes)

Delete consistency group of GPFS volumes.

delete_snapshot(snapshot)

Deletes a GPFS snapshot.

delete_volume(volume)

Deletes a logical volume.

do_setup(ctxt)

Determine storage back end capabilities.

ensure_export(context, volume)

Synchronously recreates an export for a logical volume.

extend_volume(volume, new_size)

Extend an existing volume.

get_volume_stats(refresh=False)

Get volume stats.

If ‘refresh’ is True, or stats have never been updated, run update the stats first.

initialize_connection(volume, connector)
local_path(volume)

Return the local path for the specified volume.

migrate_volume(context, volume, host)

Attempt to migrate a volume to specified host.

remove_export(context, volume)

Removes an export for a logical volume.

restore_backup(context, backup, volume, backup_service)

Restore an existing backup to a new or existing volume.

retype(context, volume, new_type, diff, host)

Modify volume to be of new type.

terminate_connection(volume, connector, **kwargs)
class GPFSNFSDriver(*args, **kwargs)

Bases: cinder.volume.drivers.ibm.gpfs.GPFSDriver, cinder.volume.drivers.nfs.NfsDriver, cinder.volume.drivers.san.san.SanDriver

GPFS cinder driver extension.

This extends the capability of existing GPFS cinder driver to be able to create cinder volumes when cinder volume service is not running on GPFS node.

backup_volume(context, backup, backup_service)

Create a new backup from an existing volume.

create_cloned_volume(volume, src_vref)

Create a GPFS volume from another volume.

create_volume(volume)

Creates a GPFS volume.

create_volume_from_snapshot(volume, snapshot)

Creates a GPFS volume from a snapshot.

delete_volume(volume)

Deletes a logical volume.

do_setup(context)
get_volume_stats(refresh=False)

Get volume stats.

If ‘refresh’ is True, or stats have never been updated, run update the stats first.

local_path(volume)

Returns the local path for the specified volume.

Previous topic

The cinder.volume.drivers.ibm.flashsystem_iscsi Module

Next topic

The cinder.volume.drivers.ibm.ibm_storage Module

This Page