无法删除托管磁盘,因为它说它已连接到已删除的虚拟机 [英] Cannot delete managed disk, because it says it's attached to the VM which has been deleted

查看:76
本文介绍了无法删除托管磁盘,因为它说它已连接到已删除的虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个磁盘问题.即使已经删除了连接它们的VM,也无法删除它们.而且,我无法访问那些虚拟机,因为它们不存在.

I have an issue with two disks. I am not able to delete them even though the VM to which they were attached has been deleted already. Moreover, I cannot access those VM's as they do not exists. 

两个磁盘都是托管HDD磁盘.

Both disks are managed HDD disks.

michal.furmankiewicz(波兰MCS)

michal.furmankiewicz (MCS Poland)

推荐答案

您是否还可以尝试使用带有force选项的Remove-AzureRmDisk cmd.

Can you try to use the Remove-AzureRmDisk cmd with the force option also.

例如-   PS C:\> Remove-AzureRmDisk -ResourceGroupName'ResourceGroup01'-DiskName'Disk01'-Force;

for example -   PS C:\> Remove-AzureRmDisk -ResourceGroupName 'ResourceGroup01' -DiskName 'Disk01' -Force;

https: //docs.microsoft.com/zh-CN/powershell/module/azurerm.compute/remove-azurermdisk?view=azurermps-6.13.0

https://docs.microsoft. com/zh-CN/azure/virtual-machines/windows/find-unattached-disks

如果这不起作用,您可以尝试按照与以前相同的规格重新创建Vm,然后在删除VM之前先取消挂接磁盘.

If this does not work you can try to recreate the Vm to the same specs as you had done previously and then unattach the disk before deleting the VM.

如果此选项也无济于事,您可以在此处与我们的结算小组联系, http://aka.ms/azsupb .创建票证,我们的团队可以为您删除资源(磁盘).

If this option also does not help, you can contact our billing team here, http://aka.ms/azsupb . Create a ticket and our team can remove the resource (disk) for you.

如果此答案有帮助,点击标记为答案"或投票.要提供有关您的论坛体验的其他反馈,请单击 此处



这篇关于无法删除托管磁盘,因为它说它已连接到已删除的虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆