Closed kkovaletp closed 1 year ago
hi, unfortunately, as I have already seen, several new users are confused by the current state of the master branch which is no longer updated and I have prepared a PR about it: https://github.com/veeam/blksnap/pull/68 recent changes for upstream required interface and other big changes that made incompatible with first version, latest works require kernel 6.6 + latest patches from Sergei git and blksnap latest commits of branch stable-2.0
in your case using veeam agent for linux 6.0 you need build kernel module latest commit from VAL-6.0 branch that added kernel 6.5 support
Yep. That's just the way it is. If you use the package Veeam Agent 6.0.3, you can contact Veeam support. In this case, you will be offered to update the package of the blksnap module, the source code of which is located in the VAL-6.0 branch. The code from the VAL-6.1 branch has not yet passed the full testing cycle and is not considered stable yet. It is not compatible with Veeam Agent 6.0.3. The name of the module has been changed.
@Fantu thanks a lot for the quick reply with helpful tip!
I've successfully built and installed the module, after which I successfully made 1st volume-level backup and then mounted it for recovery to double-check that it is correct.
It solved my problem, so thanks!
The readme in the Master is definitely confusing. It has to contain some clear instructions of users, like me, to find the right branch for the OS + kernel version and veeam version.
While the issue is in fact solved, I'd not close it, as it is a typical one, so users might easily find it in the list of open issues of the repo. But if it is not the right practice in the repo, feel free to close it.
@SergeiShtepa merged today my PR that added an header with note to help users now I tried to do a fast PR with improvement: https://github.com/veeam/blksnap/pull/71 @kkovaletp any opinion or advice to improve it is welcome keeping the bug open after the README has been improved is not necessary, users can carry out a search quickly and easily including closed bugs (and it seems very logical to me to also search in closed ones to have the greatest probability of a solution)
Distribution
Fedora 38
Architecture
amd64
Kernel version
6.5.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 20 15:53:48 UTC 2023 x86_64 GNU/Linux
Blksnap version
commit b019208054dba7076e81dfe01c72c6b3631c203d and kernel module from same commit
Bug description
I'm new here, as I'm faced with the blksnap installation issue onto Fedora 38 with kernel 6.5.8, dkms 3.0.12-1 according to the Veeam Agent installation guide: it failed on post-install build with errors like the same, I'm faced with now. I found in the Veeam community recommendation to try to build blksnap from sources, so I tried and got the same issue. I simply cloned master and followed the guide, running
./mk.sh build
from module folder, but got next errors:Steps to reproduce
./patches/lk6.5-block
folder and see that most will fail with thefile not found
error./module
mk.sh build
Expected behavior
Dnf-distributed blksnap installs successfully including post-install step. Master branch is built and installed successfully without any errors.
Additional informations
Sorry if I ask something obvious - I'm new here and just try to install the Veeam Agent on my system somehow, so it works with snapshots correctly. Feel free to ask me some more questions if I missed to provide some important details. Feel free to point me to the detailed guide on how to build and install the project on my system successfully if I did the wrong actions.