Mv: setting attribute 'system.nfs4_acl_xdr' for 'system.nfs4_acl_xdr': Operation not permitted

I try to move folder from one dataset to another, then got this error message.

It appears after upgrading my box to version 25.10.2.

What can I do with it? Reset the dataset ACL with same user preset does not help.

When you move files / folders from a path on a given dataset to another path on the same dataset, the operation is atomic. There is not intermediary step. Moving files and folders across dataset boundaries is a misnomer. What is actually happening is that the mv command is making a copy and deleting the original, whilst trying to preserve all attributes and extended attributes. It’s pretty smart about this and will try to avoid breaking expectations. In this case you’re doing this between datasets that have different ACL capabilities on them (POSIX vs NFSv4 probably). This means that the filesystem permissions cannot be preserved and so the operation fails.

This is generally one of the reasons why I prefer to use the fewest number of datasets to get the job done.

For SMB case:

For example create dozer/share_data , create a share SHARE then put your files inside directories in the share. Moving things between the directories will be basically instantaneous without having to bother with block clones, server-side-copies, etc, etc.

If you need multiple shares:
For example create dozer/share_data , create a share ADMIN_SHARE. Inside ADMIN_SHARE create directories and make those into additional shares DOWNLOADS, MOVIES, PHOTOS. Then when you need to move from one to the other it’s a simple mv and instantaneous (server-side or through the ADMIN_SHARE).