Hopefully a simple question, but could not find any answer to this (if there is feel free to link):
When creating a new pool in TrueNAS Scale is it possible to create it using NFSv4 instead of POSIX? I ask because all my pool default to POSIX and then when creating child datasets, I have to change “Inherit” to NFSv4 and then get a warning.
Ive gone though the pool creation dozens of times and, maybe its right under my nose but I dont see an option for POSIX or NFSv4 as the pools ACL type
No, there’s no reason to create a pool with NFSv4 acltype. You just need to create the new dataset with correct acltype (NFSV4) and aclmode (PASSTHROUGH or RESTRICTED). Otherwise, you can just choose one of the presets that uses NFSv4 acltype.
you can also just as easily edit the existing dataset to use NFSv4 ACLs, which will wipe out the old permissions and from there you can just edit and set new a new ACL.
keeping in mind of course that aclmode might need changed.
aclmode would absolutely have to be changed (DISCARD aclmode would lead to undefined permissions behavior as the ACL would get stripped every time a process calls chmod). I generally don’t recommend changing acltype on existing data. Generally, it’s not recommended to use root-level dataset for storage.