Help with ZFS send permissions


 
Thread Tools Search this Thread
Operating Systems Solaris Help with ZFS send permissions
# 1  
Old 05-01-2015
Help with ZFS send permissions

I'm trying to send an incremental ZFS file system from one system to another (Solaris 11.2). When I run this:

Code:
zfs send -RI 20150429 gpool/zones/zone-name@20150501 | \
 ssh dest-host "/usr/sbin/zfs recv -o canmount=off -dFuv bpool"

I get

Code:
Unable to estimate the size of 'gpool/zones/zone-name/rpool@20150430': permission denied
Unable to estimate the size of 'gpool/zones/zone-name/rpool@20150501': permission denied

Note: I'm not running this as root; I've created a non-privileged account just for this. I've created a ZFS permission set and assigned it to the user/file-systems in question (ZFS delegation). It seemed to work for a different file system in the same pool. I tried to include as many permissions as I could find, but did I miss one? I used

Code:
zfs allow -s @allperms aclinherit,aclmode,allow,atime,canmount,checksum,clone,compression,copies,create, \
destroy,devices,exec,hold,mount,mountpoint,promote,quota,readonly,receive,recordsize,rename, \
reservation,rollback,send,setuid,share,sharenfs,sharesmb,snapdir,snapshot,userprop,volsize,vscan, \
xattr,zoned bpool

Is there a way to determine just which permission was denied?
# 2  
Old 05-03-2015
According to the documentation here :
Delegating ZFS Permissions Examples - Managing ZFS File Systems in OracleŽ Solaris 11.2

Perhaps you missed the chmod step on the source side ?

Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Zfs send & receive with encryption - how to retrieve data?

Good morning everyone, I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong. My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies

2. Solaris

Zfs send to compressed pool?

I have a newly created zpool, and I have set compression on, for the whole pool: # zfs set compression=on newPool Now I have zfs send | zfs receive lot of snapshots to my newPool, but the compression is gone. I was hoping that I would be able to send snapshots to the new pool (which is... (0 Replies)
Discussion started by: kebabbert
0 Replies

3. Solaris

Permissions to run ZFS Snapshots

Hi, I work as an Oracle Technical consultant (mainly DBA related), and I have used ZFS snapshots on previous projects which has helped me a great deal. I often take snapshots before doing some dev work, and then I can roll it back if I want to start again, or if it goes pear shaped!! I have... (4 Replies)
Discussion started by: AndyG
4 Replies

4. Solaris

ZFS send issues

I have two servers, we'll call them sv1 and sv2. both are Solaris 11.1 LDOMS running on a T4-4 with RBAC enabled. my user has zfs allow send, receive on both servers and has ssh keys shared. on sv2 (the destination) I have a zpool called zones that has no zfs fs built on sv1 (the source) I... (5 Replies)
Discussion started by: os2mac
5 Replies

5. Solaris

zfs send receive performance issues

I 'm trying to clone a zfs file system pool/u01 to a new file system called newpool/u01 using following commands zfs list zfs snapshot pool/u01@new zfs send pool/u01@new | zfs -F receive newpool/u01 Its a 100G file system snapshot and copied to same server on different pool and... (9 Replies)
Discussion started by: fugitive
9 Replies

6. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

7. Solaris

Are you using ZFS ?

With Solaris 11 coming out with a requirement of ZFS on the root disk, I was curious to know who is using the Zeta File System now? I have been using ZFS for the past year and don't plan to go back to UFS since ZFS is much more reliable and easier to maintain. (13 Replies)
Discussion started by: bluescreen
13 Replies

8. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

9. UNIX for Advanced & Expert Users

send attachments using send mail in Solaris

Hi All, I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies

10. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
Login or Register to Ask a Question