Date: Wed, 08 Nov 2017 23:15:38 +0000 From: Ben Woods <woodsb02@gmail.com> To: Youzhong Yang <youzhong@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: ls .zfs/snapshot: File name too long Message-ID: <CAOc73CAwO_D7aeRHYooYjDR5OtT0KUau37CnPAyuYuU5Fk=wqw@mail.gmail.com> In-Reply-To: <CADpNCvb6rgYiUbptyXuJ3D3paaOnQWE0hD03PYm_HSKzfHTgqg@mail.gmail.com> References: <CADpNCvb6rgYiUbptyXuJ3D3paaOnQWE0hD03PYm_HSKzfHTgqg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Nov 2017 at 12:43 pm, Youzhong Yang <youzhong@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CAwO_D7aeRHYooYjDR5OtT0KUau37CnPAyuYuU5Fk=wqw>