Cindy,

I appreciate your help.
Understand the NFS server is Solaris 10
The Client is Solaris 9

Here what I see on the client system:
# mount -o rw server1:/nfs /nfs/backup 
# cd /nfs/backup 
# touch me
touch: me cannot create

# showmount -e server1
export list for server1:
/nfs (everyone)

# nfsstat -m 

/nfs/backup from server1:/nfs
 Flags:         
vers=3,proto=tcp,sec=sys,hard,nointr,noac,link,symlink,acl,rsize=32768,wsize=32768,retrans=5,timeo=600
 Attr cache:    acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

Server1 is setup as followed:

# zfs get all nfs
NAME  PROPERTY         VALUE                  SOURCE
nfs   type             filesystem             -
nfs   creation         Mon Aug  9 18:00 2010  -
nfs   used             125K                   -
nfs   available        1.55T                  -
nfs   referenced       20K                    -
nfs   compressratio    1.00x                  -
nfs   mounted          yes                    -
nfs   quota            none                   default
nfs   reservation      none                   default
nfs   recordsize       128K                   default
nfs   mountpoint       /nfs                   default
nfs   sharenfs         rw                     local
nfs   checksum         on                     default
nfs   compression      off                    default
nfs   atime            on                     default
nfs   devices          on                     default
nfs   exec             on                     default
nfs   setuid           on                     default
nfs   readonly         off                    default
nfs   zoned            off                    default
nfs   snapdir          hidden                 default
nfs   aclmode          groupmask              default
nfs   aclinherit       restricted             default
nfs   canmount         on                     default
nfs   shareiscsi       off                    default
nfs   xattr            on                     default
nfs   copies           1                      default
nfs   version          3                      -
nfs   utf8only         off                    -
nfs   normalization    none                   -
nfs   casesensitivity  sensitive              -
nfs   vscan            off                    default
nfs   nbmand           off                    default
nfs   sharesmb         off                    default
nfs   refquota         none                   default
nfs   refreservation   none                   default

# exportfs
-               /nfs   rw   ""

Again I ask what gives, UID and GUID are same on both servers.
I would appreciate if someone can confirm if Solaris 9 needs a patch?
I can't see why but since this is a ZFS filesystem being NFS over. Who knows!!!


Phillip









-----Original Message-----
From: Cindy Swearingen [mailto:cindy.swearin...@oracle.com] 
Sent: Friday, August 13, 2010 12:59 PM
To: Phillip Bruce (Mindsource)
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] NFS issue with ZFS

Hi Phillip,

What's the error message?

How did you share the ZFS file system?

# zfs create tank/cindys
# zfs sharenfs=on tank/cindys
# share
-               /tank/cindys   rw   ""
# cp /usr/dict/words /tank/cindys/file.1
# cd /tank/cindys
# chmod 666 file.1
# ls -l file.1
-rw-rw-rw-   1 root     root      206663 Aug 13 13:03 file.1


Some things to check:

- Are the UID/GID and hostnames resolving between the NFS server
and the NFS client?
- File permissions
- Mount point permissions

Can you access the file system on the client by using the automounter?

# pwd
/net/t2k-brm-03/tank/cindys
# echo abc > file.1
#

Thanks,

Cindy

On 08/13/10 13:19, Phillip Bruce wrote:
> I have Solaris 10 U7 that is exporting ZFS filesytem.
> The client is Solaris 9 U7. 
> 
> I can mount the filesytem just fine but I am unable to write to it.
> showmount -e shows my mount is set for everyone.
> the dfstab file has option rw set.
> 
> So what gives?
> 
> Phillip

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to