We are using rsync for remote mirroring of filesystems. One of the servers we
are mirroring is a Windows 2000 server mounted via Samba. rsync appears to be
locking the files on the windows server - whenever rsync is running on a file
that we are also accessing, we receive sharing violations and files become
locked until the server is rebooted.
Please e-mail me @ firstname.lastname@example.org if you need more details.
Rsync doesn't do any file locking -- it just opens the file for reading on the
sending side. If there are locking problems, you will have to look elsewhere to
Also, it is much more efficient to run rsync on the system that is the actual
source of the data instead of on a system that mounts the data via a network
filesystem. So, if possible, change the source rsync to run on the Windows 2000
server itself and it should work better.