I have an old machine that I need to decommission. Part of what I am tasked with involves moving my data from UFS2 on 9.1-STABLE to ZFS + NFSv4 ACLs on 9.3-RELEASE-p8 (Actually FreeNAS-9.3-STABLE-201501241715). I am completely unfamiliar with NFSv4 and I am extremely pressed for time.
The data to be moved was being served by Samba 3.6.18 to a very small number of users and groups, which might give an idea of what extended attributes may have been set. I've copied all my files using
I've tried using
Before I dive into the research involved, I thought I would ask if anyone has any experience (or code!) in performing such a translation. For what it's worth, it will be a one-way transfer with no need to go back.
The data to be moved was being served by Samba 3.6.18 to a very small number of users and groups, which might give an idea of what extended attributes may have been set. I've copied all my files using
rsync -aHX, which unfortunately does not perform any translation between UFS2 extended attributes and NFSv4 ACLs.I've tried using
getfacl ... | setfacl -b -n -M - ..., which fails with "branding mismatch; existing ACL is NFSv4, entry to be merged is POSIX.1e". Furthermore cp -p results in "failed to set acl entries for ...: Operation not supported".Before I dive into the research involved, I thought I would ask if anyone has any experience (or code!) in performing such a translation. For what it's worth, it will be a one-way transfer with no need to go back.