Error adding new Dataset

It would be triggered in the same situation. You have:

  1. NFSv4 acltype on root level dataset
  2. Non-trivial ACL set on root level dataset

1 and 2 are non-standard configuration (e.g. something you need to go out of your way to set via shell).

Thatā€™s very odd. I never did anything like that. Could it have something to do with the migration to Scale? Either way, how do I fix it?

Donā€™t know context of what you migrated to SCALE from. You can strip the ACL (assuming you donā€™t want it) via nfs4xdr_setfacl -b /mnt/<pool name>.

I migrated from TrueNAS Core.

I reset the permissions with that command, now I get:

[EINVAL] pool_dataset_create.share_type: Filesystem permissions on path /mnt/poolio prevent access for group "builtin_users" to the path /mnt/poolio/TimeMachine. This may be fixed by granting the aforementioned group execute permissions on the path: /mnt/poolio

What is output of nfs4xdr_getfacl /mnt/poolio`?

It says Namespace nfs4xdr_getfacl /mnt/poolio not found

I think that was me messing up permissions when I created an admin user. So thatā€™s a separate issue.

But I was able to fix my Dataset issue with the help of maniac from Discord.

Used
chown root:root /mnt/poolio
chmod 755 /mnt/poolio
to reset ownership and permissions on the pool to: