Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Always getting this chunk permissions issue with using unraid as a proxmox backup server

Featured Replies

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

 

  • Author

image.png.e39be3702e73c7f463c957382145a881.png

Permissions for the proxbackupsvr share on unraid

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 by Frank1940

  • 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?

I would suggest that you ask in the support thread/forum for the backup program that is creating and filling those directories.  

  • 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.

  • 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.

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. 

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.