Re: [linux-lvm] Can't get merge in background using blockdev api to work

2022-01-05 Thread Tomas Dalebjörk
Hi Vojtech, Thanks for looking it up. It looks like the merging started in the background after all. But here is the issue.. Merge initiates at 2022-01-04 17:40:31 2022-01-04.17:40:31 MERGELV And I do get a return code of that it starting in background, as the next command is executed, that tri

Re: [linux-lvm] Can't get merge in background using blockdev api to work

2022-01-04 Thread Vojtech Trefny
Hi, libblockdev maintainer here, libblockdev is a separate project from LVM so it's better to ask on our GitHub[1], but I'm reading this ML too so I can answer here. I did a quick test and the background merge works for me, so I think the problem is somewhere in LVM or with your setup, not in libb

[linux-lvm] Can't get merge in background using blockdev api to work

2022-01-03 Thread Tomas Dalebjörk
Hi, I am trying to start a merge to the previous snapshot to be started with the "-b" flag (background). But it seems to be that the merging has not started in the background at all. BDExtraArg lv_arg = {"--background",""}; const BDExtraArg*extra_args[2] = {&lv_arg, N