Is there a way to attach the same disk to multiple Azure VMs

Anthony Potts picture Anthony Potts · Jun 5, 2013 · Viewed 11.2k times · Source

I have created a VHD for data and attached it to one Virtual Machine instance. Is there a way to attach that disk again to another VM? I basically want a shared drive for multiple VMs.

I see an "attach VHD" option in Server Manager for 2008 R2, but the only location I have to put in is my URL, and that is obviously wrong. When I try to attach the disk to another vm using the Attach Disk option in the management portal, it doesn't show this vhd in the list of available vhds. I know there are utilities in powershell which can do things, does anyone know if that would work?

Answer

robert4 picture robert4 · Sep 15, 2014

Azure Files is a feature introduced in 2014, that allows mounting the same VHD in multiple VMs over SMB 2.1.
Unfortunately I have no experience with it.