Check the permissions on the directory... On Jun 5, 2008, at 1:06 PM, 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 > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss