Skip to main content


 

 

How can we help you?

 

 
Druva Documentation

How to Increase the Cloudcache R1 data disk from 1 TB

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

 

Problem description:

Default Cloudcache data disk which 1 TB  is full i.e 100%, or a larger deployment size is needed.
Filesystem: /dev/mapper/vg1-vol1
Mounted on : /mnt/data
Use%: 100%

Cause

Cloudcache store size is full

Solution

As a best practice only allocate 90% of the total physical volume size in the Druva User interface to prevent the volume from getting 100% full.
Example: 1024 GB default volume, and the recommended volume would be approximately 920 GB

Steps to follow to extend the existing disk:

  1. Firstly Extend the disk in VMware to new size
  2. Connect to linux cloud cache using Putty session
  3. Run the below commands
    df -h
    fdisk -l
  4. Execute the below command to reflect the new size also on the physical volume
    pvresize /dev/sdb
  5. Extend the volume group with below command
    lvextend --size 1.21T /dev/mapper/vg1-vol1

    Note: Mention the size of the data disk
  6. Extend the filesystem with below command
    resize2fs /dev/mapper/vg1-vol1
  7. Run the below command and verify the new size of the /dev/mapper/vg1-vol1
    df -h

 

Alternative steps to add an additional disk:

  1. Shutdown the CloudCache appliance VM.
  2. Add a volume to the CloudCache VM of the desired size
  3. Power on the CloudCache, and logon to the system via SSH.
  4. Run the following command to identify the added volume:
    fdisk  -l|grep -i /dev/sd
    Example 400 GB disk:
    2023-09-06 12_15_31-How to Increase the Cloudcache R1 data disk from 1 TB - Google Docs.png
  5. Run the following command to initialize the volume:
    Be sure to replace the disk with the needed volume collected in step 4.
    pvcreate /dev/sdc
    2023-09-11 19_45_48-How to Increase the Cloudcache R1 data disk from 1 TB - Druva Documentation.png
  6. Now the volume group can be extended using the command below:
    Be sure to replace the disk with the needed volume collected in step 4.
    vgextend vg1 /dev/sdc
    2023-09-11 19_46_06-How to Increase the Cloudcache R1 data disk from 1 TB - Druva Documentation.png
  7. Run the following command to extend the file system of the volume group:
    lvextend -l +100%FREE /dev/mapper/vg1-vol1 -r
  8. Run the either of the commands and verify the new size of the volume:
    df -h
    vgs

    2023-09-06 12_16_14-Clipboard.png