From owner-freebsd-fs@FreeBSD.ORG Tue Jul 23 16:48:33 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 91459FA2 for ; Tue, 23 Jul 2013 16:48:33 +0000 (UTC) (envelope-from andreas.tyrosvoutis@gmail.com) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17F912958 for ; Tue, 23 Jul 2013 16:48:32 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id m15so1894810wgh.17 for ; Tue, 23 Jul 2013 09:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=/h0ELMyxhYtjqj7cbL74+3jM1fx+yrdSuZMJ+xn5SHc=; b=dxnqyz9hJVapGonqu2zMWHgIshNhdKb0ses4q/rHEMi6tjxynal6cTA2+kyqHNGBNt ErQFsahN+9bD8dLspIOvIVy4q7qxMbO3MPWE9Jfkn19tmxPosty+BmsT09lEa1QLsDk8 8KAi3srtfsEqe6noerp0kR8txIXYn/uExs39p4FoPHQLw/seTU36t9r/ZGTwJr5Cb4Xr kvckPaKhs/YSG1s8sb97PfeucZFFNa6aa2/yg0mGu8OSgI0OfDYUxvc/ZOLH5GHGHmXr 0PUn7A43SdBejCNO2NlrgKm0mdBOSuvYWQ0Lauk+St6Kf2pCS+ZllpM0HY/CUmPwg662 0RYw== X-Received: by 10.180.20.228 with SMTP id q4mr9481209wie.60.1374598111224; Tue, 23 Jul 2013 09:48:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.71.230 with HTTP; Tue, 23 Jul 2013 09:48:01 -0700 (PDT) From: Andreas Tyrosvoutis Date: Tue, 23 Jul 2013 19:48:01 +0300 Message-ID: Subject: Revisiting an old problem.. zfs snapshots and file name too long To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 16:48:33 -0000 Hi there everyone, I wanted to see what has been discovered regarding this issue. This particular issue has been around since at least 2008. http://lists.freebsd.org/pipermail/freebsd-fs/2008-November/005286.html A little bit of response and progress noted here: http://lists.freebsd.org/pipermail/freebsd-fs/2010-March/007960.html http://lists.freebsd.org/pipermail/freebsd-fs/2010-March/007964.html http://lists.freebsd.org/pipermail/freebsd-fs/2010-March/007972.html http://lists.freebsd.org/pipermail/freebsd-fs/2010-March/007974.html "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.*" As far as I can tell, this problem has not been addressed in a satisfactory way, and still exists today. nas4free: snapshot # uname -a FreeBSD nas4free.office.pytheasgroup.com 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r251670M: Thu Jun 13 01:59:24 CEST 2013 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64 nas4free: snapshot # pwd /mnt/usb-backup/Daily-Backups/mypool/home/andreas/.zfs/snapshot nas4free: snapshot # ls ls: 20130721_1829_autosnap_HOURLY: File name too long ls: 20130721_2330_autosnap_HOURLY: File name too long ls: 20130722_0936_autosnap_HOURLY: File name too long ls: 20130722_1221_autosnap_HOURLY: File name too long etc.... Not being able to use arbitrarily named snapshots or any tools in .zfs/snapshot folders containing such long named (72 characters? ) snapshots seems a bit, contrary to the ZFS philosophy of (almost) unreachable limits. The problem is, I don't know what ABI and ostatfs or any of that is. Or what can actually be done about the problem. It would be handy if someone who is in the know, could definitively declare the issues ability to be, or not to be resolved. And perhaps if it can, I'd like to push it in the right direction. Otherwise it appears to be that BSD and ZFS are not really fully integrated. What do I know though. :)