After you create a named disk in a VDC in the VMware Cloud Director Tenant Portal, you can attach it to any virtual machine that is deployed in the VDC. You can attach a shared named disk to multiple VMs. You can also detach a named disk.
Prerequisites
You must have an organization administrator role or disk owner rights.
Procedure
- On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore and under Storage, from the left panel, select Named Disks.
- Click the radio button next to the name of the named disk that you want to attach to a virtual machine, and click Attach.
- From the drop-down menu, select a virtual machine to which to attach the named disk, and click Apply.
- If you want to attach another VM to a shared disk, repeat Step 2 and Step 3.
- If you want to detach a named disk, select the radio button next to the name of the disk and click Detach.
Deleting a VM of an attached disk in
vSphere corrupts the disk state in
VMware Cloud Director and you cannot detach or delete the disc. To detach such disks, select the
Force detach option.