Skip to end of metadata
Go to start of metadata

failed to fetch the default request function for device. unable to set request function for device


A backup (replication) task fails with the following error in the task logs: 

failed to fetch the default request function for device unable to set request function for device : /dev/XXX : Invalid argument



This error is seen when the Server Backup agent cannot determine the exact system functions necessary to communicate with the running Linux kernel. This error has multiple causes, depending on the agent version and kernel module being used. 


4.18.0-372 kernels and newer 

The Server Backup Agent version 6.16.5+ requires build 269 of the Linux kernel module. Older module versions will result in the error specified. To resolve this error, make sure the module in use is build 269. 

The module version can be verified by running :

# modinfo /Path/To/Kernel/Module.ko

Build 269 kernel modules are currently available from the R1Soft Beta Repository
If you do not see the version you need, you may request it from Support.

5.10 kernels and newer 

The server Backup Agent version 6.16.5+ requires initialization before snapshots can be taken.  Initialization happens when the "getmodule" command is run.   
It's recommended to run "getmodule" before downloading a new kernel module from the R1Soft Repo, or Beta Repo. 
If the module has already been downloaded, it must first be removed from the /lib/modules/r1soft directory before getmodule can run.
After the "getmodule" command completes, the module may be moved back into the /lib/modules/r1soft folder. Lastly, restart the agent to continue. 

# mv /lib/modules/r1soft/hcpdriver-cki-`uname -r`*.ko /tmp/ # getmodule # mv /tmp/hcpdriver-cki-`uname -r`*.ko /lib/modules/r1soft/ # systemctl restart sbm-agent

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.