Compile PBS against 16k page size

gwdsl

Member
Jun 16, 2021
4
1
23
35
I have a system running a 16k page size kernel.
When I try to create or restore a backup it fails with:

Code:
...
read(10, ... , 4096) = 4096
mmap(NULL, 98000, PROT_READ, MAP_PRIVATE, 10, 0x1000) = -1 EINVAL (Invalid argument)
...
write(2, "unable to read dynamic index 'ro"..., 78unable to read dynamic index 'root.pxar.didx' - Invalid argument (os error 22)) = 78
...

How can I compile PBS from source against 16k page sizes?
Can someone help me?
 
PBS requires a -PVE kernel.
 
you can't, at the moment - the code in question there assumes 4k pages at the moment, and this is also encoded in the on-disk format, so can't just be bumped without breaking compatibility. we'd need to implement a fallback path there that works without mmap. could you please file a bug in our bugzilla at https://bugzilla.proxmox.com ?
 
  • Like
Reactions: fstrankowski