Views: 13418
Last Modified: 04.09.2024

Attention!
  1. For operations, described in this chapter, knowledge of *nix-systems administration is required. Prior to start of these operations, it is recommended to perform full backup of Bitrix Virtual Appliance.
  2. Provided settings are listed outside the scope of the Virtual Appliance menu. This means that the details below are provided for informational purposes only and should be used with clear understanding of your actions and under your own liability. Bitrix24 technical support reviews the questions related to Virtual Appliance menu items only.

Second method to increase the space in BitrixVA is to expand the size of already existing virtual appliance hard drive.

  1. This example uses Virtual Appliance BitrixVA for VMWare and demonstrates how to increase the size of system hard drive to 100GB:

    Change system drive size in VMWare

    Change system drive size in VirtualBox
  2. After that, it is necessary to launch Bitrix Virtual Appliance, login under root user and go to command line (console) by selecting the 0. Exit menu item in the Virtual Appliance.
  3. See the disk and its assigned letter designation via console command:
    fdisk -c -u -l

    Click image to expand

    where for the disk /dev/sda:

    • sda1 - disk boot sector;
    • sda2 - swap file;
    • sda3 - partition, where the operating system is installed and which should be expanded specifically.


  4. Launch the fdisk utility to work with /dev/sda disk:
    fdisk -c -u /dev/sda
  5. Delete partition sda3 via command d, by selecting Partition number (1-4): 3:

    Attention! Data on the disk is not deleted, in this case, only the partition record is deleted from the disk partition table.

  6. Next, create a new partition via the n command:
    • Primary (primary partition) - p and Partition number (1-4): 3 command;
    • simultaneously, first and last sectors could be selected by default - this way, partition will be created by using all free space on the disk.

  7. To save all the modifications of updated partition table and to exit from fdisk, enter the w command:
  8. For the system to load a new partition table, reboot the Virtual Appliance:
    reboot
  9. After the reboot, increase the size of file system for the partition /dev/sda3 via the resize2fs utility:
    xfs_growfs /dev/sda3

You can check the partition increase via the df command.

The same procedure modifies the disk size in other virtualization environments.





Courses developed by Bitrix24