Copy file using Block Cloning, like cp --reflink.
Copy file without actual data write.
reflink <source> <destination>
source Specifies a file to copy.
source must have placed on the ReFS volume.
destination Specifies new file name.
destination must have placed on the same volume as source.
Note
Block Cloning requires ReFS v21.
You may check local volume by fsutil fsinfo volumeinfo or fsutil fsinfo refsinfo.
- by volumeinfo
WhenSupports Block Cloningis included in fsutil output, can use Block Cloning. - by refsinfo
Version 1.2 or 1.1 is ReFS v1.
Version 3.1 or upper is ReFS v2.
MIT License
Footnotes
-
If including non-Microsoft products, then reflink capable with WinBtrfs, OpenZFS, and so on. ↩