Project

General

Profile

Feature #3753

Add zfs receive property support (zfs recv -o)

Added by Bob Ziuchkovski over 6 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2013-04-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

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

Is duplicate of illumos gate - Feature #2745: Allow filtering of properties on zfs receiveFeedback2012-05-17

Actions

History

#1

Updated by Bob Ziuchkovski over 6 years ago

This was meant as a feature request and not a bug. I missed specifying the feature type on creation. My apologies.

#2

Updated by Marcel Telka over 6 years ago

  • Tracker changed from Bug to Feature
#3

Updated by Prasad Joshi about 6 years ago

  • Assignee set to Prasad Joshi
#4

Updated by ilove zfs over 5 years ago

Is this still being worked on?

#5

Updated by Tobias Oetiker about 5 years ago

anyone working on this?

#6

Updated by O F over 2 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.

Also available in: Atom PDF