Bases: cinder.volume.drivers.nfs.RemoteFsDriver
NFS based cinder driver. Creates file on NFS share for using it as block device on hypervisor.
Any initialization the volume driver does while starting
Bases: cinder.volume.driver.VolumeDriver
Common base for drivers that work like NFS.
Create a new backup from an existing volume.
Just to override parent behavior.
Fetch the image from image_service and write it to the volume.
Copy the volume to the specified image.
Exports the volume. Can optionally return a Dictionary of changes to the volume object to be persisted.
Creates a volume.
Parameters: | volume – volume reference |
---|
Do nothing for this driver, but allow manager to handle deletion of snapshot in error state.
Deletes a logical volume.
Parameters: | volume – volume reference |
---|
Synchronously recreates an export for a logical volume.
Get volume stats.
If ‘refresh’ is True, update the stats first.
Allow connection to connector and return connection info.
Parameters: |
|
---|
Get volume path (mounted locally fs path) for given volume :param volume: volume reference
Removes an export for a logical volume.
Restore an existing backup to a new or existing volume.
Disallow connection from connector.