Gary Leong wrote:
> This is the first time I tried nfs with zfs. I shared the zfs filesystem
> with nfs, but i can't write to the files though i mount it as read-write.
> This is for Solaris 10 update 4. I wonder if there is a bug?
>
> ---------------server (sdw2-2)
>
> #zfs create -o sharenfs=on data/nfstest
>
> #zfs get all data/nfstest
> NAME PROPERTY VALUE SOURCE
> data/nfstest type filesystem -
> data/nfstest creation Thu Jun 5 13:22 2008 -
> data/nfstest used 40.7K -
> data/nfstest available 15.4T -
> data/nfstest referenced 40.7K -
> data/nfstest compressratio 1.00x -
> data/nfstest mounted yes -
> data/nfstest quota none default
> data/nfstest reservation none default
> data/nfstest recordsize 128K default
> data/nfstest mountpoint /data/nfstest default
> data/nfstest sharenfs on local
> data/nfstest checksum on default
> data/nfstest compression off default
> data/nfstest atime on inherited from data
> data/nfstest devices on default
> data/nfstest exec on default
> data/nfstest setuid on default
> data/nfstest readonly off default
> data/nfstest zoned off default
> data/nfstest snapdir hidden default
> data/nfstest aclmode groupmask default
> data/nfstest aclinherit secure default
> data/nfstest canmount on default
> data/nfstest shareiscsi off default
> data/nfstest xattr on default
>
> #share
> - /data/nfstest rw ""
>
> ------------client
>
> #mount -o rw sdw2-2:/data/nfstest /data/nfsmount/
>
> #mount -o rw sdw2-2:/data/nfstest /sdw2nfs/
> touch /sdw2nfs/dummy.txt
> touch: /sdw2nfs/dummy.txt cannot create
You might look to see what mode /sdw2nfs is on the client after
mounting it from the server. Also keep in mind that root is
being mapped on the server to user/group "nobody".
ps
_______________________________________________
opensolaris-help mailing list
[email protected]