Solved zxfer: 'objsetid' is readonly

I'm running into an odd issue when trying to use sysutils/zxfer to copy zfs datasets over to a remote server:

Code:
[root@squid 08.Feb 1:29pm /usr/ports/sysutils/zxfer]# /usr/local/sbin/zxfer -dFkPv -g 376 -T root@backup.example.com -R tank/root zdata/home/install/squid
Checking grandfather status of all snapshots marked for deletion...
Grandfather check passed.
Creating destination filesystem "zdata/home/install/squid/root" with specified properties.
cannot create 'zdata/home/install/squid/root': 'objsetid' is readonly
Error when creating destination filesystem.
[root@squid 08.Feb 1:29pm /usr/ports/sysutils/zxfer]#

I see that Allan Jude has added 'objsetid' as readonly in version 1.1.7 of sysutils/zxfer so am puzzled as to why I am encountering this error. I have two other remote servers running similar zxfer commands as the one above with no issues.

Running 12.2-RELEASE-p3 on both local and remote servers.
 
I added 'objsetid' to the list of readonly properties as follows:

readonly_properties="type,creation,used,available,referenced,\
compressratio,mounted,version,primarycache,secondarycache,\
usedbysnapshots,usedbydataset,usedbychildren,usedbyrefreservation,\
version,volsize,mountpoint,mlslabel,keysource,keystatus,rekeydate,encryption,\
refcompressratio,written,logicalused,logicalreferenced,createtxg,guid,origin,\
filesystem_count,snapshot_count,clones,defer_destroy,receive_resume_token,\
userrefs,objsetid"


zxfer no longer complains and happily proceeds to transfer zfs snapshots remotely.

The sysutils/zxfer port should be updated with this minor addition.

~Doug
 
Back
Top