Feature #3753
openAdd zfs receive property support (zfs recv -o)
0%
Description
This is a request to add zfs receive property support (zfs recv -o) to Illumos. Solaris 11 added this feature after they killed opensolaris. It allows a user to specify zfs receive -o property=value to override properties when receiving a stream. The received stream is treated as though the overridden property was part of the source stream. The -o flag may be specified multiple times to set/override multiple properties.
This is incredibly useful when using zfs send/recv for periodic backup/replication. It allows a user to change properties such as canmount, mountpoint, or compression without modifying the source dataset.
Using inheritance on a destination dataset can achieve something similar. However, this is a bit fragile and limited in capability. Furthermore, it doesn't work for non-inheritable properties such as canmount.
Related issues
Updated by Bob Ziuchkovski about 9 years ago
This was meant as a feature request and not a bug. I missed specifying the feature type on creation. My apologies.
Updated by O F almost 5 years ago
Hi,
Nexenta has already implemented this feature. It is really great. Someone on the omnios mailinglist told me it should be fairly easy to implement it on illumos.