User Tools

Site Tools


sonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance [2021/02/16 15:10] dgonzalezsonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance [2021/02/16 15:29] (current) dgonzalez
Line 2: Line 2:
  
  
-  DESCRIPTION:+**DESCRIPTION:** 
 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 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.
  
Line 13: Line 14:
  
 ===ADD A NEW VIRTUAL HARD DRIVE=== ===ADD A NEW VIRTUAL HARD DRIVE===
-1. Turn off the Virtual Appliance 
  
-2. Log into the VMware Web Client or vSphere Client+  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 
 +   
 +{{:sonicwall:hard_disk:090170726616587.png?nolink&400|}} {{:sonicwall:hard_disk:090170726023029.png?nolink&200|}} 
 + 
 +  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 
 +   
 +   
 +{{:sonicwall:hard_disk:090170726295989.png?nolink&400|}} 
 + 
 +  6. Check the radial for the appropriate drive type (match the drive type, SCSI or IDE,  currently in use on the Virtual Appliance) 
 + 
 +{{:sonicwall:hard_disk:090170726498388.png?nolink&400|}} 
 + 
 +  7. Select Finish and turn on the Virtual Machine 
 + 
 +{{:sonicwall:hard_disk:090170726372840.png?nolink&400|}} 
 + 
 +===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** 
 +   
 +{{:sonicwall:hard_disk:090170726593934.png?nolink&400|}} 
 + 
 + 
 +  3. First unmount the new device with the command: **umount /dev/sdb1** 
 +  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) 
 + 
 +{{:sonicwall:hard_disk:090170726576849.png?nolink&400|}} 
 + 
 +  8. Check the size of the disk by running the following command: df -h 
 + 
 +{{:sonicwall:hard_disk:090170726321619.png?nolink&400|}}
  
-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 
sonicwall/hard_disk/how_to_expand_the_hard_drive_of_a_virtual_appliance.1613506209.txt.gz · Last modified: 2021/02/16 15:10 by dgonzalez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki