Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, November 24, 2017 5:04 PM
Hello,
I've added a disk to a VM in Azure, but it doesn't give me the option to remove it as it is grey's out.
I think the VM is managed, but am not sure if that makes a difference. Please advise.
Thanks
All replies (3)
Friday, November 24, 2017 5:52 PM ✅Answered
Workaround steps to detach a disk using the portal:
- In the left menu, select Virtual Machines.
- Select the virtual machine that has the data disk you want to detach and click Stop to deallocate the VM.
- In the virtual machine pane, select Disks.
- At the top of the Disks pane, select Edit.
- In the Disks pane, to the far right of the data disk that you would like to detach, click the detach button.
- After the disk has been removed, click Save on the top of the pane.
- In the virtual machine pane, click Overview and then click the Start button at the top of the pane to restart the VM.
Note: The disk remains in storage but is no longer attached to a virtual machine.
Do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.
Monday, November 27, 2017 9:29 AM
Many thanks that did it!
How do I delete this disk now for good?
Thanks
Tuesday, November 28, 2017 1:36 PM
Note: The disk remains in storage account or resource group but is no longer attached to a virtual machine.
You can go to your resource group.
Select the disk which you want to delete.
Do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.