[Comm] Нет синхронизации репозитория rsync
Сергей Лазарев
berlazarev на gmail.com
Вс Ноя 27 08:25:09 MSK 2011
Добрый день.
Не получается настроить синхронизацию репозитория.
Есть скрипт rsync:
#!/bin/sh
rsync -avlpztc --exclude 'SRPMS' --exclude 'x86_64' --stats
--delete-after --verbose rsync.altlinux.org::ALTLinux/p6/branch/
/mnt/Disk_Lin/Install_Lin/ALD6.0/branch
Пишет ошибку:
[include на localhost Install_Lin]$ ./rsync
opening tcp connection to rsync.altlinux.org port 873
sending daemon args: --server --sender -vvlogDtprcze.Lsf .
ALTLinux/p6/branch/
Welcome to ALT Linux Team public rsync archive!
receiving file list ...
[Receiver] expand file_list pointer array to 262144 bytes, did move
[Receiver] expand file_list pointer array to 524288 bytes, did move
[Receiver] expand file_list pointer array to 1048576 bytes, did move
done
created directory /mnt/Disk_Lin/Install_Lin/ALD6.0/branch
delta-transmission enabled
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/arm" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/doc" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/files" failed: Permission
denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/i586" failed: Permission denied
(13)
*** Skipping any contents from this failed directory ***
./
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/noarch" failed: Permission
denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir
"/mnt/Disk_Lin/Install_Lin/ALD6.0/branch/x86_32" failed: Permission
denied (13)
*** Skipping any contents from this failed directory ***
arm/
doc/
files/
i586/
noarch/
x86_32/
rsync[8219] (receiver) heap statistics:
arena: 135168 (bytes from sbrk)
ordblks: 1 (chunks not in use)
smblks: 0
hblks: 61 (chunks from mmap)
hblkhd: 17027072 (bytes from mmap)
allmem: 17162240 (bytes from sbrk + mmap)
usmblks: 0
fsmblks: 0
uordblks: 53832 (bytes used)
fordblks: 81336 (bytes free)
keepcost: 81336 (bytes in releasable chunk)
deleting in .
rsync[7171] (generator) heap statistics:
arena: 135168 (bytes from sbrk)
ordblks: 2 (chunks not in use)
smblks: 2
hblks: 61 (chunks from mmap)
hblkhd: 17027072 (bytes from mmap)
allmem: 17162240 (bytes from sbrk + mmap)
usmblks: 0
fsmblks: 128
uordblks: 53888 (bytes used)
fordblks: 81280 (bytes free)
keepcost: 81112 (bytes in releasable chunk)
Number of files: 145686
Number of files transferred: 0
Total file size: 101495898670 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 11284147
File list generation time: 1924.262 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 88
Total bytes received: 11284265
sent 88 bytes received 11284265 bytes 5857.44 bytes/sec
total size is 101495898670 speedup is 8994.39
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1521) [generator=3.0.8]
Что не так, может скрипт неправильный?
----------- следующая часть -----------
Вложение в формате HTML было удалено...
URL: <http://lists.altlinux.org/pipermail/community/attachments/20111127/b042d255/attachment-0001.html>
Подробная информация о списке рассылки community