How to Expand the HDD of a GMS Virtual Appliance

Description

Learn how to expand the HDD on your GMS virtual appliance with this step-by-step guide. Ensure efficient storage management and system performance.

This article will explain how to expand the logical volume size of a Virtual appliance to grow beyond the 250 GB and 950 GB OVA templates provided on MySonicWall.com. This process does not overwrite the pre-existing data, it will add on more space to the pre-existing Hard Drive.

 

*This process should not be used to expand the volume of Flow Server agents, or GMS 9.0 deployments installed with Flow Based reporting.

**This process should not be used on GMS versions 8.1 or older.  Please upgrade to minimum GMS version 8.2 prior to performing these steps.

Resolution

Add a new virtual Hard Drive

1. Turn off the Virtual Appliance

2. Log into the VMware Web Client or vSphere Client

3. Select Edit Settings for the Virtual Appliance

4. Click the Add button, and select the Hard Disk as the device type then select Next

ImageImage

5. Input the size of the disk equal to the amount you would like to expand and select Thick Provision Lazy Zeroed then select next

Image

6. Check the radial for the appropriate drive type (match the drive type, SCSI or IDE,  currently in use on the Virtual Appliance)

Image

7. Select Finish and turn on the Virtual Machine

Image

Expand the Virtual Hard Drive

1. Contact Technical Support to get the Root SSH password
Best method is to open a Web ticket requesting Root SSH with this KB ID in the Title

2. Check that the disk has been partition by running (should be listed as /dev/sdb1): fdisk -l

Image

3. First unmount the new device with the command: umount /dev/sdb1

%%% depending on GMS version, this step may not be necessary and return error. That is fine. Continue next step

4. Create a Physical Volume (PV) with the following command: pvcreate /dev/sdb1

5. Extend the Volume Group (VG) size to use the new PV with the following command: vgextend datavg /dev/sdb1

6. Extend the Logical Volume (LV) size to use all of the VG free space with the following command: lvm lvextend -l +100%FREE /dev/datavg/datalv

7. Resize the entire file system with the following command: resize2fs -p /dev/mapper/datavg-datalv
(This command can take a little bit depending on the amount of space being added)

Image

8. Check the size of the disk by running the following command: df -h

Image


Related Articles

  • Analytics On-Prem vs NSM Feature Matrix
    Read More
  • Analytics On-Prem End of Life and NSM Transition FAQ
    Read More
  • NSM On-Prem: Backups over SCP to Windows OpenSSH Server
    Read More
not finding your answers?