1834006 Members
1672 Online
110063 Solutions
New Discussion

Re: NFS issues

 
SOLVED
Go to solution
dictum9
Super Advisor

NFS issues


I am using Ignite-UX and am having issues with NFS. On the client, I cannot mount the directory from the server. The directory is correctly exported.

ignclnt:/#:mount ignsvr:/var/opt/ignite/recovery/archives/ignclnt /tmp/test
Permission denied
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: NFS issues

Shalom,

there is a message in /var/adm/syslog/syslog.log that may explain further.

Either ownership permissions does not permit it or the limits in /etc/exports on the server is blocking it.

Also TCP wrappers, which I recently learned how to properly use on the RHCE can block access by network/hostnamme etc.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sandman!
Honored Contributor

Re: NFS issues

Could you elaborate on what you are trying to do? Additionally look into the syslog for relevant error messages and post them here.

thanks!
dictum9
Super Advisor

Re: NFS issues

Nothing in syslog

I am trying to add a system for recovery (make_net_recovery) in Ignite-UX, and it's having problems mounting its filesystems.

IT_2007
Honored Contributor
Solution

Re: NFS issues

you have export the following from Ignite server.

/etc/exports file:

/var/opt/ignite/clients -anon=2
/depot/ignite/archive/Rel_B.11.11 -ro,anon=2


exportfs -av
Doug O'Leary
Honored Contributor

Re: NFS issues

Hey;

On the client, verify the exported filesystems from the server:

showmount -e ignsvr

Assuming that shows what you're expecting,

ssh ignsvr # Login
tty # Note the tty number
who -R | grep ${tty} # Note the hostname.

Verify the hostname matches what you're using in the exports if you're using host based access lists on the exports.

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Jon Ward_3
Advisor

Re: NFS issues

Also check the time/date on the systems. If they are to far out of sync NFS will reject you for security reasons.
Dave Olker
Neighborhood Moderator

Re: NFS issues

Hi,

If you've exhausted all of the normal troubleshooting options (i.e. make sure all the daemons are running, make sure the filesystem is exported properly, make sure the client is in any access lists for the filesystem, etc.) and you're still not able to get the filesystem to mount then you should try enabling debug logging for the rpc.mountd daemon on the server and repeat the failed operation. The resulting log file will give us a lot more information about why the server is rejecting the mount request.

To enable debug rpc.mountd logging, use ps to find the running rpc.mountd daemon and send that daemon a SIGUSR2 (i.e. kill -17 ). The daemon will begin logging to the /var/adm/mountd.log file. Once logging is started issue the failing mount request from the client and then send another SIGUSR2 to the rpc.mountd on the server to turn debug logging off.

Please post the debug rpc.mountd logfile here so that I can examine the contents and hopefully determine why the server is rejecting the mount request.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo