I have created a user 'block' which has the following ZFS permissions on 
tank/iscsi_luns.

-bash-3.2# zfs allow tank/iscsi_luns
-------------------------------------------------------------
Local+Descendent permissions on (tank/iscsi_luns)
        user block 
clone,create,destroy,mount,mountpoint,promote,rename,reservation,rollback,shareiscsi,snapshot,volsize
-------------------------------------------------------------

I would like 'block' to give the ability to create volumes under iscsi_luns, so 
user block can operate without superuser right. But upon create:

/usr/sbin/zfs create -V 1m tank/iscsi_luns/test
cannot share 'tank/iscsi_luns/test': iscsitgtd failed request to share
filesystem successfully created, but not shared

An error is generated, with the following dmesg:

Dec  2 15:21:26 troeteldier iscsitgtd[9870]: [ID 998699 user.error] 
transaction_start start: insufficient privileges for action

Should my user block be placed in a special group in order to share via iSCSI? 
Why isn't this working out of the box?
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to