allanjude / zxfer

A continuation of development on zxfer, a popular script for managing ZFS snapshot replication
BSD 2-Clause "Simplified" License
123 stars 40 forks source link

Added 'objsetid' to readonly_properties #54

Closed HWilke closed 3 years ago

HWilke commented 3 years ago

I had an issue using zxfer to replicate a pool to a local USB drive with FreeBSD 12.2

Creating destination filesystem "backup2/pools/data" with specified properties.
cannot create 'backup2/pools/data': 'objsetid' is readonly

After some investigation it seems that 'objsetid' is also a readonly parameter. I added it to the list of readonly_properties and it worked immediately.

allanjude commented 3 years ago

Great, thank you.

sporkman commented 3 years ago

Any chance of getting this change into a release? I just started working with 1.1.7 and hit this when adding a remote FreeBSD 12.2 host.

allanjude commented 3 years ago

Might you have time to make a pull request bumping the version # etc?

If not, I'll try to get to it in on the weekend, and cut a new release.

sporkman commented 3 years ago

I know CVS and subversion, but barely know git. However, I may see if I can dig up a quick HOWTO and use this as an opportunity.

I'm also running "-I special_small_blocks" because touching that property at all generates a warning ("special_small_blocks: property requires a special device in the pool"), but I'm not sure if that should land in "readonly_properties", "fbsd_readonly_properties", or not in any of those since it's not a fatal error.