The cinder.volume.drivers.ibm.gpfs Module

GPFS Volume Driver.

class GPFSDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

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

VERSION = '1.2.0'
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)

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)

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)

Delete snapshot of a consistency group of GPFS volumes.

delete_consistencygroup(context, group)

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)

Previous topic

The cinder.volume.drivers.ibm.flashsystem Module

Next topic

The cinder.volume.drivers.ibm.ibmnas Module

This Page