From owner-freebsd-fs@FreeBSD.ORG Mon Nov 3 00:58:36 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E31B1065673 for ; Mon, 3 Nov 2008 00:58:36 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (host-122-100-2-232.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id 0FA468FC19 for ; Mon, 3 Nov 2008 00:58:35 +0000 (UTC) (envelope-from andrew@modulus.org) Received: by email.octopus.com.au (Postfix, from userid 1002) id 2573217E80; Mon, 3 Nov 2008 11:58:34 +1100 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: X-Spam-Status: No, score=-1.3 required=10.0 tests=ALL_TRUSTED, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 Received: from [10.20.30.101] (60.218.233.220.exetel.com.au [220.233.218.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id EB79417E6C for ; Mon, 3 Nov 2008 11:58:29 +1100 (EST) Message-ID: <490E4CB1.5070704@modulus.org> Date: Mon, 03 Nov 2008 11:58:25 +1100 From: Andrew Snow User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: zfs snapshots sometimes give errors like "File name too long" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 00:58:36 -0000 I have about 50 filesystems on July 8-current with pjd's patchset. While snapshotting works on most of them, occasionally after I create a snapshot and try to use it, I get errors like this: ls -la .zfs/snapshot ls: 20081031_20653: File name too long It does occur only on the longest ones, but they are nowhere near MAXNAMELEN (256) long, they are around 60 characters for the mount point plus another 14 for the snapshot name.