ZFS Storage Appliance NFS Cinder Volume Driver
Bases: cinder.volume.drivers.nfs.NfsDriver
ZFSSA Cinder NFS volume driver.
Version history:
1.0.1:
Backend enabled volume migration.
Local cache feature.
1.0.2:
Volume manage/unmanage support.
Check that driver can login.
Check also for properly configured pool, project and share Check that the http and nfs services are enabled
Create a volume efficiently from an existing image.
Verify the image ID being used:
(1) If there is no existing cache volume, create one and transfer image data to it. Take a snapshot.
(2) If a cache volume already exists, verify if it is either alternated or updated. If so try to remove it, raise exception if removal fails. Create a new cache volume as in (1).
Clone a volume from the cache volume and returns it to Cinder.
A file lock is placed on this method to prevent: (a) a race condition when a cache volume has been verified, but then gets deleted before it is cloned.
(b) failure of subsequent clone_image requests if the first request is still pending.
Creates a snapshot and then clones the snapshot into a volume.
Creates a snapshot of a volume.
Deletes a snapshot.
Manage an existing volume in the ZFSSA backend.
Parameters: |
|
---|
Return size of the volume to be managed by manage_existing.
Remove an existing volume from cinder management.
Parameters: | volume – Reference to the volume to be unmanaged. |
---|
Return model update for migrated volume.
Parameters: |
|
---|---|
Returns: | model_update to update DB with any needed changes |