From owner-freebsd-fs@FreeBSD.ORG Tue May 25 13:22:09 2010 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 C33A0106566B; Tue, 25 May 2010 13:22:09 +0000 (UTC) (envelope-from md@scoutsengidsenvlaanderen.be) Received: from scoutsengidsenvlaanderen.be (mail.scoutsengidsenvlaanderen.be [81.83.17.184]) by mx1.freebsd.org (Postfix) with ESMTP id 6D64B8FC0A; Tue, 25 May 2010 13:22:08 +0000 (UTC) Received: from [192.168.1.163] (account md@scoutsengidsenvlaanderen.be [192.168.1.163] verified) by scoutsengidsenvlaanderen.be (CommuniGate Pro SMTP 5.3.5) with ESMTPA id 34583959; Tue, 25 May 2010 15:22:06 +0200 Message-ID: <4BFBCEFE.30004@scoutsengidsenvlaanderen.be> Date: Tue, 25 May 2010 15:22:06 +0200 From: Michiel Detailleur User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4B97A963.9040300@scoutsengidsenvlaanderen.be> <20100310174411.GE1715@garage.freebsd.pl> <4B98E95B.90806@scoutsengidsenvlaanderen.be> <20100311130807.GJ2350@garage.freebsd.pl> In-Reply-To: <20100311130807.GJ2350@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: [Spam? ] Re: ZFS snapshot name length limit? (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: Tue, 25 May 2010 13:22:09 -0000 Pawel Jakub Dawidek schreef: > On Thu, Mar 11, 2010 at 02:00:11PM +0100, Michiel Detailleur wrote: > >> >From looking at the code, I think you hitting this limit: >> >>> This is FreeBSD limit caused by statfs structure: >>> >>> /* >>> * filesystem statistics >>> */ >>> [...] >>> #define MNAMELEN 88 /* size of on/from name bufs */ >>> [...] >>> >>> ZFS mounts snapshots on lookup and this is this mount that fails. >>> >>> >> So all that would need to be done to allow mounting snapshots with >> longer names would be to increase this value? (I'm not a C programmer, >> so bear with me :) ) >> > > Such change will break ABI compatibility with tools compiled on previous > FreeBSD versions. As you can see in sys/sys/mount.h this is the reason > we still keep ostatfs structure. I'll discuss the possibilities with > other FreeBSD committers and we will see what we can do about it. > Hi Pawel, Did you and the other committers have a chance to discuss this yet? It would be nice if a fix for this could make it into 8.1 :) Michiel