ls .zfs/snapshot: File name too long

Youzhong Yang youzhong at gmail.com
Wed Nov 8 04:43:02 UTC 2017


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


More information about the freebsd-fs mailing list