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 ...
siigna
Jul 28, 2015NETGEAR Employee Retired
I didn't have an old RAIDiator NAS handy to test this out with, so I used the RAIDiator VM with v4.2.23. Should be about the same. FreeNAS is at 9.3 STABLE.
Here's how I configured:
On the FreeNAS side:
- Created a ZFS volume called "tank"
- Created a CIFS share called "test" to point to "/mnt/tank/test"
This also created the directory for me. - Permissions on "/mnt/tank/test" defaulted to being owned by root:wheel.
I popped open a shell via the UI and did a "chown nobody:nogroup /mnt/tank/test". - Configured an rsync "module" called test pointing to /mnt/tank/test
An rsync "module" is basically a share.
User and group are set to nobody:nogroup, just like the permissions above. - Ensure that "rsync" is enabled under "Services"
On the ReadyNAS side:
- Create backup job:
- Source: Share (backup)
- Destination: (Remote: Rsync Server)
Host: IP address of FreeNAS
Path: test (same as the rsync module)
Hit "Go" on the ReadyNAS side to start the backup job and I had a successful run.
Just going on the information you provided I'd say you're probably running into a permissions related issue.
User/group "Grunbay", as you set in your initial post, needs to have permission to this folder.
Without changing the ownership on the "test" folder I created in FreeNAS I got the following message back from the ReadyNAS backup log:
Reason for failure: Error encountered copying data from source path /backup/ ==> 10.200.101.159::test due to permission denial on one or more files.
Grunbay111
Jul 28, 2015Aspirant
Very helpful post, I was able to get the job to run, but it fails. I will play with it a bit and get back to you.
Thanks a million!
- mdgm-ntgrJul 28, 2015NETGEAR Employee Retired
Which version of Rsync is running on FreeNAS?
When the job fails do you get an error message or a log explaining why?
- Grunbay111Jul 28, 2015Aspirant
I am running the Rsync version that came with my Stable FreeNAS download. I don't know what version that is. How do I confirm?
- Grunbay111Jul 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]
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!