electricd7
Explorer
- Joined
- Jul 16, 2012
- Messages
- 81
Hello,
I am trying to understand if my snapshots are working correctly, or if I have a problem. The way I understand snapshots (from a history with Netapp, EMC) is that a snapshot holds the change delta from the time in which it was initiated. So if I have a volume that I snapshot, then add a 50GB video file the snapshot size should be around 50GB (ie its 0 at the time of the snap because no changes, then as something gets written it grows to 50GB). Then lets say I snap it again. After that I add another 50GB video file. So now the original snapshot should be 100GB and the latest snapshot should only be 50GB. Is this correct?
I am asking because I am running a script which makes daily snapshots of a dataset. The command I am issuing is:
zfs snapshot pool1/video@nightly.0
Then after adding a video I run the following:
zfs list -t snapshot
The results are as follows:
NAME USED AVAIL REFER MOUNTPOINT
pool1/video@nightly.0 0 - 807G -
To me the USED column should show me 50GB or so? The USED column remains at 0 no matter how much data i add. Am I doing something incorrectly? Thanks in advance!
ED7
I am trying to understand if my snapshots are working correctly, or if I have a problem. The way I understand snapshots (from a history with Netapp, EMC) is that a snapshot holds the change delta from the time in which it was initiated. So if I have a volume that I snapshot, then add a 50GB video file the snapshot size should be around 50GB (ie its 0 at the time of the snap because no changes, then as something gets written it grows to 50GB). Then lets say I snap it again. After that I add another 50GB video file. So now the original snapshot should be 100GB and the latest snapshot should only be 50GB. Is this correct?
I am asking because I am running a script which makes daily snapshots of a dataset. The command I am issuing is:
zfs snapshot pool1/video@nightly.0
Then after adding a video I run the following:
zfs list -t snapshot
The results are as follows:
NAME USED AVAIL REFER MOUNTPOINT
pool1/video@nightly.0 0 - 807G -
To me the USED column should show me 50GB or so? The USED column remains at 0 no matter how much data i add. Am I doing something incorrectly? Thanks in advance!
ED7