...
AnchorExtend Existinf Disk Extend Existinf Disk
Extend The Existing Virtual Disk
Extend Existinf Disk | |
Extend Existinf Disk |
...
AnchorAdd New Disk Add New Disk
Add new virtual disk
Add New Disk | |
Add New Disk |
Use the vSphere Client in order to edit the DPODs virtual machine
- Stop the DPOD virtual machine.
...
- Select Edit virtual machine
...
- settings
- Select Add > Hard Drive
- Ensure to configure the new hard drive as
...
- Thick Provision Eager
...
- Zeroed
...
- Wait for the increase process to finish.
...
- Start the DPOD virtual machine
...
Anchor | ||||
---|---|---|---|---|
|
...
The New disk at the OS Level
- Display the current size of mount point / data : df -h /data
- Display the new disk size : fdisk -l |grep /dev/sdd
- Display the new disk size : fdisk -l |grep /dev/sdd
- Create new partition for the new size :
- fdisk /dev/sdd
- Press p to print the partition table and make sure there are no partitions.
- Press n to create a new primary partition.
- Press p for primary.
- Press 1 for the partition number
- Press Enter two times.
- Press t to change the system's partition ID.
- Type 8e to change the Hex Code of the partition for Linux LVM.
Press w to write the changes to the partition table.
- Reboot the system : reboot
- After the system is up, make sure you see the new partition : fdisk -l |grep /dev/sdd
- stop the application using app-util.sh -> option 2 (stop all)
- create new LVM physical volume (PV) : pvcreate /dev/sdd1
- extend the LVM volume group (VG) : vgextend vg_data /dev/sdd1
- extend the LVM logical volume (LV) :
lvextend -l +100%FREE /dev/vg_data/lv_data - identify the /data file system type (for CentOS 7.2 based appliance the type is xfs) : cat /etc/fstab |grep /data
- resize the file system according to the file system type :
- ext4 : resize2fs /dev/vg_data/lv_data
- xfs : xfs_growfs /dev/vg_data/lv_data
- Display the new size of mount point / data : df -h /data
...