[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-discuss
Subject:    Re: [osol-discuss] zfs sharenfs command
From:       Omer Faruk Sen <omerfsen () gmail ! com>
Date:       2009-02-27 15:56:22
Message-ID: 75a268720902270756j5067aa4ek317260b7043c8172 () mail ! gmail ! com
[Download RAW message or body]

Ok thank you very much for your answer.

On Thu, Feb 19, 2009 at 10:14 PM, Peter Tribble <peter.tribble@gmail.com> wrote:
> On Thu, Feb 19, 2009 at 9:53 AM, Omer Faruk Sen <omerfsen@gmail.com> wrote:
>> Hi,
>>
>> On Solaris10 update 6 I am trying to export a nfs share like this:
>>
>> zfs set sharenfs="rw=192.168.36.39" backup/192.168.36.39
>> zfs set sharenfs="rw=192.168.36.47" backup/192.168.36.47
>>
>>
>> ls -la /backup/
>>
>> drwxr-xr-x   2 root     root           2 Feb 19 11:20 192.168.36.39
>> drwxr-xr-x   3 root     root           3 Feb 19 11:46 192.168.36.47
>>
>> And output of showmount -e
>>
>> bash-3.00# showmount -e
>> export list for backup1:
>> /backup/192.168.36.39 192.168.36.39
>> /backup/192.168.36.47 192.168.36.47
>>
>> On client side of nfs I can mount /backup/192.168.36.39 as RW but when
>> I try to create a file or directory I get permission error. Only
>> option for me to chmod 777 /backup/*  after that I can write files on
>> nfs client. Is there a better way to achive that? Or what am I missing
>> here?
>
> You're missing sharing it with root access.
>
> zfs set sharenfs="rw=192.168.36.39,root=192.168.36.39" backup/192.168.36.39
>
> --
> -Peter Tribble
> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
>
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic