Bases: cinder.volume.driver.ExtendVD, cinder.volume.drivers.remotefs.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.
Extend an existing volume to the new size.
Determine the setting to use for Secure NAS options.
Value of each NAS Security option is checked and updated. If the option is currently ‘auto’, then it is set to either true or false based upon if this is a new Cinder installation. The RemoteFS variable ‘_execute_as_root’ will be updated for this driver.
Parameters: | is_new_cinder_install – bool indication of new Cinder install |
---|
Return the keys and values updated from NFS 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: |
|
---|---|
Returns: | model_update to update DB with any needed changes |