Backup fails with "Invalid argument Asynchronous request operation has failed. Failed to open storage for read/write access"
Challenge
When attempting to write a restore point (VBK or VIB) to a Linux repository with a 4k logical block size, the task fails with the error:
Invalid argument Asynchronous request operation has failed. Failed to open storage for read/write access
Cause
This error occurs when the storage device is formatted with a 4k logical block size and the Veeam Data Mover Service does not have sufficient permissions to determine the logical block size.
On a Linux repository, the Veeam Data Mover Service must have read access to the following file for each device where a restore point would be written:
/sys/dev/block/{id}/queue/logical_block_size
If the Veeam Data Mover Service cannot access this file to determine the device's logical block size, the service will use the default file system block size of 512 bytes. However, if the block size is actually 4096 bytes, this usage of 512 bytes will cause the operation to fail.
Solution
To prevent this issue, ensure that the user account used to install the Veeam Data Mover service is able to read the logical block size of each device (/sys/dev/block/{id}/queue/logical_block_size).
Check Permissions
On the Linux repository, check the current permissions using the following command:
[backupsvc@rhel9 ~]$ ls -lah /sys/dev/block/*/queue/logical_block_size -r--r--r--. 1 root root 4.0K May 29 16:37 /sys/dev/block/11:0/queue/logical_block_size -r--r--r--. 1 root root 4.0K May 29 16:38 /sys/dev/block/253:0/queue/logical_block_size -r--r--r--. 1 root root 4.0K May 29 16:38 /sys/dev/block/253:1/queue/logical_block_size -r--r--r--. 1 root root 4.0K May 29 16:38 /sys/dev/block/8:0/queue/logical_block_size
In this example, the permissions for all block devices are as required.
Set Permissions
If any entry did not have -r--r--r--r (444) permissions, update and run the following command to assign it those permissions.
More Information
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.