From owner-freebsd-fs@freebsd.org Wed Nov 8 23:15:49 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7365E5E145 for ; Wed, 8 Nov 2017 23:15:49 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7CE6B491 for ; Wed, 8 Nov 2017 23:15:49 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id i133so2839248vke.9 for ; Wed, 08 Nov 2017 15:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GCt3IcDCeiJkF3Y+Fwp8PUTv31K3DmPkG52ubDs+HCc=; b=n9B6rFyVpcoIajj4bDNlQYTGUdHIIKybn+Ws5u0ZwgzxgQQr+l+qJie9vHfA7Clx3U ie798GM3FrDXBAXePy8M2fCCSFTGvA8BpTnko1CCIZU6MDk2+VKmsHPK24HUlpDd2ag3 Qdwqo/s+DueefFVC5Y1Eg64Lnm48n69dxvIlyR469M2gN3JPRD/6uvguE9DpI6Fk/yJw B8oIaiWZoTKVF7YNgLMGWc9SzgH0rmPnkyMsz7zp8kx1X18yeoIaoZUvRwn00Xyg17cl E6u7/efUcuZiuILFXy0E3dTuetM/qIkQK3Okf4YtgLCHPpdyq9iZm4IYcGNvgwqOQ+Dj AvQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GCt3IcDCeiJkF3Y+Fwp8PUTv31K3DmPkG52ubDs+HCc=; b=ZDhPF6ndZpKahFKHzyli+9HrVNoCyLlRpYPxZPewlDlDHCAGPQHJRtwaLvBTnw3Eai uf0gwxOUyUwafpCLq5lSbQ6acSFl2GYiX4QO5azfoXhsL6dqhLz+BsN68nR1kkiXg2tm XhFYV2bV/ptFwQTFkazYnPLlRz9I+QYS+WjgMHbXKToaefj5Z3dNeKtrkL8PS3x4hyll FcdEVVEvDK54mYdyUheN39kOjiMVsVO/COITNvEHH0rtbKHi+cSNMWvUy7YJuSezJCBP 1A6PNGcjuz/cGYpkDuJat9rIyH5qFG/NFmcsHddaZx5XypyjFRhzhT+pgY9/lWjnO7fC 2x4Q== X-Gm-Message-State: AJaThX7OzRpFxqoMnWPh5MQSjZo4wXNh1YCtK+VwsT78AiIccKAHOCCx 8bznfgNLx8jhgyAtNLncXY7RXgzJfdCDSxTyjMA= X-Google-Smtp-Source: ABhQp+Sizvq7qSAYBKxfVamhudDkFbv0kXvE97JY4HMpedn4bTN/eY1h7nkGsmBL5m4AQG8sWTw+xLtt9O1eqNfmsMU= X-Received: by 10.31.4.18 with SMTP id 18mr1847879vke.78.1510182948541; Wed, 08 Nov 2017 15:15:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ben Woods Date: Wed, 08 Nov 2017 23:15:38 +0000 Message-ID: Subject: Re: ls .zfs/snapshot: File name too long To: Youzhong Yang Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 23:15:49 -0000 On Wed, 8 Nov 2017 at 12:43 pm, Youzhong Yang wrote: > Hi, > > I just saw a strange issue when listing .zfs/snapshot folder: > > # ls -l /vmgr/Btnas1_c.750842.Bmain.747831.pass/.zfs/snapshot/ > total 3 > drwxrwxr-x 5 root batserve 9 Nov 7 22:48 Btnas1_c.750842.pass > drwxrwxr-x 5 root batserve 9 Nov 7 22:48 > Btnas1_c.750842.pass.jobarchive > > # zfs snapshot > > clusters/vmgr/Btnas1_c.750842.Bmain.747831.pass@Btnas1_c.750842.release.jobarchive > > # ls -l /vmgr/Btnas1_c.750842.Bmain.747831.pass/.zfs/snapshot/ > ls: Btnas1_c.750842.release.jobarchive: File name too long > total 3 > drwxrwxr-x 5 root batserve 9 Nov 7 22:48 Btnas1_c.750842.pass > drwxrwxr-x 5 root batserve 9 Nov 7 22:48 > Btnas1_c.750842.pass.jobarchive > > No kidding, file name too long? Is this a known issue? By the way, I am new > to FreeBSD. The version I am using is 11.1. > > Thanks, > > --Youzhong > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Hi Youzhong, This topic has been discussed before here: https://lists.freebsd.org/pipermail/freebsd-fs/2010-March/007964.html In summary, the length limit for a mount points path is 88 characters in all released versions of FreeBSD. This has been increased to 1024 in FreeBSD 12-CURRENT, as it was increased as a part of the 64bit INODE project. Due to the massive amount of changes by that project, it will not be backports to stable branches for FreeBSD 11.2. Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com