📚
Documentation
Installation guides, configuration steps, and product documentation.
KB10037 How to change "Dynamically attached disks slot offset" parameter
KB ID: 10037
Product: vProtect
Version: 4.0.0 +
Published: 2021-04-09
Last modified: 2021-04-09
Problem
You have one of the virtualization platforms that can be backed up by the "Disk attachment" backup strategy.
Is possible that vProtect Node proxy VM cannot correctly recognize disk devices connected for operating system purposes.
Note:
For the purposes of this KB, it is hypothetically assumed that we have a vProtect Node proxy VM with three disk devices for OS purposes.
1. /dev/sda
2. /dev/sdb
3. /dev/sdc
Part of the log cut from the vProtect node file. We can clearly see that vProtect Node want to backup disk device /dev/sdb which is actually its own disk.
This is a not correct situation and we need to manually correct "Dynamically attached disks slot offset" parameter.
Note:
To fully understand how works "disk attachment" backup strategy, read below:
vProtect supports the "disk attachment" backup strategy by using a virtual machine called “Proxy VM” (placed inside the hypervisor cluster).
The node invokes commands on your hypervisor manager to snapshot and attach drives of a specific VM to itself (Proxy VM).
The proxy VM is able to read the data from the attached disk snapshots and forward them to the backup provider.
Solution
To make a valid backup you need to manually correct from which disk device vProtect Node will start backing up data.
As changing the value of this parameter is just a few clicks in our web panel, first I will explain the principle of operation:
We need to know from which disk device vProtect Node want to start backing up data.
You can check this in the vProtect node log file, and this file you can get in two ways:Top right corner of vProtect Dashboard → Logs → you can download the whole archive or only vprotect_daemon.log file
Connect by ssh to vProtect node and get file from this directory: /opt/vprotect/logs/<node_name>
Every case can be a little bit different, so we will show you a few examples of how to correctly choose a value for the "Dynamically attached disks slot offset" parameter
We have three disk devices for OS purposes (/dev/sda, /dev/sdb, /dev/sdc) and in the logs, we see that vProtect start backup from device /dev/sdb.
We have to go up with the parameter value. If we set it to 1, vProtect will want to back up the /dev/sdc device, which is also wrong since in this case, it is an operating system device. We need to set the value to "2".
vProtect will now start backing up from the device /dev/sdd and this is a correct behaviour because device /dev/sdd does not belong to the vProtect node proxy machineWe have three disk devices for OS purposes (/dev/sda, /dev/sdb, /dev/sdc) and in the logs, we see that vProtect start backup from device /dev/sdc.
We have to go up with the parameter value. If we set it to 1, vProtect will want to back up the /dev/sdd device, which is correct because device /dev/sdd does not belong to the vProtect node proxy machineWe have two disk devices for OS purposes (/dev/sda, /dev/sdb) and in the logs, we see that vProtect start backup from device /dev/sdb.
We have to go up with the parameter value. If we set it to 1, vProtect will want to back up the /dev/sdc device, which is correct because device /dev/sdc does not belong to the vProtect node proxy machine
Ok, now when we know how to properly choose the correct value for the "Dynamically attached disks slot offset" parameter, we can go to vProtect dashboard.
To do this, follow the steps below:
Log in and go to Nodes → Node Configurations
Edit config assigned to your vProtect Node proxy machine (our recommendation is to have separated configs for all nodes in the environment)On the General tab, you can find "Dynamically attached disks slot offset" field. Enter a correct value and save config
That's all, make one test backup to check if after changes vProtect Node want to backup the correct disk device