Date: Thu, 16 Nov 2023 10:35:03 -0800 From: James Gritton <jamie@freebsd.org> To: freebsd-questions@freebsd.org Cc: Matthias Petermann <mp@petermann-it.de> Subject: Re: Snapdir of Nullfs-mounted Dataset incomplete in Jail Message-ID: <aa0d635f4b023d47bf19d79f1d147618@freebsd.org> In-Reply-To: <8ada22f7-f25c-47e9-829e-c22a2630a691@petermann-it.de> References: <8ada22f7-f25c-47e9-829e-c22a2630a691@petermann-it.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-11-16 06:22, Matthias Petermann wrote: > Hello everyone, > ... > Here's the problem: Snapshots are continuously created by Sanoid from > the host. Over time, I now get different directory listings of snapdir > depending on where I list it from: when listing from the host at > /zroot/data/shares/.zfs/snapshot, everything is complete. In the Jail > at /shares/.zfs/snapshot, the newer snapshots are missing. > > If I then go to the host and execute the following: > > ``` > % doas ls -lah /zroot/data/shares/.zfs/snapshot/* > ``` > > ...I get all the snapshots with sub-directories listed as expected. > > Surprisingly, after that, I can also see the snapshots from within the > Jail. > > A similar issue is discussed in [1] and [2]. > > Where is my mistake in thinking? No mistake in thinking. I don't know what's going on there, but it's definitely not expected behavior. If I knew ZFS better I could say for whether it was truly a bug, though I suspect it is. - Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa0d635f4b023d47bf19d79f1d147618>