Cloudbolt Support will be closed on Thurs Nov 26 in observance of Thanksgiving

HOWTO: Extend/Expand CloudBolt Root Disk Size

The CloudBolt appliance ships with LVM installed, therefore it's relatively easy to expand the root disk partition… If you know the right commands. The following steps allow you to expand the rood disk partition online without rebooting the CloudBolt appliance beyond it's default size of 40GB.

  1. Add a new disk to the CloudBolt VM.
  2. Format this new disk with (in this case /dev/sdb) with a linux partition:
    1. Run this command: `cfdisk /dev/sdb`
      1. In cfdisk, select the free space, and then select "New" at bottom of terminal.
      2. Make the new partition a `Logical` partition.
      3. Enter the amount of disk space you want to add to the CloudBolt appliance.
      4. Select `Write` to save changes. You may have to make the partition `Bootable` to allow it to write.
  3. Add physical disk to LVM: `pvcreate /dev/sdb1`
  4. Add physical volume to volume group: `vgextend vg_c2 /dev/sdb1`. If that command does not work, try `vgdisplay` to check the name of your volume group and use that in place of `vg_c2`
  5. Extend the logical volume: `lvextend -l +100%FREE /dev/mapper/vg_c2-lv_root`
  6. Resize the file system: `resize2fs /dev/mapper/vg_c2-lv_root. For these last two steps, do the same as step #4, change `vg_c2` to the name of your volume group.

That is all you need to do to extend the primary partition on your CloudBolt instance.

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.