Hi, I'm having problems with rsync not mirroring some (sub-)subdirectories to SMB shares of an NT server mounted with mount_smbfs. These directories are only copied over during the first run of rsync, i.e. if they don't already exist on the SMB share; during the following runs, they cause error messages of the form readdir(path/to/directory): (9) Bad file descriptor and their contents aren't synchronized, i.e. the old files are left untouched. ('path/to/directory' is a path relative to the directory that is being rsync'd.) Looking at the directories causing these problems, I don't see anything special - the paths don't contain any special characters nor are they longer than others, their contents look fine, too, and cp for instance doesn't have a problem with neither the source nor the target directory. Their contents don't look special, either (mostly image files). Furthermore, there aren't any problems if I rsync to a local directory on an UFS partition; the problems only appear when rsyncing to the NT server. The directories are always the same ones, and copies of them seem to cause the same problems (it doesn't matter if I copy the source directory and rsync twice or if I just copy the directory existing on the SMB share and then run rsync - both cause the same error message; if I copy the destination directory, it will be removed during the rsync run, though, as it doesn't exist on the FreeBSD machine). The same problems appear with sysutils/ssync. uname says: FreeBSD 4.9-STABLE #0: Wed Jan 21 21:04:46 CET 2004 rsync is rsync-2.6.0 from the ports collection Any hints/suggestions more than welcome. Thanks for your time, Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 650 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040404/4f5720f8/attachment.bin