The cinder.volume.drivers.falconstor.fss_common Module¶
Volume driver for FalconStor FSS storage system.
This driver requires FSS-8.00-8865 or later.
-
class
FalconstorBaseDriver(*args, **kwargs)¶ Bases:
cinder.volume.drivers.san.san.SanDriver-
attach_volume(context, volume, instance_uuid, host_name, mountpoint)¶
-
check_for_setup_error()¶
-
create_cgsnapshot(context, cgsnapshot, snapshots)¶ Creates a cgsnapshot.
-
create_cloned_volume(volume, src_vref)¶ Creates a clone of the specified volume.
-
create_consistencygroup(context, group)¶ Creates a consistencygroup.
-
create_export(context, volume, connector)¶
-
create_snapshot(snapshot)¶ Creates a snapshot.
-
create_volume(volume)¶ Creates a volume.
We use the metadata of the volume to create variety volume.
Create a thin provisioned volume : [Usage] create –volume-type FSS-THIN
–metadata thinsize=<thin-volume-size> volume-sizeCreate a LUN that is a Timeview of another LUN at a specified CDP tag: [Usage] create –volume-type FSS –metadata timeview=<vid>
cdptag=<tag> volume-sizeCreate a LUN that is a Timeview of another LUN at a specified Timemark: [Usage] create –volume-type FSS –metadata timeview=<vid>
rawtimestamp=<rawtimestamp> volume-sizeCreate a mirrored volume : [Usage] create –volume-type FSS –metadata mirrored=true
-
create_volume_from_snapshot(volume, snapshot)¶ Creates a volume from a snapshot.
-
delete_cgsnapshot(context, cgsnapshot, snapshots)¶ Deletes a cgsnapshot.
-
delete_consistencygroup(context, group, volumes)¶ Deletes a consistency group.
-
delete_snapshot(snapshot)¶ Deletes a snapshot.
-
delete_volume(volume)¶ Disconnect all hosts and delete the volume
-
detach_volume(context, volume, attachment=None)¶
-
do_setup(context)¶
-
ensure_export(context, volume)¶
-
extend_volume(volume, new_size)¶ Extend volume to new_size.
-
get_volume_stats(refresh=False)¶
-
manage_existing(volume, existing_ref)¶ Convert an existing FSS volume to a Cinder volume.
We expect a volume id in the existing_ref that matches one in FSS.
-
manage_existing_get_size(volume, existing_ref)¶ Get size of an existing FSS volume.
We expect a volume id in the existing_ref that matches one in FSS.
-
remove_export(context, volume)¶
-
unmanage(volume)¶ Remove Cinder management from FSS volume
-
update_consistencygroup(context, group, add_volumes=None, remove_volumes=None)¶
-