Azure, default virtual hard disk size for a Linux Operating system?
Question: In Azure, what is the default virtual hard disk size for a Linux Operating system?
The typically size is 30 GB.
When you setup a virtual machine in Azure, 2 disks are created and automatically attached to the Virtual Machine.
A) The first disk is for the operating system (/dev/sda*). This can be resized up to about 1 TB. For performance, it is recommend just having the operating system running on this partition.
B) The second disk is only for temporary operations. Ie page or swap files
From command line, the disk is usually called /dev/sdb*. The item is formatted and mounted to /mnt by the Linux agent.
Below is example of a typical Linux layout df –h
Take note the OS is running on /dev/sda2 /dev/sda1/ /boot and the Temporary disk is running on /dev/sdb1/ /mnt/resource
Regarding the temporary disk, if the VM is moved to a different node, a new temporary disk will be created. This means anything stored on the original temporary disk will not be migrated to the new location.