Skip to main content

Expand harddisk in ESET Protect Virtual Appliance - Kennisbank / ESET PROTECT - ESET Tech Center

Expand harddisk in ESET Protect Virtual Appliance

Authors list
  1. Expand the disk of your ESET Protect Virtual Appliance in your hypervisor platform. 
  2. It is advisable to create a snapshot before proceeding. 
  3. Power on your ESET Protect Virtual Appliance
  4. Login via SSH or the VM Console ( and exit to terminal) 
  5. Extend the partition by using the command fdisk /dev/sda
    Enter p to print your initial partition table.
    Enter d (delete) followed by 2 to delete the existing partition definition (partition 1 is usually /boot and partition 2 is usually the root partition).
    Enter n (new) followed by p (primary) followed by 2 to re-create partition number 2 and enter to accept the start block and enter again to accept the end block which is defaulted to the end of the disk.

    Enter t (type) then 2 then 8e to change the new partition type to "Linux LVM".

    Enter p to print your new partition table and make sure the start block matches what was in the initial partition table printed above.

    Enter w to write the partition table to disk. You will see an error about Device or resource busy which you can ignore.
     
  6. Reboot the ESET Protect Virtual Appliance. 
  7. Resize the physical volume: pvresize /dev/sda2 
  8. Expand the logical volume: lvextend -l +100%FREE /dev/centos_ba-eraappl-v/root 
  9. Expand the file system: xfs_growfs /

  10. You have now successfully expanded the harddisk of your ESET Protect Virtual Appliance:

Reactie toevoegen

Please log in or register to submit a comment.

Need a password reminder?