Creating zfs volumes for ordinary users requires ability to modify `refreservation' property. Is this reproducable on opensolaris? How-To-Repeat: root# zpool create blah gptid/A-B-C-E root# zfs allow luser create,mount blah root# sysctl vfs.usermount=1 luser$ zfs create -V10m blah/test cannot create 'blah/test': permission denied luser$ truss zfs create -V10m blah/test 2>&1 | fgrep ioctl | tail -1 ioctl(3,0xcc285a18 { IORW 0x5a('Z'), 24, 3112 },0xffffd110) ERR#1 'Operation not permitted' luser$ grep "'Z'.*24" /usr/src/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h #define ZFS_IOC_CREATE _IOWR('Z', 24, struct zfs_cmd) root# zfs allow luser refreservation luser$ zfs create -V10m blah/test luser$ find /dev/zvol -ls 86 1 dr-xr-xr-x 3 root wheel 512 Dec 17 21:24 /dev/zvol 87 1 dr-xr-xr-x 2 root wheel 512 Dec 17 21:24 /dev/zvol/blah 85 0 crw-r----- 1 root operator 0, 85 Dec 17 21:23 /dev/zvol/blah/test
Anonymous <swell.k@gmail.com> writes: > Creating zfs volumes for ordinary users requires ability to modify > `refreservation' property. It doesn't affect `sparse' volumes, those created with `-s' option. So, `refreservation' ability is not required for the following to work luser$ zfs create -sV10m blah/test
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>