I'm having a few problems accessing the snapshots I've created using the .zfs/snapshots directory.
The first issue is minor. "ls -l" always returns an "Invalid argument" error, but otherwise works fine. Using ltrace and strace, it seems that "ls" is calling lgetfilecon(), which is calling lgetxattr(path, "security.selinux", ...) and failing.
The more serious problem is that many of the directories cannot be opened. E.g. from strace:
open("MS_raw", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EINVAL (Invalid argument)
Also, the .zfs directory is not accessible at all through NFS:
stat(".zfs", 0x121e1568) = -1 EIO (Input/output error)
But the good news is that cloning a snapshot seems to work.
I'm having a few problems accessing the snapshots I've created using the .zfs/snapshots directory.
The first issue is minor. "ls -l" always returns an "Invalid argument" error, but otherwise works fine. Using ltrace and strace, it seems that "ls" is calling lgetfilecon(), which is calling lgetxattr(path, "security.selinux", ...) and failing.
The more serious problem is that many of the directories cannot be opened. E.g. from strace:
Also, the .zfs directory is not accessible at all through NFS:
But the good news is that cloning a snapshot seems to work.