You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the nice benefits of cloud-init is its ability to automatically grow an XFS filesystem upon first boot. This makes it so you can start with a small base image and deploy VMs with larger filesystems as needed.
The WALinuxAgent does not appear to support this, but these are the following steps I followed in order to grow the XFS file system of a CentOS image after growing its disk in Azure.
Install growpart script for growing a partition
yum install -y cloud-utils-growpart
Extend partition 1 in /dev/sda
growpart /dev/sda 1
Expand /dev/sda1 to fill entire partition
xfs_growfs /dev/sda1
The text was updated successfully, but these errors were encountered:
One of the nice benefits of cloud-init is its ability to automatically grow an XFS filesystem upon first boot. This makes it so you can start with a small base image and deploy VMs with larger filesystems as needed.
The WALinuxAgent does not appear to support this, but these are the following steps I followed in order to grow the XFS file system of a CentOS image after growing its disk in Azure.
The text was updated successfully, but these errors were encountered: