ls .zfs/snapshot: File name too long
Ben Woods
woodsb02 at gmail.com
Wed Nov 8 23:15:49 UTC 2017
On Wed, 8 Nov 2017 at 12:43 pm, Youzhong Yang <youzhong at 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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at 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 at gmail.com
More information about the freebsd-fs
mailing list