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(a)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?
I tried running the command manually with the rsync -K option but that
didn't work - gave the same error.
Paul