From owner-freebsd-current@FreeBSD.ORG Wed Mar 12 00:29:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A887F1065670 for ; Wed, 12 Mar 2008 00:29:04 +0000 (UTC) (envelope-from duncan.young@pobox.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1838FC13 for ; Wed, 12 Mar 2008 00:29:04 +0000 (UTC) (envelope-from duncan.young@pobox.com) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id C3A5FC3A7B for ; Tue, 11 Mar 2008 20:29:03 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 11 Mar 2008 20:29:03 -0400 X-Sasl-enc: USZ6lW6GmJafzGj84f3vvG1KF+lKsY4FVDpq4eG3BCB1 1205281743 Received: from triple0.qld.optushome.com.au (c210-49-75-149.rochd2.qld.optusnet.com.au [210.49.75.149]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1324C27418 for ; Tue, 11 Mar 2008 20:29:03 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by triple0.qld.optushome.com.au (Postfix) with ESMTP id 9EFFA8461 for ; Wed, 12 Mar 2008 10:28:55 +1000 (EST) From: Duncan Young To: freebsd-current@freebsd.org Date: Wed, 12 Mar 2008 10:28:54 +1000 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200803121028.55105.duncan.young@pobox.com> Subject: samba and zfs (amd64?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: duncan.young@pobox.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 00:29:04 -0000 Hi all I've been having problems with zfs, samba and large directories. If I have a large zfs directory and try to accesses it via smb://, I have parts of the directory missing (sometimes over 50%) and even duplicated. I could not reproduce the problem on a UFS filesystem. doing a mount_smbfs, everything is fine. using windows (including cygwin) or konqueror via smb:// fails badly (konqueror even worse than explorer). I have been seeing this problem since 7.0-RC1, but only now gotten around to pinning it down. test program: in a new directory for i in 0 1 2 3 4 5 6 7 8 9 do for j in 0 1 2 3 4 5 6 7 8 9 do for k in 0 1 2 3 4 5 6 7 8 9 do touch "aaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbccccccccccccccccc$i$j$k" done done done then try accessing from a windows box (or konqueror via smb://) Both explorter and cygwin show the same results from windows. A packet sniffer indicated that the data was being send inncorrectly Could some others of you try to confirm (or not) my findings. I am running 7.0-release (amd64) and samba-3.0.28,1. I believe this to be a zfs issue due to my not being able to reproduce the problem with UFS (not even once). regards Duncan