Page 1 of 1

Disk error and Permissions error [Proxmox, NFS]

Posted: February 16th, 2025, 8:09 pm
by sudsy
Sometimes when SAB is downloading a file, it will continuously throw a "Disk error on creating file /path/to/file". By continuously, I mean it will pause all downloads until I hit resume. It will download for a few more minutes then throw the same error.

Then, when a file is downloaded, I'm usually greeted by "Cannot change permissions of /path/to/file".

Most files download ok on SAB, others throw the disk error. All files as far as I can tell throw the Cannot change permissions error but it doesn't seem to affect anything, as the Arrs seem to grab the files just fine from completed.

- Am using the latest version of SABnzbd (4.4.1)

- SAB installed in a proxmox LXC with system files directly on the lvm storage.

- SAB download directory is on a bind mounted NFS share

- NFS share is mounted on the proxmox host from a TrueNAS Core (FreeBSD based) VM

- Dataset of the NFS share in TrueNAS has permissions set recursively as nobody:nogroup and 777

- In SAB config/folders with advanced on, the setting "Permissions for completed downloads" is set to 0777 (have also tried just 777).

Would appreciate any help, thanks

Re: Disk error and Permissions error [Proxmox, NFS]

Posted: February 18th, 2025, 4:52 am
by jcfp
If the program tries to create a file and the operating system response is 'no can do', it has no choice but to relay that message. Similarly, changing permissions requires file ownership (or root); if the sab process doesn't own the files it creates, errors are the expected result. You want to setup sabnzbd in a way that it has sufficient control of the files it needs to create as part of the download process; keeping the temporary download dir local is strongly recommended to avoid all kinds of I/O and permission issues.