Increase the disk size of the OVA

1,611 views
Skip to first unread message

KevinK Leung

unread,
May 20, 2022, 4:17:02 AM5/20/22
to Wazuh mailing list

Dear Team,

 

We want to enlarge the disk space available to the OVA image, but when I found the notes, there are some commands are not available. Can I install these commands as well?

 

l   pvcreate

l   pvdisplay

l   vgextend

l   vgdisplay

l   lvextend

 

https://drive.google.com/uc?id=18VnSkTFk0ZWUmniU2igCPUYlQK_u1bkx&export=download

Kevin Leung

IT Security Specialist

Easy Great Technology Limited

https://www.ecg-tech.com/

+852 5483 2178

 

Miguel Angel Cazajous

unread,
May 22, 2022, 1:10:02 PM5/22/22
to Wazuh mailing list
Hi Kevin,

I'm not familiar with those commands you mentioned, but to increase the disk size I propose to use the Gparted live ISO that can be downloaded here

https://sourceforge.net/projects/gparted/

Before starting backup your disk, just in case something goes wrong.

I will explain what I would do to achieve this.

1- Default size of 50GB

1.png

2- Go to File -> Virtual Media Manager (Ctrl+D) and select the correct disk

4.png

3- Increase the disk size as you want (I used 75GB as example)

5.png

4- Go to the setting for your VM, Storage, and add a new empty optical drive

2.png

5- Select your gparted-live ISO image and boot

3.png

6- Once booted, open the Gparted application and you will see something like this.

6.png

7- Add the unallocated space into your disk

7.png

8- In the end, if everything went as expected you will have a larger disk in your environment

8.png

I hope this information helps you. Regards!

KevinK Leung

unread,
May 22, 2022, 11:51:18 PM5/22/22
to Wazuh mailing list
Thanks. i have also tried this on my environment. but i move the image to the server which running quite old version of ESX, it does not support because the option of 'hard disk size' has been dimmed after the virtual machine is imported from OVA. therefore i am a headache of it. in some envronment, i have tried to enforce the installation of these commands. but the result of their command's operation was a little bit different compared with the original cent OS version 7 iso images.
Reply all
Reply to author
Forward
0 new messages