Snapshots Appear Empty When Browsing on Linux

Hi,

I set up a new server with TrueNAS Scale v23.10.2 a few weeks ago and configured snapshots on my pool. I then shared my drive as read-only in SMB and read-write in NFS.

When I use “Previous Versions” in Windows I am able to browse the snapshots as expected:

When I cd into the .zfs/snapshots folder on Linux, I can see all of the snapshots, but there is nothing inside them.

[Fri Jun 21 03:08:34:/pool/.zfs/snapshot]$ ll | grep 2024-06-21
drwxrwxrwx   1 root root 0 Jun 21 00:00 auto-2024-06-21_00-00/
drwxrwxrwx   1 root root 0 Jun 21 01:00 auto-2024-06-21_01-00/
drwxrwxrwx   1 root root 0 Jun 21 02:00 auto-2024-06-21_02-00/
drwxrwxrwx   1 root root 0 Jun 21 03:00 auto-2024-06-21_03-00/
[Fri Jun 21 03:08:44:/pool/.zfs/snapshot]$ cd auto-2024-06-21_00-00/
[Fri Jun 21 03:09:07:/pool/.zfs/snapshot/auto-2024-06-21_00-00]$ ll
total 0
drwxrwxrwx   1 root root 0 Jun 21 00:00 ./
drwxrwxrwx 414 root root 2 Jun 21 03:00 ../

I had this working on TrueNAS Core without any special configuration that I can remember, is there a step I am missing here?

1 Like

I am having the same issue. I have found on the archived TrueNAS forums two threads (1, 2) that seem to also have this problem. They say that the issue is with NFSv4 vs POSIX ACLs, but one iXsystems dev says that NFSv4 permissions with .zfs/snapshots were going to be fixed in Scale 22.02.2, but this doesn’t seem to be the case afaik (see the last reply in the second thread).

I updated to v24.04.1.1 and see the same issue. I also tried changing to snapshot at the dataset I wanted directly, but no change.