From: Loris.Serena@pfpc.ie
Date: Mon Apr 30 2007 - 11:13:43 EDT
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@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:55 EDT