From owner-freebsd-stable@FreeBSD.ORG Sun Apr 4 12:40:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FEED16A4CE for ; Sun, 4 Apr 2004 12:40:31 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6819843D45 for ; Sun, 4 Apr 2004 12:40:30 -0700 (PDT) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BADTp-000763-00 for stable@freebsd.org; Sun, 04 Apr 2004 21:40:29 +0200 Received: from [80.142.212.26] (helo=kyuzo.dunkelkammer.void) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BADTp-0005Tb-00 for stable@freebsd.org; Sun, 04 Apr 2004 21:40:29 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id D2E143E46; Sun, 4 Apr 2004 21:40:26 +0200 (CEST) Date: Sun, 4 Apr 2004 21:40:26 +0200 From: Stefan Walter To: stable@freebsd.org Message-ID: <20040404194026.GA930@kyuzo.dunkelkammer.void> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.6i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:bea306e5fe0930b42d4355ca01786db1 Subject: rsync to a SMB share: "Bad file descriptor" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2004 19:40:31 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQGVAwUBQHBkqlaRERsSueCzAQJISgv+LUxyhZ95whkNDdMKgmctUtYwPfqjXBPi CXkTv4hIc0cK2tShBch1c92Q/eaqVqkOpYsxvKZ+B1Xeb/mZlmkRe6ECHQONZnaQ B6nlkXKA8N9FzWB7Xwk/eoBfHY/ljoogBnqVkZ/5GPAQYwDppo7a0fEh8zgO8NxI fX55FjfXduluEWUjMNosHStfUQwuJZFWJbAmTM3nZXlBtAmMXbHd8XEtbdhPwAoU 9urUFnpzY75m7mJe9dXdtKqNjLdqWt7jspiMNuyZjiZ3npxIl+xvNxRFIW4YGzkE l4YhDUHn27jD69qoTgYdGBtgxtiAEpV/6jjh6y5/M321BvU/TVwI1hSyfar5Y84m 5nwsBgJA1OuJyQI/Xr4xSY3CWg83qy/ty0cRYv0TA/PtB00RQ4j8qLLVXym1/5mi O0kiiOTlj91sNrRs4Ni64jwIPuDeMQRcBoyRjn2amXP8Q25E/5c+sNvMQjRsZQcX M/J7lcePsnWdUqCE3eh1ubbQW4eu2pZ1 =j/5v -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--