The cinder.volume.drivers.gpfs Module

GPFS Volume Driver.

class GPFSDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Implements volume functions using GPFS primitives.

VERSION = '1.0.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(volume, image_location, image_id)
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_cloned_volume(volume, src_vref)
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_snapshot(snapshot)

Deletes a GPFS snapshot.

delete_volume(volume)

Deletes a logical volume.

ensure_export(context, volume)

Synchronously recreates an export for a logical 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)
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.

terminate_connection(volume, connector, **kwargs)

Previous topic

The cinder.volume.drivers.glusterfs Module

Next topic

The cinder.volume.drivers.hds.hds Module

This Page