📚
Documentation
Installation guides, configuration steps, and product documentation.
KB10022 How to create VDO volume on multiple disk devices
KB ID: 10022
Product: vProtect
Version: 4.0.0 +
Published: 2021-02-25
Last modified: 2021-02-25
Problem
How to prepare a machine with a vProtect node to create a file system backup destination (with deduplication) on multiple disk devices.
Note: If you have a single block device, there is no need to prepare OS
Let assume that you have a VM (or bare metal, there is no difference) machine with 4 disks.
Hard disk 1 is for the operating system, disks from 2 to 4 are for backup destination.
You want to have a single backup destination with the sum of available disk space.
Solution
vProtect use a build-in deduplication feature into CentOS/RHEL operating systems - VDO.
Because VDO requires a singular device in the creation process, we need to create an LVM logical volume on our three disks.
Check disks available on the machine
Use lsblk command
Initializing Physical Volumes
Use the pvcreate command to initialize a block device to be used as a physical volume. Initialization is analogous to formatting a file system.
The following command initializes/dev/sdb,/dev/sdc, and /dev/sdd as LVM physical volumes for later use as part of LVM logical volumes.
Check physical volumes available for lvm
Initializing Volume Group
Now we need to create a volume group using our three physical volumes
Initializing Logical Volume
In the last step, we will create a logical volume and thanks to that we will have the block device/dev/mapper/vg4vdo-lvm4vdo (this is what we need for a later configuration in vProtect)
The following command creates a logical volume called lvm4vdo that uses all of the unallocated space in the volume group vg4vdo
To be 100% sure, check if there is a block device
/dev/mapper/vg4vdo-lvm4vdo - this is the path that we need to provide in vProtect
Now we can go to vProtect WebUI to create a new backup destination with enabled deduplication
Example how to fill a file system settings. This configuration will create a backup destination with deduplication enabled and a staging area located on the same vdo volume.
This speeds up the backup process as vProtect will only move the backup data from the staging area to the backup subdirectory.
In the "storage path" enter the path where you want to keep backup data: /vprotect_data/name_of_subdirectory
In the deduplication device, enter the block device created before: /dev/mapper/vg4vdo-lvm4vdo
In the "deduplicated path store", enter the default path to the staging area: /vprotect_data (we usually do not recommend changing the default /vprotect_data path for the staging area)