Resizing the cpmdata volume

Resizing the cpmdata volume

Resizing the cpmdata volume is done like any other ec2 instance.


IMPORTANT - Before extending a file system that contains valuable data, it is a best practice to create a snapshot of the volume that contains it in case you need to roll back your changes

Below are the steps for resizing the cpmdata volume.

  • Go to EC2 console, Volumes tab.
  • Find the CPM Cloud Protection Manager Data volume
  • Click Actions, Modify Volume and change it to the desired volume size.
  • SSH into CPM,
    • Type lsblk to see that the volume was modified to the desired size. In the example below it is named as xvdf and it was changed to 10G.

    • Type df -h to see the volume named /cpmdata and its filesystem path. You should notice that it is still using the former size.

    • To increase the size of fs type the command resize2fs <path of cpmdata>. In the example that would be sudo resize2fs /dev/xvdf
    • Type df -h again to confirm that size changed to the full volume's size.