How to increase size of vRO 7.x appliance root partition?

Basically vRO appliance comes with 4.5 GB of root partition and 2.5 GB of Swap parition. This makes your vRO appliance with /dev/sda of 7 GB in size, and I have couple of my customers  who were requesting how to increase the size of this root partition.

Here’s what I have don to achieve this.

  • Take a full backup of both the vRO nodes and vRO DB.
  1. vRO VM -> edit settings -> Hard Disk1 -> Add more space as needed (I have increased it to 5 GB)

– make sure you take snapshot of the vRO VM right after executing step 1.

  1. vRO VM -> edit settings -> vm options -> boot options -> Force BIOS setup check. This bring in the bios screen on next boot.
  2. Mount the gparted live boot iso 64 bit version under vRO VM -> edit settings -> hardware -> CD/DVD drive -> datastore iso. Ensure “Connect on power on selected” (I have used gparted-live-0.29.0-1-i686.iso)
  3. Reboot the vRO appliance and change the boot order (step 2 would help getting directly into BIOS setup), make CDROM as first boot device. Save the settings and let the appliance boot
  4. Once the gparted grub menu is available then select “other modes of gparted live” -> “Safe Graphics” and follow defaults
  5. Once gparted loaded select devices /dev/sda
  6. It will display partitions on this device, select swap partition (/dev/sda2) and click on Button ‘Resize/Move’, drag swap partition as a whole to end of /dev/sda and place it there. Save the settings (Move)
  7. now select root partition (/dev/sda1) and click on ‘Resize/Move’, pickup right edge of /dev/sda1 and drag towards swap partition, occupying all the free space. Save the settings. (Resize)
  8. restart the VM. set CDDVD drive of the VM to Client Device in Edit settings.
  9. let the VM start up normally and check the filesystem.
  10. Please repeat all these steps on vRO appliance Node2 as well.

 

========= In my case, I have achieved following ==========

#df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda1       9.4G  2.3G  6.7G  25% /

udev            4.0G  104K  4.0G   1% /dev

tmpfs           4.0G  8.0K  4.0G   1% /dev/shm

/dev/sdc1        20G  173M   19G   1% /heap

/dev/sdb1       7.9G  202M  7.3G   3% /storage/log

/dev/sdb2       2.0G  108M  1.8G   6% /storage/db

====================================================

Thought this might help others who are trying to ahieve same on vRO appliance.

Facebooktwitterlinkedinmail

Leave a comment

Your email address will not be published. Required fields are marked *