February 12, 20233 yr Hi there, Was previously using a community docker app for PBS (proxmox backup server) till i was having chunk permission issues. I couldnt figure out what it was and not many people could figure it out either. I went ahead and got rid of that decided to get an iso directly from proxmox and put it on a vm and pass through my array and do it that way. All was well till i noticed tonights backup failed again like the docker and i noticed one thing i did today i normally dont do. I ran "new docker safe permissions" why i was told to run it with unbalance since i was running that today but didnt realise that could petentally mess up the permissions i had going for this backup. It basacally is ment to from the proxmox machine to my server PBS on unraid then be stored in the share "/mnt/proxbackupsvr" So I would like to know if there is any way around this or how to fix this since its a very big issue for me right now. Thanks to anyone who has some guidance or can help! Currently Running Latest unraid OS and PBS VM Error from PBS: INFO: starting new backup job: vzdump 108 --notes-template '{{guestname}}' --mode snapshot --remove 0 --storage unraidvm-proxbackupsvr --node pve1 INFO: Starting Backup of VM 108 (qemu) INFO: Backup started at 2023-02-13 00:37:51 INFO: status = running INFO: VM Name: Debian-Portainer INFO: include disk 'scsi0' 'local-lvm:vm-108-disk-0' 100G INFO: backup mode: snapshot INFO: ionice priority: 7 INFO: creating Proxmox Backup Server archive 'vm/108/2023-02-12T13:37:51Z' ERROR: VM 108 qmp command 'backup' failed - backup register image failed: command error: update atime failed for chunk/file "/mnt/proxbackupsvr/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8" - EPERM: Operation not permitted INFO: aborting backup job INFO: resuming VM again ERROR: Backup of VM 108 failed - VM 108 qmp command 'backup' failed - backup register image failed: command error: update atime failed for chunk/file "/mnt/proxbackupsvr/.chunks/bb9f/bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8" - EPERM: Operation not permitted INFO: Failed at 2023-02-13 00:37:52 INFO: Backup job finished with errors TASK ERROR: job errors
February 12, 20233 yr Your permissions on the proxbackupsvr directory are 770 and they should probably be 777. What are the permissions of the files inside of the .chunks directory? EDIT: these are often the type of problems that occur when an outside Linux OS is writing files inside of the Unraid OS. The 'users' of the outside OS are not defined as to their permissions on the Unraid side... Edited February 12, 20233 yr by Frank1940
February 12, 20233 yr Author chunks are i believe the contents or "snapshots" of the proxmox vms that the PBS takes and puts in there since thats where i directed it to put it in the share. How would i go about changing it to 777 would that fix it?
February 13, 20233 yr I would suggest that you ask in the support thread/forum for the backup program that is creating and filling those directories.
February 15, 20233 yr Author I went to proxmox with what you had said and they wrote back to me and said this: "no, the datastore just needs to be (fully) writable by the backup user/group (34/34) ". Not sure if you can tell me what they mean by the 34/34, they make reference to the backup user/group possibly made by the pbs but would it even be possible since its in a vm.
February 16, 20233 yr Author in follow up of this i tried to create a user group with those permissions not sure if it was ment to be a user or not since im not sure what the vm uses permission wise but i set it up with the 34/34 i believe but still not working. Im continplating do i make the whole share 777 to allow everyone since im losing patients as to why i cant get it to backup.
February 16, 20233 yr I (personally) don't have a solution as I don't use VM's and I am assuming that this VM has the capability to write directly to Unraid's array. (With Dockers, the user is nobody (PUID=99) and the group is users (PGID=100). For Dockers, the UMASK =000 This writes to the array with a user of nobody and the group of users with directory permissions of 777 and files permissions of 666. (It is my understanding that these standard Unraid permissions are not the permissions for many Linux distribution which will be more restrictive to increase security.) What I would do is to have the VM log into Unraid via SMB. This would require that you establish a Share User on Unraid with a password and then setup a login from the VM to the Unraid server. Then transfer the files over the network.
February 18, 20233 yr I tried it this way (link) and have the same error.... Nevertheless I am able to read and write manually from the Backup Server (shell) on the Unraid share... https://forum.proxmox.com/threads/how-to-setup-pbs-as-a-vm-in-unraid-and-uses-virtiofs-to-passthrough-shares.120271/ Marc
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.