Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Virtual appliance

There With a virtual deployment, there are two strategies options available for increasing DPOD's Store disk space:

Anchor
Extend Existinf Disk
Extend Existinf Disk
Extend

...

The Existing Virtual Disk

Use the vSphere Client in order to edit the

...

DPOD virtual machine

  1. Stop the DPOD virtual machine.

...

  1. Select Edit virtual machine

...

  1. settings

...

  1. Select the 3rd hard drive (which is the data disk, as described in

...

  1. the Hardware and Software Requirements page).
  2. Increase the

...

  1. Provisioned size of the hard drive and press OK.
  2. Wait for the increase process to finish.
  3. Start DPOD virtual machine.

 

Anchor
configure extended disk
configure extended disk
Configure the extended disk on OS level

...

  1. Verify the current size of mount point /data:

    Code Block
    df -h /data


  2. The system output should resemble the following:
    Image Modified

...

  1. Verify the new disk size:

    Code Block
    fdisk -l |grep /dev/sdc


  2. The system output should resemble the following:
    Image Modified

...

  1. Use fdisk to create a new partition for the new size:

    Code Block
    fdisk /dev/sdc

     and perform the following steps:

    1. Press p to print the partition table to identify the number of partitions

...

    1. :
      Image Added
      If this is the first

...

    1. time the disk is extended, you should only see sdc1. If this is

...

    1. a subsequent extension - you will see additional sdcX listed (e.g. sdc2 for the second extension)
    2. Press n to create a new primary partition.
    3. Press p for primary.

...

    1. When the system prompts for a partition number enter the next number depending on the output of the partition table print

...

    1. . If this is the first extension and you see only one row of output - enter 1. If this is the second disk

...

    1. extension then the partition number will be 3

...

    1. , and so on.
    2. Press Enter

...

    1. twice
      Image Modified
    2. Press t to change the system's partition ID.
    3. Press 2 to select the newly creation partition.
    4. Type 8e to change the Hex Code of the partition for Linux LVM.
    5. Press w to write the changes to the partition table.

      Image Modified

      Note

      the following warning is valid, the system reboot will fix the issue :
      “WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)”


    6. Reboot the system:

      Code Block
      reboot

...

    1.  

    2. When the system is back up,

...

    1. ensure the new partition is available:

      Code Block
      fdisk -l | grep /dev/sdc


    2. The system output should resemble the following (note the new sdcX added)
      Image Modified
      • stop the application using app-util.sh -> option 2 (stop all)
      • create new LVM physical volume (PV) : pvcreate /dev/sdc2
        if this is the second disk extending the device will be /dev/sdc3
      • extend the LVM volume group (VG) : vgextend vg_data /dev/sdc2
      • 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

        Image Modified

      • 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

        Image Modified

      • Display the new  size of mount point / data : df -h /data

...





 

Anchor
Add New Disk
Add New Disk
Add new virtual disk

Use the vSphere Client in order to edit the DPODs virtual machine

    • Stop DPOD virtual machine.
    • Press “Edit virtual machine settings”
    • Choose “add” -> “hard drive”
      make sure you configure the new hard drive as “Thick Provision Eager Zeroed”



    • Wait for the increase process to finish.
    • Wait for the increase process to finish.
    • Start DPOD virtual machine.

...