NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Grunbay111
Jul 27, 2015Aspirant
ReadyNAS Rsync to FreeNAS
I have a ReadyNAS running RAIDiator 4.2.27 (the latest version) that is attached to my home network. I have installed the latest firmware updates to the NAS. My home network has no directory service ...
Grunbay111
Jul 28, 2015Aspirant
A log report from the faied backup is shown below:
NCREMENTAL Backup started. Tue Jul 28 00:18:16 EDT 2015
Job: 001
Protocol: rsync
Source: [Backup2]/
Destination: 192.168.1.145::Backup2TestModule
sending incremental file list
./
rsync: chgrp "/.AppleDB" (in Backup2TestModule) failed: Operation not permitted (1)
.AppleDB/
.AppleDB/__db.001
.AppleDB/__db.002
.AppleDB/__db.003
.AppleDB/__db.004
.AppleDB/__db.005
.AppleDB/__db.006
.AppleDB/cnid2.db
.AppleDB/db_errlog
.AppleDB/lock
.AppleDB/log.0000000001
.AppleDesktop/.volinfo
KTM/
KTM/.AppleDouble/
Network Trash Folder/.AppleDouble/.Parent
Temporary Items/.AppleDouble/.Parent
rsync: chgrp "/.AppleDB/.__db.001.vSua0b" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.__db.002.mrDw5b" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.__db.003.HfLASF" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.__db.004.vTYkIy" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.__db.005.DHKgzU" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.__db.006.8BTsQ7" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.cnid2.db.9ST8HZ" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.db_errlog.26Raex" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.lock.FhxfMG" (in Backup2TestModule) failed: Operation not permitted (1)
rsync: chgrp "/.AppleDB/.log.0000000001.en7Qn4" (in Backup2TestModule) failed: Operation not permitted (1)
sent 184475 bytes received 70299 bytes 169849.33 bytes/sec
total size is 37721190 speedup is 148.06
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
siigna
Jul 28, 2015NETGEAR Expert
ReadyNAS is trying to preserve permissions on files when transferring them over to FreeNAS, but is having a problem changing group ownership for some files (mostly OS X resource forks it looks like). Besides that looks like the files transferred over OK! You can ignore these errors, but annoyingly they'll still cause a backup job to show a "failed" status.
What do the permissions on the destination FreeNAS folder look like? You can open a shell in the FreeNAS UI and do an "ls -al /mnt/MirrorPool/ReadyNASBackup". You're still using Grunbay/Grunbay for User/Group in the rsync module settings?
- Grunbay111Jul 29, 2015Aspirant
Permissions on the FreeNAS look like this:
drwxrwsrwt 4 nobody nogroup 4 Mar 12 12:23 .TemporaryItems -rwxr-xr-x 1 nobody nogroup 4096 Jul 28 2014 ._.DS_Store -rwxr-xr-x 1 nobody nogroup 4096 Mar 14 12:09 ._.apdisk -rwxr-xr-x 1 nobody nogroup 4096 Jul 28 2014 ._Independent Motorcycle De signers Achieve Over 150 M.P.G. at Ohio Challenge - NYTimes.com.pdf -rwxr-xr-x 1 nobody nogroup 294 Mar 14 12:09 .apdisk drwxr-sr-x 3 nobody nogroup 10 Mar 18 00:30 Annisquam Backup drwxr-sr-x 3 nobody nogroup 7 Mar 18 00:36 Ben Gurley drwxr-xr-x 3 nobody nogroup 5 May 22 2014 Bowen Trust Docs drwxr-xr-x 23 nobody nogroup 24 May 22 2014 Calibre Books -rwxr-xr-x 1 nobody nogroup 1928131 Jul 27 2011 Independent Motorcycle Desi gners Achieve Over 150 M.P.G. at Ohio Challenge - NYTimes.com.pdf drwxr-sr-x 4 nobody nogroup 4 Mar 26 12:07 JTG Tax Backup drwxr-sr-x 3 nobody nogroup 5 Mar 29 11:39 Janet drwxrwsrwx 3 nobody nogroup 3 Jul 28 11:31 KTM drwxr-sr-x 3 nobody nogroup 19 Feb 15 17:48 Laverda drwxrwxrwx 3 nobody nogroup 3 Feb 15 17:46 Network Trash Folder drwxr-xr-x 3 nobody nogroup 21 May 22 2014 Real Books drwxr-sr-x 4 nobody nogroup 5 Mar 28 14:30 Sangillo drwxr-sr-x 3 nobody nogroup 7 Mar 21 11:39 Stu & Cait drwxr-sr-x 3 nobody nogroup 6 Mar 29 11:41 Stu Brown drwxrwxrwx 3 nobody nogroup 3 Feb 15 17:46 Temporary Items drwxrwxrwt 21 nobody nogroup 33 Jul 25 08:40 User Manuals [root@freenas ~]#
You are right, the files are making their way into the FreeNAS now!
Here are the permissions for some of these files on the ReadyNAS:
GrunbayNAS1:~# ls -al /c/Backup2
total 44
drwxrwxrwx 7 nobody nogroup 4096 2015-07-28 13:41 .
drwxrwxrwx 11 root root 4096 2014-12-22 17:35 ..
drwxr-xr-x 2 root root 4096 2015-07-28 23:50 .AppleDB
drwxrwxrwx 2 root admin 4096 2015-07-27 22:28 .AppleDesktop
drwxrwxrwx 2 admin admin 4096 2015-07-28 11:48 .AppleDouble
-rw-r--r-- 1 admin admin 8196 2015-07-28 11:48 .DS_Store
drwxrwsrwx 3 admin admin 4096 2015-07-28 11:31 KTM
drwxrwxrwx 3 root admin 4096 2015-02-15 17:46 Temporary Items
GrunbayNAS1:~#
Any comments/suggestions?
- siignaJul 29, 2015NETGEAR Expert
Based on the errors in the previous log you posted:
rsync: chgrp "/.AppleDB" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.001.vSua0b" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.002.mrDw5b" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.003.HfLASF" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.004.vTYkIy" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.005.DHKgzU" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.006.8BTsQ7" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.cnid2.db.9ST8HZ" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.db_errlog.26Raex" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.lock.FhxfMG" (in Backup2TestModule) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.log.0000000001.en7Qn4" (in Backup2TestModule) failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
And the permissions on the ReadyNAS side:
GrunbayNAS1:~# ls -al /c/Backup2 total 44 drwxrwxrwx 7 nobody nogroup 4096 2015-07-28 13:41 . drwxrwxrwx 11 root root 4096 2014-12-22 17:35 .. drwxr-xr-x 2 root root 4096 2015-07-28 23:50 .AppleDB drwxrwxrwx 2 root admin 4096 2015-07-27 22:28 .AppleDesktop drwxrwxrwx 2 admin admin 4096 2015-07-28 11:48 .AppleDouble -rw-r--r-- 1 admin admin 8196 2015-07-28 11:48 .DS_Store drwxrwsrwx 3 admin admin 4096 2015-07-28 11:31 KTM drwxrwxrwx 3 root admin 4096 2015-02-15 17:46 Temporary Items
I'd say it's the '.AppleDB' folder being owned by 'root:root' that's causing the error. That's normal, transferring files into the share via AFP will do that. Here's my ReadyNAS doing the same:
rsync: chgrp "/.AppleDB" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.001.MbkiIs" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.002.Pzagrb" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.003.9OTBq0" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.004.G4S6Fx" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.005.j6inmj" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.__db.006.AiUbWI" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.cnid2.db.7ZMJ7j" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.db_errlog.in0it4" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.lock.ETdHEl" (in test) failed: Operation not permitted (1) rsync: chgrp "/.AppleDB/.log.0000000001.Kw92Zf" (in test) failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
If you turn on "Enable FAT32 compatibility mode." in the ReadyNAS backup job options that should clear the errors up. It will prevent rsync from trying to transfer permissions with the "--no-owner", "--no-group", "--no-acls" and "--no-perms" options.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!