On Thu, Mar 15, 2018 at 3:00 PM, Matthew Ahrens <[email protected]> wrote:
> Yes, I agree and that all sounds great (including "zfs set > refreservation=auto" to get back to the originally-computed > refreservation). A shame that we didn't catch this when implementing "zfs > clone" back in the day. > > I assume that refreservation will continue to be a non-inheritable > property, and that "refreservation=auto" is just a shortcut for > "refreservation=123GB" (or whatever the right number is). So if you set it > to "auto", "zfs get" will show "123GB". And changing the volsize will do > whatever it does today. > Pretty much, but currently you can't set refreservation to a value greater than volsize. The largest explicit value that is allowed is still volsize. > I assume for filesystems, "refreservation=auto" will not reserve any > space. > > My intent was to have refreservation=auto only supported on volumes, as there is no auto value that makes sense for file systems. Mike ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/discussions/Te3d593ba00521b6d-M9f602b3fe88eee7c88705c22 Delivery options: https://openzfs.topicbox.com/groups
