From owner-freebsd-questions@FreeBSD.ORG Wed Oct 18 22:18:24 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DACC16A412 for ; Wed, 18 Oct 2006 22:18:24 +0000 (UTC) (envelope-from fbsd-questions@mawer.org) Received: from mail-ihug.icp-qv1-irony5.iinet.net.au (ihug-mail.icp-qv1-irony5.iinet.net.au [203.59.1.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5069543D91 for ; Wed, 18 Oct 2006 22:18:15 +0000 (GMT) (envelope-from fbsd-questions@mawer.org) Received: from 203-206-173-235.perm.iinet.net.au (HELO [127.0.0.1]) ([203.206.173.235]) by mail-ihug.icp-qv1-irony5.iinet.net.au with ESMTP; 19 Oct 2006 06:18:14 +0800 X-BrightmailFiltered: true X-IronPort-AV: i="4.09,325,1157299200"; d="scan'208"; a="971378671:sNHT21997572" Message-ID: <4536A7D7.30706@mawer.org> Date: Thu, 19 Oct 2006 08:16:55 +1000 From: Antony Mawer User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Vahan Yerkanian References: <453673EA.5090900@arminco.com> In-Reply-To: <453673EA.5090900@arminco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: smbfs & rsync X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 22:18:24 -0000 On 19/10/2006 4:35 AM, Vahan Yerkanian wrote: > Greetings, > > On one of my machines running 6.1-RELEASE rsync over a smbfs share is > failing with the following error: > > building file list ... rsync: readdir("/ipa1/tmimage/2001"): Bad file > descriptor (9) > done > IO error encountered -- skipping file deletion > > sent 246047 bytes received 20 bytes 492134.00 bytes/sec > total size is 3876995600 speedup is 15755.85 > rsync error: some files could not be transferred (code 23) at > main.c(892) [sender=2.6.8] > > where /ipa1 is a smbfs share. > > I've googled and found this [1] particular article that pinpoints a > simple coding mistake, anyone knows if this is going to be fixed in > 6.2-RELEASE? /usr/sbin/mount_smbfs is the binary affected, > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78953 You're on the right track with the PR, and Jim Carroll did the hard work of coming up with a patch for the issue. Unfortunately I haven't had the chance to test the patch, but will try and make time to... I'd imagine this is probably too late to get into 6.2 (any dev's care to comment?), but if we're able to test + verify it works then I don't see why it shouldn't make 6.3. SMBFS could still use a bit of polish in areas... there are also UCS2 patches outstanding that would make talking to MacOSX servers much more pleasant: http://people.freebsd.org/~imura/kiconv/ Cheers Antony