With Cinder multi-attach, you can simultaneously attach volumes to multiple instances.
Prerequisites
If you want to use multi-attach volumes, be aware of the following limitations:
- Hardware acceleration is required for NFS datastores that back multi-attach volumes.
-
Multi-attach volumes cannot be relocated while they are in use. To avoid the effects of this limitation, create multi-attach volumes on a shared datastore.
You can specify datastores for multi-attach volumes by using a storage profile. Create the desired storage profile in vSphere and assign it to the volume type defined in this procedure using the vmware:storage_profile extra spec.
- Multi-attach volumes must use thick provision eager zeroed as the provisioning format.
- Multi-attach volumes must use VMDK as the back-end driver. FCD volumes do not support multi-attach.
- To prevent data corruption, format multi-attach volumes with a cluster-aware file system.
- You cannot clone, back up, or take snapshots of multi-attach volumes while those volumes are attached.
- If more than eight ESXi hosts attempt to access a single multi-attach volume simulaneously, attaching the volume will fail.
- You cannot perform live migration on an instance to which a multi-attach volume is attached.
- The viocli prepare datastore command does not support multi-attach volumes. Detach multi-attach volumes before migrating them to another datastore.