On 08/11/2009 05:09 PM, Paul Company wrote:
I'm using cobbler version 1.6.6 on RHEL 5.3
Our hosts have a small /var partition and a large /usr partition. So I did the following:
# mkdir -p /usr/www # mv /var/www/cobber /usr/www/cobbler # ln -s /usr/www/cobbler /var/www/cobbler
This causes the following error when replicating:
# cobbler replicate --master=cobbler1.mydomain.com --full-data-sync XMLRPC endpoint: http://cobbler1.mydomain.com/cobbler_api ----- Copying Distros ----- Rsyncing Distribution Trees
- rsync -avz cobbler1.mydomain.com:/var/www/cobbler/ks_mirror /var/www/cobbler
root@cobbler1.mydomain.com's password: receiving file list ... done rsync: mkdir "/var/www/cobbler" failed: File exists (17) rsync error: error in file IO (code 11) at main.c(509) [receiver=2.6.8] rsync failed
If I remove the symbolic link, the replication command runs, but /var is too small to handle the size of the distribution.
Any ideas?
bind mounts versus symlinks?
I tried running the command manually with the rsync -K option but that didn't work - gave the same error.
Paul _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler