How does ZFS copy on write work for large files
10
votes
2
answers
6746
views
Let's say I have a large file (8GB) called
example.log
on ZFS.
I do cp example.log example.bak
to make a copy. Then I add or modify a few bytes in original file. What will happen?
Will ZFS copy the entire 8GB file or only the blocks that changed (and all the chain of inodes pointing from the file descriptor to that block)?
Asked by HubertNNN
(203 rep)
Jan 17, 2020, 01:21 PM
Last activity: Aug 14, 2024, 05:21 PM
Last activity: Aug 14, 2024, 05:21 PM