Today's lesson: never use move to move data. Use copy + delete.
Today I was moving the data out and in zfs pool since I initially get the parameter wrong, and I want to clean up the mess.
Suddenly, the light goes out. The power is gone. My NAS has a UPS and triggers the shutdown at 70% remaining capacity, but somehow the moving process prevents the system from shutting down, and eventually the battery died, and my NAS lost power.
The good news? ZFS is recovering, by rolling back something, I don't know.
The bad news? The source is deleted but zfs rolling back some pointer discarded the written data. Now I lost the file.
Luckly I have backup covering my ass.