RSync from Debian to FreeNAS NFS Share Invalid Argument(22)

SKB

Dabbler
Joined
Jul 22, 2020
Messages
21
HI all,
i am trying to push some backups from my debian virtual machine to the FreeNAS.
The rsync code i use is:

Code:
rsync -a -R --inplace $SOURCE_FOLDER $BACKUP_FOLDER

But this throws errors:
Code:
rsync: chown "/mnt/backup/config/folder" failed: Invalid argument (22)


For sure, i could use:
Code:
rsync -a -R --no-owner --no-group --inplace $SOURCE_FOLDER $BACKUP_FOLDER

But this doesn't bring the corrects rights to the files.

Is there a way, to get this working?

Thanks a lot!
 

SKB

Dabbler
Joined
Jul 22, 2020
Messages
21
For someone who came across this and is also experiencing those errors - just follow those steps:
On the FreeNAS Services -> Settings for NFS

2020-08-05 22_38_23-FreeNAS - 192.168.2.60.png


and on the client system:
-Insert this into the /etc/fstab file:
192.168.178.178:/mnt/folder/subfolder /mnt/folder nfs nfsvers=3 0 0
 
Top