From 8750edf1f75e4f02c353be490309940f11115f23 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Tue, 16 Apr 2019 12:12:08 -0500 Subject: [PATCH] zfs allow refreservation needed for zfs create -V When creating a non-sparse volume, zfs create sets a refreservation. Accordingly, one needs the "refreservation" ability in addition to the "create" ability in order to create a non-sparse volume. Reviewed-by: Brian Behlendorf Reported-by: github.com/homerlinux Reported-by: Matthew Ahrens Signed-off-by: Richard Laager Closes #8531 Closes #8624 --- man/man8/zfs.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index eaa98212f1..36ab9353fa 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -4177,7 +4177,9 @@ allow subcommand Must also have the permission that is being allowed clone subcommand Must also have the 'create' ability and 'mount' ability in the origin file system -create subcommand Must also have the 'mount' ability +create subcommand Must also have the 'mount' ability. + Must also have the 'refreservation' ability to + create a non-sparse volume. destroy subcommand Must also have the 'mount' ability diff subcommand Allows lookup of paths within a dataset given an object number, and the ability