Creating disk partitioning for software-only deployments on Hyper-V

Last Updated : Jun 10, 2026 |

About this task

Avaya Aura® Device Services requires a specific disk layout that includes several disk partitions and logical volumes. Use this procedure to create appropriate disk partitioning.

Before you begin

  • Install RHEL.

  • Create volumes with the required disk size values. For more information, see Disk partitions for software-only deployments.

Procedure

  1. Log in to the virtual machine as the root user using an SSH connection.
  2. To create the required directories, run the following commands:
    mkdir -p /var/log/Avaya
    mkdir -p /media/data
    mkdir -p /media/cassandra
  3. To create the required physical volumes and volume groups for these volumes, run the following commands:
    pvcreate -f /dev/sdb
    vgcreate disk2_vg /dev/sdb
    pvcreate -f /dev/sdc
    vgcreate disk3_vg /dev/sdc
    pvcreate -f /dev/sdd
    vgcreate disk4_vg /dev/sdd
  4. To create logical volumes in the volume groups, run the following commands:
    lvcreate -l100%FREE -n application_log /dev/disk2_vg
    lvcreate -l100%FREE -n data /dev/disk3_vg
    lvcreate -l100%FREE -n cassandra /dev/disk4_vg
  5. To create a file system for the /dev/sdb partition and mount the file system, run the following commands:
    mkfs.xfs /dev/disk2_vg/application_log
    mount /dev/disk2_vg/application_log /var/log/Avaya
    echo "/dev/disk2_vg/application_log /var/log/Avaya xfs defaults 0 0" >> /etc/fstab
  6. To create a file system for the /dev/sdc partition and mount the file system, run the following commands:
    mkfs.xfs /dev/disk3_vg/data
    mount /dev/disk3_vg/data /media/data
    echo "/dev/disk3_vg/data /media/data xfs defaults 0 0" >> /etc/fstab
  7. To create a file system for the /dev/sdd partition and mount the file system, run the following commands:
    mkfs.xfs /dev/disk4_vg/cassandra
    mount /dev/disk4_vg/cassandra /media/cassandra
    echo "/dev/disk4_vg/cassandra /media/cassandra xfs defaults 0 0" >> /etc/fstab