NFS issue



Folks,

I'm having an issue trying to share a filesystem with write access to one
NFS client only.


NFS server: Solaris 9 (280R)
I'm trying to share /migrate (oracle:oracle) to sunclient.

# df -k /migrate
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d109 10326764 9 10223488 1% /migrate
# ls -l | grep migrate
drwxr-xr-x 3 oracle oracle 512 Apr 27 15:54 migrate
#
So, I start the nfs.server daemon,
# /etc/rc3.d/S15nfs.server start
and share the /migrate filesystem as follows:
# share -F nfs -o rw=nfsclient,anon=100 -d "informix/oracle migration"
/migrate
# dfshares
RESOURCE SERVER ACCESS TRANSPORT
nfsserver:/migrate nfsserver - -
#
(note: the NFS server has the user oracle (UID 100) and group oracle (GID
100) defined in /etc/passwd and /etc/group, but not informix:informix as
defined on the NFS client)



NFS client: Solaris 8 (V100)

# ls -l | grep migrate
drwxr-xr-x 2 informix informix 512 Apr 27 16:49 migrate
# id
uid=0(root) gid=1(other)
# mount -F nfs athena:/migrate /migrate
# ls -l | grep migrate
drwxr-xr-x 3 100 100 512 Apr 30 13:16 migrate
# cd /migrate
# ls -ltr
total 16
drwx------ 2 100 100 8192 Apr 27 15:54 lost+found
# touch test
touch: test cannot create
#

(note: the NFS server has the user informix (UID 200) and group informix
(GID 200) defined in /etc/passwd and /etc/group, but not oracle:oracle as
defined on the NFS server)

Ok, it's a permission issue, but how do I go about fixing this?
I need the user "informix" from the nfsclient to be able to write to the
share.

Thanks in advance

Loris
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Panic on my NFS server: Consumer with zero access count in g_dev_strategy
    ... I umount'ed a filesystem of my NFS Server, ... >while an NFS client was writing to it. ... writing to the disk device after it has been closed. ...
    (freebsd-current)
  • Re: NFS client software
    ... > Do Sun provide a NFS client for use on Windows PC's to connect to ... Or do I need a 3rd pary NFS client? ... Much much simpler to use samba on the Solaris side to make the ... Solaris machine look like a windows server. ...
    (comp.unix.solaris)
  • Re: ACLs on Red Hat vis NFS
    ... > If I set ACLs on a file on an NFS volume on a Solaris NFS client, ... > read those ACLs on any other Solaris NFS client. ... Are ACLs only checked and applied on the NFS server, ...
    (comp.unix.solaris)
  • Re: ACLs on Red Hat vis NFS
    ... If you run Linux with NFSv3, ... Linux & NFSv3 was a nightmare and still is not as good as Solaris NFS. ... >read those ACLs on any other Solaris NFS client. ...
    (comp.unix.solaris)
  • Re: ACLs on Red Hat vis NFS
    ... > Our NFS server is runing Solaris 9 SPARC and our linux NFS clients are ... > If I set ACLs on a file on an NFS volume on a Solaris NFS client, ... > read those ACLs on any other Solaris NFS client. ...
    (comp.unix.solaris)