Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Linux Resource Disk not Present on Standard_G4 or Standard_G5

$
0
0

In the recently released G-Series sizes it is possible that some Linux VMs will not format and mount the resource drive (aka Temporary Storage Drive) on the G4 and G5 VM sizes. This is due to a problem in an earlier version of the Azure Linux Agent which didn’t support disks using the GUID Partition Table (GPT) layout. This issue has been fixed in the current Azure Linux Agent which is included in most of the images available in the Azure image gallery from December 2014 and later. This issue is fixed in the Azure Linux Agent version 2.0.11 and later. You can run “waagent –version” to confirm the version installed on a specific VM.

To update the agent please follow the appropriate repair steps based on the specific Linux distribution:

Ubuntu

$wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.11/fix-gpt-ubuntu.py

$sudo python fix-gpt-ubuntu.py

CentOS, OpenSUSE or SLES

$ wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.11/get-agent.py

$ sudo python get-agent.py

Oracle Linux

You must first install parted and then update the agent

$sudo yum install parted

$wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.11/get-agent.py

$sudo python get-agent.py

CoreOS

$wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.11/get-agent.py

$sudo /usr/oem/python/bin/python get-agent.py


Messages posted to this forum are provided "AS IS" with no warranties


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>