Hi Friends
I have the following problem with NFS:
I have 2 Servers HOSTA and HOSTB both running Solaris 8
HOSTA is the NFS Server and the following has been
shared /a/data using /etc/dfs/dftab entries as follows:
share -F nfs -o ro=hosta:hostb:hostc:hostd -d "Data " /a/data
And the following nfs deamons are up and running at the Server ie HOSTA :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
root 461 1 0 18:30:45 ? 0:00 /usr/lib/nfs/nfsd -a 16
And the following nfs deamons are up and running at the Client ie HOSTB :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
And the share command shows :
- /a/data ro=hosta:hostb:hostc:hostd "Data "
This is the output of dfshares in HOSTA :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of dfshare in HOSTB :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of showmount -e hosta :
/a/data hosta,hostb,hostc,hostd
but when i say :
cd /net/hosta/a/data
it says
ksh: data: permission denied
I wonder why ?
PS: We have a NIS setup here and both hosta and hostb are
NIS clients . I donot know how to relate NIS Stuff with NFS.
Looking forward for some things i am missing .
br
DJC
I have the following problem with NFS:
I have 2 Servers HOSTA and HOSTB both running Solaris 8
HOSTA is the NFS Server and the following has been
shared /a/data using /etc/dfs/dftab entries as follows:
share -F nfs -o ro=hosta:hostb:hostc:hostd -d "Data " /a/data
And the following nfs deamons are up and running at the Server ie HOSTA :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
root 461 1 0 18:30:45 ? 0:00 /usr/lib/nfs/nfsd -a 16
And the following nfs deamons are up and running at the Client ie HOSTB :
daemon 236 1 0 18:30:18 ? 0:00 /usr/lib/nfs/statd
root 235 1 0 18:30:18 ? 0:00 /usr/lib/nfs/lockd
root 459 1 0 18:30:45 ? 0:00 /usr/lib/nfs/mountd
And the share command shows :
- /a/data ro=hosta:hostb:hostc:hostd "Data "
This is the output of dfshares in HOSTA :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of dfshare in HOSTB :
RESOURCE SERVER ACCESS TRANSPORT
hosta:/a/data hosta - -
This is the output of showmount -e hosta :
/a/data hosta,hostb,hostc,hostd
but when i say :
cd /net/hosta/a/data
it says
ksh: data: permission denied
I wonder why ?
PS: We have a NIS setup here and both hosta and hostb are
NIS clients . I donot know how to relate NIS Stuff with NFS.
Looking forward for some things i am missing .
br
DJC