[tools] enabling hardlinks causes MREPO to delete and retrieve the hardlinked packages again

Andreas Piesk a.piesk at gmx.net
Sun Jan 14 18:42:27 CET 2007


Hi members,

i've a problem with MREPO, with hardlink to be precise.

i use MREPO to mirror CentOS i386 and x86_64 packages. i386 and x86_64
share a lot of packages, *.noarch and *.i386.

to save some diskspace i set hardlinks=yes. during the first MREPO run
after enabling hardlinks all duplicated packages in x8_64 were replaced
by hardlinks. but the second run retrieved all hardlinked packages again:

centos4-x86_64: Mirror packages from
http://mirror.centos.org/centos//4/os/x86_64/CentOS/RPMS/ to
/var/mrepo/centos4-x86_64/os
Removing old file `Canna-libs-3.7p3-7.EL4.i386.rpm'
Transferring file `Canna-libs-3.7p3-7.EL4.i386.rpm'

how can i prevent MREPO from doing that? here's my mrepo.conf:

[main]
srcdir                  = /var/mrepo
wwwdir                  = /var/www/mrepo
confdir                 = /etc/mrepo.conf.d

mailto                  = root at localhost
smtp-server             = localhost

hardlink                = yes

mirrordir-exclude-srpm  = no
mirrordir-cleanup       = yes

lftp-exclude-srpm       = no
lftp-cleanup            = yes

rsync-exclude-srpm      = no
rsync-cleanup           = yes


TIA.

regards,
-ap

-- 
Andreas Piesk  a.piesk at gmx.net



More information about the tools mailing list