
- #HOW DO I ADD MORE DISK SPACE TO A LINUX VM ESXI 6.5 HOW TO#
- #HOW DO I ADD MORE DISK SPACE TO A LINUX VM ESXI 6.5 FREE#
Write down how much disk space you want (or need) to add here (for example, 5 for 5 gigabytes).ĭisk Space to Add :_. The first part (/dev/sda) shows the device and the second part (2) shows the partition number. Note: The PV Name (/dev/sda2) shows two things. PV UUID HO3ICX-nRhO-FaBA-MvB3-Zlzv-JLG4-vNFQeU This is sample output for the pvdisplay command: ~]# pvdisplay Record the PV Name value (for example 'PV Name: /dev/sda2'). Use the Physical Volume Display command ( pvdisplay) in order to see the Physical Volume (PV) Name where the Volume Group is located. This is sample output for the df -h command: ~]# df -hįilesystem Size Used Avail Use% Mounted on For example, Filesystem: /dev/mapper/VolGroup00-LogVol03 Mounted On: /data . Record the Filesystem and Mounted On values. #HOW DO I ADD MORE DISK SPACE TO A LINUX VM ESXI 6.5 FREE#
Use the Disk Free ( df) command in order to find which partition needs more space and where it is located.Section 1 - Determine where you need to add space and decide how much Often there are files in /tmp, /var/tmp, /var/tmp/broadhop and /var/log that are not needed and can be deleted instead of the addition of disk space.
Note: Before you increase disk space ensure you have cleaned up the existing filesystem. Note: Many of the resizing options are RISKY and can leave the VM in an unbootable state or corrupt data.
Resize the filesystem on the logical volume so that it uses the new space. Extend the size of the volume group so that it uses the new space. Use free space in the datastore in order to increase space for the VM. Check to see if there is available space in the datastore.
Check to see if unallocated space is available in the volume group. Determine where you need to add space and decide how much. On top of this is stacked a Volume Manager followed by a filesystem which is what is typically used.įor a Linux VM, these steps are required in order to increase the size of a filesystem: Linux (and Linux VMs) are installed on hard disks, whether real or virtual. #HOW DO I ADD MORE DISK SPACE TO A LINUX VM ESXI 6.5 HOW TO#
This document describes how to add disk space to Linux Virtual Machines (VMs).