Significance of zero-sized Snapshots?

NumberSix

Contributor
Joined
Apr 9, 2021
Messages
188
Hi
During a recent lost data scare, I had occassion for the first time ever to clone and share a snapshot. The snapshot in question was of a dataset full of hundreds of large files, and was about 2 weeks old when I cloned it. I have never done this before so didn't know what to expect. I found the size of the date taken up by my new clone dataset was zero. Further, when I went into Shell and accessed the clone, I found it totally empty, and not containing any of the hundreds of large files I expected and wanted to find. It contained nothing and was absolutely empty.

Why is this happening?

Does it mean that something is wrong with my auto snapshots? If so what, and how can I fix it so that if I ever do need to look to snapshots to restore and earlier state, they actually work as intended? Here's a grab of the datasets, showing the zero-sized clone in question.

screenshot.25.jpg


Thank you for your input!
 
Joined
Oct 22, 2019
Messages
3,641
Useful commands from the other thread. :wink:

Code:
zfs list -t snap -o name,refer,used NAS/Media

zfs list -o space NAS/Media-auto-2023-08-20_00-00-clone
 
Top