From: Clift, Tom CIV NSWCDD, K55 <>
Date: Wed Jun 23 2010 - 08:15:40 EDT
I had many responses but Gerhard Weick was the first to hit it on the head.
The user "zfs_test" didn't have permission to create directories under
/data-pool. I decided to use sudo instead of ACL's to keep it simple.

Originial question:

Clift, Tom CIV NSWCDD, K55 wrote:
> All, I have a zpool and have assigned a user permission to create zfs
> filesystems within the pool. When I try to run the zfs create command I get
> the following error:
> # zfs create data-pool/test
> cannot mount '/data-pool/test': failed to create mountpoint
> filesystem successfully created, but not mounted
> # zfs allow data-pool/test
> --------Permissions on data-pool-----------------
> Local permissions:
>               user zfs_test create, destroy, mount, receive, snapshot, send


Hi Tom,

for a mountpoint is a directory, so you must have the permission to
create the directory, this is the write permission in the upper
directory (e.g.:
  chmod A+user:zfs_test:add_subdirectory:fd:allow /data-pool


Gerhard Weick

Tom Clift

[demime 1.01b removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
sunmanagers mailing list
Received on Wed Jun 23 08:17:02 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:17 EST