Matt Cohen wrote:
> We have two servers:
> 
> 1)  10.97.1.1 - Solaris 10 with a zfs fileystem called /storage/nfs/client. 
> 
> I've set the sharenfs property on this fs as follows:
> sharenfs=rw=192.168.0.111,root=192.168.0.111
> 
> 2)  192.168.0.111 - Redhat WS 4.  Trying to mount 
> 10.97.1.1:/storage/nfs/client at /mnt/client
> 
>>From the 192.168.0.111 Redhat server I issued the following:
> 
> mount -t nfs 10.97.1.1:/storage/nfs/client /mnt/client
> 
> I've tried different variations, including specifying nfs version 3.  
> Everytime, I get the same error, "mount: 10.97.1.1:/storage/nfs/client 
> failed, reason given by server: Permission denied"

Hi Matt,

I would expect that this is because you're using the numeric
address in the share on the Solaris server.  Solaris will do
a reverse IP lookup and test the name against the share lists.
The best way to figure out what the server will see is to
log in remotely from the client and see what 'who am i'
returns as the remote machine name, e.g.:

banff[377]% ssh kootenay
Password:
kootenay[1]% who am i
thurlow    pts/11       Aug 18 07:05    (banff)

Here, you would use 'banff' in the sharenfs property.

Rob T

Reply via email to