As described in Feature #9826, the handling of refreservation is rather inconsistent across "zfs create" and "zfs clone".
https://www.illumos.org/issues/9286 If we were in the design phase of "zfs clone", I think that it would be clear that when cloning a volume the new volume should get the same refreservation as the source volume. Since we are well past that, it seems like the right approach is to make this more explicit. As such, I'm planning to implement: zfs clone <volsnap> <newvol> - newvol is always sparse (no change from today) zfs clone -o refreservation=auto <volsnap> <newvol> - newvol has refreservation that is a bit larger than that of the snapshotted volume Does that sound reasonable? TIA, Mike ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/discussions/Te3d593ba00521b6d-M72264a5b0b3b107fd05021ba Delivery options: https://openzfs.topicbox.com/groups
