Unable to Manage Additional Disk on Azure VM
I am facing an issue with an additional disk (/dev/sdb1
) on my Azure VM. While the disk is visible and mounted within the VM (/mnt/mydisk
), it does not appear under the Disks section in the Azure Portal or the associated with my VM and Resource Group. This makes it unmanageable via the Azure Portal or CLI.
Azure Virtual Machines
Azure Disk Storage
-
Deepanshu katara 12,635 Reputation points
2024-12-19T06:54:42.11+00:00 Hello Mir, Welcome to MS Q&A
Update Azure Portal:
- Sometimes, the Azure Portal may not reflect the latest changes immediately. Refresh the Azure Portal or log out and log back in to see if the disk appears.
Azure CLI:
- Use the Azure CLI to check the disk status and attachment. You can use the following command to list the disks attached to the VM:
az vm disk list --resource-group <ResourceGroupName> --vm-name <VMName>
- If the issue persists, consider contacting Azure Support for further assistance. They can help diagnose and resolve any underlying issues with the disk attachment.
Please let us know if any further questions
Kindly accept answer if it helps
Thanks
Deepanshu -
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-19T07:39:20.9766667+00:00 Hi Mir Hussain,
We understand from your query that you are experiencing an issue as the additional disk does not appear under the Disks section in the Azure Portal.
Please check that Azure VM and Disk should be within the same region and same Availability zone.
As the Disk does not show in the Azure portal or in VM and Resource Group, check it in the OS level. List the disk using below command.
lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd"
Try unmounting the disk, then reattach the disk through Azure portal. For more detailed information on how to attach disk via azure portal, please check Attach a managed data disk to a Windows VM by using the Azure portal
If you have any further queries, please do let me know.
Thank you.
-
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-20T07:01:57.0466667+00:00 Hi Mir Hussain,
I have provided information to your question. Please tell us if it was helpful and feel free to reach out to us if you have any queries.
-
Mir Hussain 0 Reputation points
2024-12-20T10:49:17.66+00:00 Hi anashetty, Thank you for your vauable suggestions, I have already executed above command : sda 0:0:0:0 30G
├─sda1 29.9G /
├─sda14 4M
└─sda15 106M /boot/efi
sdb 0:0:0:1 32G
└─sdb1 32G /mnt I'm able to view the additional disk in my vm but same is not visible in azure portal, yes i tried ot unmount the disk and to attach it in azure portal but to attach existing disk it wasn't present under dropdown to select. The problme i dont even know disk name as i cant find under resources as well to attach it again. I referred this : https://zcusa.951200.xyz/en-us/azure/virtual-machines/linux/attach-disk-portal
-
Mir Hussain 0 Reputation points
2024-12-20T11:10:09.29+00:00 Hi Deepanshu katara, Thanks for you replying i logged in az and try to execute above command it gave me this : 'list' is misspelled or not recognized by the system.
Examples from AI knowledge base:
az disk list --resource-group myresourcegroup
List managed disks. (autogenerated)
https://docs.microsoft.com/en-US/cli/azure/disk#az_disk_list
i executed this command : $ az disk list --resource-group <my resource name> still it not showing me additional disk data in these please help me on this or atleast can somone provide microsoft support email for azure, i tried from portal ts taking to community or its paid 29$ for month .
-
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-23T17:55:46.0733333+00:00 Hi Mir Hussain,
Did you check that if your disk and VM are in the same Availability zone and Region. If the disk is unable to view in Azure portal, then it might be Unmanaged disk or Ephemeral disk.
When you executed List managed disks command, no disks are showing then it might not be a managed disk. Please confirm and tell me if it is Unmanaged disk or Ephemeral disk. -
Mir Hussain 0 Reputation points
2024-12-24T05:56:21.5266667+00:00 Hi anashetty, Yes when i added it was in the same region but now i'm not able to view the disk in any resouces as well, howcan i confirm there is no way to know in which resorce the disk is as well.
-
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-24T10:04:06.91+00:00 Hi Mir Hussain,
If you have multiple subscriptions, check along all subscriptions if the disk is available. Can you please try to add the additional disk again by following this Use the portal to attach a data disk to a Linux VM
If you still persist any issues, please let me know. -
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-26T01:01:21.2933333+00:00 Hi Mir Hussain,
Did you get a chance to look into my response, can you please retry to add the additional disk again and let me know.
Thank you. -
Mir Hussain 0 Reputation points
2024-12-26T03:29:48.2766667+00:00 Hi anashetty, Yes we have 2 subscriptions but we use only 1 subscription to create our all resources and under subscription resources i have checked the additional disk is not available...please look into it. I have attached screen shots below.
-
Mir Hussain 0 Reputation points
2024-12-26T03:34:49.79+00:00 -
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-26T08:50:28.5566667+00:00 Hi Mir Hussain,
Can you please retry to add the additional disk again and let me know. If you are still facing issues, I would recommend you open an azure support case.
-
Mir Hussain 0 Reputation points
2024-12-26T12:15:57.38+00:00 what about the existing on my VM, what will happen to it, if i extra this will be in vm which will be of no use even cost of it as well.
-
anashetty 1,150 Reputation points • Microsoft Vendor
2024-12-27T00:53:13.9133333+00:00 Hi Mir Hussain
This issue needs deeper investigation and Azure technical support team will be able to help with this. I would recommend you open an azure support case. If you don't have the ability to open a technical support ticket, please let me know and I can help you further with this.
You can check this to create How to Create an Azure support request
Create a support ticket
Thank you
Sign in to comment