question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az disk update doesn't increase os disk filesystem size

See original GitHub issue

Description

Outline the issue here: According to https://docs.microsoft.com/pdfstore/en-us/Azure.azure-documents/live/virtual-machines/linux.pdf it’s possible to expand os disk. Documentation also shows expanding data disk automatically increase filesystem size. However it doesn’t clarify if it’s possible to automatically increase filesystem size for os disk after its expansion. I expanded os disk using az vm deallocate … az disk update … az vm start … but filesystem size for os disk was not increased automatically after os disk expansion My questions:

  • is it by design? if not it has to be fixed. if so it has to be clearly documented. in the latter case what is the way to increase os disk filesystem size after os disk expansion either automatically or manually?

Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: According to https://docs.microsoft.com/en-us/cli/azure/install-azure-cli#windows CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: 2.0.6 OS Version: What OS and version are you using?
Answer here: Windows 10 Pro 64-bit Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: cmd.exe and Bash on Windows

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tjprescottcommented, May 17, 2017

Yes, but we should report this somewhere so the docs can be fixed.

0reactions
alexeyshishkin01commented, Nov 8, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Expand virtual hard disks attached to a Windows VM in an Azure
Expand the size of the virtual hard disks attached to a virtual machine using Azure PowerShell in the Resource Manager deployment model.
Read more >
Resizing a Linux VM system disk in Microsoft Azure
The simplest way to resize the disk itself is to do it via Azure Portal. Go to Settings -> Disks and select Your...
Read more >
How to increase harddisk size of Azure VM - Stack Overflow
1.Stop your VM on Azure Portal. 2.Increase OS disk with Azure CLI. az vm update -g shui -n shui --set storageProfile.osDisk.diskSizeGB=100.
Read more >
Azure VM : Resize Disk Demo and concept - YouTube
https://pachehra.blogspot.com/We cant shrink or decrease the disk weather its os or data but we can increase it. Now there is recommended ...
Read more >
Microsoft Azure Managed Disk LIVE Resize - YouTube
A look at the fundamentals of managed disks and how they can be resized including the new LIVE resize capability. Looking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found