Tried one of the NVMe devices I have, then tried loop device, not reproducible on my end
@xorinox could I get access to a VM with problematic drive so I can debug this further? Ideally with 8+ cores and 16G+ of RAM so I can recompile things there a few times.
If SSD needs to be re-formatted for the issue to reproduce then I probably need access to root, but if not (not clear to be from the previous testing whether simply removing files is sufficient) then I don’t need any privileged access.
I usually create VMs with libvirt, so it is easy to dedicate one PCIe device to it and throw VM away later.
The issue is only reproducible, when the NVME drives are formatted with 4k blocks. When I format them back to 512 byte blocks, the issue cannot be produced.