How to enable crossrename on TrueNAS Scale SMB

I just tried this out on my TrueNAS Core 13.3-U1 server, and it works as expected, and it’s very fast.

  1. I made an SMB share with the Default preset that points to my root dataset path.
  2. I “cut” and “pasted” a 2-GiB movie file from one folder to another, where it has to cross filesystem boundaries between separate datasets.
  3. The operation completely successfully and very quickly, plus it did not have to go through my network.

I used Windows 10 Explorer. No additional options or parameters were specified.

EDIT: Block-cloning was not used. Not only is block-cloning unsupported across encrypted datasets, but I confirmed that no additional BCLONEUSED appeared on my pool’s property.