My first guess is that you are running out of inodes on your FreeBSD filesystem. Are you using UFS2 on the FreeBSD box, I presume?
What do you get from the output of 'df -i' on the BSD box? -Patrick — Patrick Toal [email protected] > On Mar 30, 2016, at 8:10 AM, John Lewis <[email protected]> wrote: > > Hello :) > > These 3 rsync problems keep me busy for the last 3 weeks, but has no solution > yet: > > Setup: there are 3 machines: > 2 linux machine (I have root access to these both machines) > 1 FreeBSD machine (I have only regular user in this machine) > > Three problems described here ONLY happens when rsync from Linux machine to > FreeBSD machine. Rsync from Linux to Linux HAS NONE OF THIS PROBLEMS. > > First problem: > "symlink has no referent" error message. > Many many of them. Like these: > > symlink has no referent: > "/backup/dirvish/adm/2016-03-06/tree/etc/alternatives/php.1.gz" > symlink has no referent: > "/backup/dirvish/adm/2016-03-06/tree/etc/alternatives/vimdiff" > symlink has no referent: > "/backup/dirvish/adm/2016-03-06/tree/etc/alternatives/Mail.1.gz" > symlink has no referent: > "/backup/dirvish/adm/2016-03-06/tree/etc/nginx/sites-enabled/default" > > Second problem: > failed: No such file or directory (2) error message. > > Like this: > rsync: link "/usr/home/john/dirvish/adm/2016-03-09/tree/etc/joe/editorrc" => > adm/2016-03-07/tree/etc/joe/editorrc failed: No such file or directory (2) > > Third problem: > failed: Operation not permitted (1) error message. > > Like this: > > rsync: link "/usr/home/john/dirvish/adm/2016-03-09/tree/etc/php5/fpm/conf.d" > => adm/2016-03-07/tree/etc/php5/fpm/conf.d failed: Operation not permitted (1) > > > Source machine (Linux 1) is like this: > > root@linux1:/backup/dirvish/adm/2016-03-07/tree/etc/php5/fpm# ls -l > total 76 > lrwxrwxrwx 25 root root 9 Mar 25 2015 conf.d -> ../conf.d > -rw-r--r-- 25 root root 4555 Mar 25 2015 php-fpm.conf > -rw-r--r-- 25 root root 64337 May 31 2015 php.ini > drwxr-xr-x 2 root root 4096 May 28 2015 pool.d > > root@linux1:/backup/dirvish/adm/2016-03-07/tree/etc/php5/fpm/conf.d# ls -l > total 4 > lrwxrwxrwx 25 root root 29 May 28 2015 10-mysqlnd.ini -> > ../mods-available/mysqlnd.ini > lrwxrwxrwx 25 root root 25 May 28 2015 10-pdo.ini -> > ../mods-available/pdo.ini > lrwxrwxrwx 25 root root 26 May 30 2015 20-curl.ini -> > ../mods-available/curl.ini > lrwxrwxrwx 25 root root 24 May 28 2015 20-gd.ini -> ../mods-available/gd.ini > lrwxrwxrwx 25 root root 28 May 28 2015 20-mcrypt.ini -> > ../mods-available/mcrypt.ini > lrwxrwxrwx 25 root root 28 May 28 2015 20-mysqli.ini -> > ../mods-available/mysqli.ini > lrwxrwxrwx 25 root root 27 May 28 2015 20-mysql.ini -> > ../mods-available/mysql.ini > lrwxrwxrwx 25 root root 31 May 28 2015 20-pdo_mysql.ini -> > ../mods-available/pdo_mysql.ini > -rw-r--r-- 25 root root 122 May 28 2015 apc.ini > > root@linux1:/backup/dirvish/adm/2016-03-09/tree/etc/php5/fpm/conf.d# ls -l > total 4 > lrwxrwxrwx 25 root root 29 May 28 2015 10-mysqlnd.ini -> > ../mods-available/mysqlnd.ini > lrwxrwxrwx 25 root root 25 May 28 2015 10-pdo.ini -> > ../mods-available/pdo.ini > lrwxrwxrwx 25 root root 26 May 30 2015 20-curl.ini -> > ../mods-available/curl.ini > lrwxrwxrwx 25 root root 24 May 28 2015 20-gd.ini -> ../mods-available/gd.ini > lrwxrwxrwx 25 root root 28 May 28 2015 20-mcrypt.ini -> > ../mods-available/mcrypt.ini > lrwxrwxrwx 25 root root 28 May 28 2015 20-mysqli.ini -> > ../mods-available/mysqli.ini > lrwxrwxrwx 25 root root 27 May 28 2015 20-mysql.ini -> > ../mods-available/mysql.ini > lrwxrwxrwx 25 root root 31 May 28 2015 20-pdo_mysql.ini -> > ../mods-available/pdo_mysql.ini > -rw-r--r-- 25 root root 122 May 28 2015 apc.ini > > > On FreeBSD machine: (/usr/home/john/dirvish) > > $ pwd > /home/john/dirvish/adm/2016-03-07/tree/etc/php5/fpm > $ ls -l > total 103 > lrwxrwxrwx 1 john john 9 Mar 25 2015 conf.d -> ../conf.d > -rw-r--r-- 25 john john 4555 Mar 25 2015 php-fpm.conf > -rw-r--r-- 25 john john 64337 May 31 2015 php.ini > drwxr-xr-x 2 john john 3 Mar 29 14:42 pool.d > > $ pwd > /home/john/dirvish/adm/2016-03-07/tree/etc/php5/fpm/conf.d > $ ls -l > total 14 > lrwxrwxrwx 1 john john 29 May 28 2015 10-mysqlnd.ini -> > ../mods-available/mysqlnd.ini > lrwxrwxrwx 1 john john 25 May 28 2015 10-pdo.ini -> > ../mods-available/pdo.ini > lrwxrwxrwx 1 john john 26 May 30 2015 20-curl.ini -> > ../mods-available/curl.ini > lrwxrwxrwx 1 john john 24 May 28 2015 20-gd.ini -> > ../mods-available/gd.ini > lrwxrwxrwx 1 john john 28 May 28 2015 20-mcrypt.ini -> > ../mods-available/mcrypt.ini > lrwxrwxrwx 1 john john 27 May 28 2015 20-mysql.ini -> > ../mods-available/mysql.ini > lrwxrwxrwx 1 john john 28 May 28 2015 20-mysqli.ini -> > ../mods-available/mysqli.ini > lrwxrwxrwx 1 john john 31 May 28 2015 20-pdo_mysql.ini -> > ../mods-available/pdo_mysql.ini > -rw-r--r-- 25 john john 122 May 28 2015 apc.ini > > $ pwd > /home/john/dirvish/adm/2016-03-09/tree/etc/php5/fpm > $ ls -l > total 103 > -rw-r--r-- 25 john john 4555 Mar 25 2015 php-fpm.conf > -rw-r--r-- 25 john john 64337 May 31 2015 php.ini > drwxr-xr-x 2 john john 3 Mar 29 14:42 pool.d > > Like we can see above, on 2016-03-09. it's fail to copy/link to 2016-03-07 > for conf.d > > This is rsync comman I use (after "tweek" it for few weeks): > > From Linux Machine to another Linux Machine (succcesfully without error): > > rsync -e "ssh -p 111" -avzHq --sparse /backup/dirvish/ > root@linux2:/backup/dirvish/ > > From Linux Machine to FreeBSD (problem!) > > /usr/bin/rsync -rltzAX -O -H -q --timeout=60 --partial --sparse > --copy-unsafe-links /backup/dirvish/ [email protected]:dirvish > 2>~/rsync-error.log > > > How to solve this? Very confusing for me :( > > Thanks a lot :) > > John. > > > _______________________________________________ > Dirvish mailing list > [email protected] > http://www.dirvish.org/mailman/listinfo/dirvish _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
