Hi all, I run FreeBSD 12.2-RELEASE-p7 and have a zfs pool
since several years. Here is something I stumbled upon a
few days ago and that I don't quite understand about the
.zfs/snapshot dirs:
One of the zfs file systems is pool1/backup/media:
If I do a
If I cd into /pool1/backup/media/.zfs/snapshot/2021-06-07_1656
and do a
The files are in my pool since some time already and have
been there prior to creating the snapshot. Why don't I see
them in the snapshot-dir? This does not happen for all
subdirs. I have another dir, where I see the files in
the normal filesystem as well as in the snapshot dir. What
am I missing here?
Best,
Thomas
since several years. Here is something I stumbled upon a
few days ago and that I don't quite understand about the
.zfs/snapshot dirs:
One of the zfs file systems is pool1/backup/media:
If I do a
ls -al isos/
in there I get
Code:
total 9280653
drwxr-xr-x 3 root wheel 6 Mar 16 2019 ./
drwxr-xr-x 9 root wheel 10 Mar 8 12:44 ../
-rw-r--r-- 1 root wheel 2344517632 Jan 12 2011 cd1.iso
-rw-r--r-- 1 root wheel 4602724352 Aug 10 2012 cd2.iso
-rw-r--r-- 1 root wheel 2849210368 Oct 14 2011 cd3.iso
drwxr-xr-x 2 root wheel 4 Mar 12 2019 cd4/
If I cd into /pool1/backup/media/.zfs/snapshot/2021-06-07_1656
and do a
ls -al isos/
there I get:
Code:
total 16
drwxr-xr-x 2 root wheel 2 Jan 21 2017 ./
drwxr-xr-x 9 root wheel 10 Mar 8 12:44 ../
The files are in my pool since some time already and have
been there prior to creating the snapshot. Why don't I see
them in the snapshot-dir? This does not happen for all
subdirs. I have another dir, where I see the files in
the normal filesystem as well as in the snapshot dir. What
am I missing here?
Best,
Thomas