How to extend SAP HANA Backup filesystem ONLINE (no downtime)

Angeli Casabar 0 Reputation points

Hello Experts,

We are planning to extend /hana/backup filesystem via Azure extend Disk > Size + performance > from P20 (512 GB) to P30 (1024 GB).

Note that the filesystem /hana/backup is for backup purposes only while the HANA Data and Logs are are in different filesystem. However, these are all hosted in the same VM (linux server).

This is our current plan:

Plan A:

  1. In Azure Portal, Increase disk size
  2. In Linux server, configure the filesystem to adapt new disk size (pvresize, lvextend, xfs_growfs)
  3. Check that new FS size is reflected (df -kh)
  4. Test run of Adhoc db backup, validate log backups are written

Please clarify:

Is it possible to extend disk ONLINE (without detaching the disk or shutting down the VM, following the plan above)? I heard that this is a new feature of Azure?

If not, kindly guide us what steps will be feasible in our current environment.

Thank you!


SAP HANA on Azure Large Instances
SAP HANA on Azure Large Instances
Microsoft branding terminology for an Azure offer to run HANA instances on SAP HANA hardware deployed in Large Instance stamps in different Azure regions.
113 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 19,961 Reputation points

    Hi @Angeli Casabar

    Thank you for reaching out to the Microsoft Q&A platform.

    You can expand azure VM's data disks only without deallocating your VM. This feature has the following limitations:

    • Only supported for data disks.
    • If a disk is 4 TiB or less, you should deallocate your VM and detach the disk before expanding it beyond 4 TiB. If a disk is already greater than 4 TiB, you can expand it without deallocating the VM and detaching the disk.
    • Not supported for Ultra disks or Premium SSD v2 disks.
    • Not supported for shared disks.
    • Install and use either:
    • Not available on some classic VMs. Use this script to get a list of classic VM SKUs that support expanding without downtime.

    In your case, the disk is smaller in size, and If the /hana/backup is on OS disk, it is not possible expand the disk without downtime. You need to follow below document link for steps to expand the disk and resize the required partition where your filesystem resides.

    If the answer provided has helped, please "Accept Answer" and click on Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members

    0 comments No comments