What is the most efficient way to move files between different datasets in the same zpool? #15447
Answered
by
IvanVolosyuk
shivabohemian
asked this question in
Q&A
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
IvanVolosyuk
Oct 24, 2023
Replies: 1 comment 9 replies
-
The 'mv' command between different datasets behaves like 'cp'. That's the reason why it is slow. On the other hand, in newly released ZFS 2.2 there is reflink support, so technically |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
shivabohemian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 'mv' command between different datasets behaves like 'cp'. That's the reason why it is slow. On the other hand, in newly released ZFS 2.2 there is reflink support, so technically
cp --reflink=auto src dst
should be instant and you can delete the source file after that.