A knowledgeable forum member mentioned that you should never enter the
.zfs/snapshots/… directories:
I also failed to find any Oracle or FreeBSD documentation about avoiding those
directories. Other FreeNAS forum members also seem to think it's OK to enter
the directories. That's at least what I found while searching the forums:
https://forums.freenas.org/index.ph...on-zfs-searching-snapshots.20186/#post-114941
https://forums.freenas.org/index.ph...fs-snapshots-actually-stored.3919/#post-15500
.zfs/snapshots/… directories:
“Going inside those directories can be a major nightmare and can be pretty
devastating to your pool. So it is NOT something you should think of doing,
ever.”
devastating to your pool. So it is NOT something you should think of doing,
ever.”
- What devastating can happen entering those directories? Going there doesn't change a single file and shouldn't do any harm AFAIK. Even reading the files with atime enabled, snapshots are read-only, so it shouldn't matter at all.
- What can happen restoring files (copying files from within .zfs/snapshots/…) to the main file system?
- Why are the snapshots exposed in such a convenient way if entering those directories is that dangerous to the data?
- If it's that dangerous why doesn't the manual explicitly warn against entering those directories or restoring files that way?
I also failed to find any Oracle or FreeBSD documentation about avoiding those
directories. Other FreeNAS forum members also seem to think it's OK to enter
the directories. That's at least what I found while searching the forums:
https://forums.freenas.org/index.ph...on-zfs-searching-snapshots.20186/#post-114941
https://forums.freenas.org/index.ph...fs-snapshots-actually-stored.3919/#post-15500