Driver for Linux servers running LVM.
Bases: cinder.volume.drivers.lvm.LVMVolumeDriver
Empty class designation for LVMISCSI.
Since we’ve decoupled the inheritance of iSCSI and LVM we don’t really need this class any longer. We do however want to keep it (at least for now) for back compat in driver naming.
Bases: cinder.volume.drivers.lvm.LVMVolumeDriver
Empty class designation for LVMISER.
Since we’ve decoupled the inheritance of data path in LVM we don’t really need this class any longer. We do however want to keep it (at least for now) for back compat in driver naming.
Bases: cinder.volume.driver.VolumeDriver
Executes commands relating to Volumes.
Create a new backup from an existing volume.
Verify that requirements are in place to use LVM driver.
Fetch the image from image_service and write it to the volume.
Copy the volume to the specified image.
Creates a clone of the specified volume.
Creates a snapshot.
Creates a logical volume.
Creates a volume from a snapshot.
Deletes a snapshot.
Deletes a logical volume.
Extend an existing volume’s size.
Get volume status.
If ‘refresh’ is True, run update the stats first.
Manages an existing LV.
Renames the LV to match the expected name for the volume. Error checking done by manage_existing_get_size is not repeated.
Return size of an existing LV for manage existing volume/snapshot.
existing_ref is a dictionary of the form: {‘source-name’: <name of LV>}
Optimize the migration if the destination is on the same server.
If the specified host is another back-end on the same server, and the volume is not attached, we can do the migration locally without going through iSCSI.
Restore an existing backup to a new or existing volume.
Return model update from LVM for migrated volume.
This method should rename the back-end volume name(id) on the destination host back to its original name(id) on the source host.
Parameters: |
|
---|
:return model_update to update DB with any needed changes