Hi Xiwei,
Yes, you can extend the disk size of a VM without rebooting it, but there are a few steps and considerations
Increase the Disk Size in Azure:
- Go to the Azure portal, navigate to the VM, and resize the disk under Disks.
- For Azure Stack HCI, use the appropriate management tools to resize the disk.
Extend the Partition in the OS
- For Windows: Open Disk Management (diskmgmt.msc). Locate the disk, right-click the partition (e.g., D: drive), and select Extend Volume.
- For Linux:
- Use tools like fdisk or resize2fs to extend the partition.
- Ensure the disk has unallocated space after resizing in Azure.
Backup: Always take a backup before resizing disks.
Links for OS (Windows or Linux)
Best regards,
Alex
P.S. If my answer help to you, please Accept my answer