- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Nfs mount to Tru64
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 05:23 AM
09-24-2002 05:23 AM
Nfs mount to Tru64
I continually get a Permission denied message on any filesystem that I have exported. My 'showmount -e SERVERNAME' shows that the dirs are exported and access is granted to EVERYONE.
Both servers exist in the same domain, on the same subnet. I've even edited .rhosts on both to allow .rlogin.
Any suggestions?
Thanx.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 05:35 AM
09-24-2002 05:35 AM
Re: Nfs mount to Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 05:36 AM
09-24-2002 05:36 AM
Re: Nfs mount to Tru64
/tmp -access=hp_hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 05:37 AM
09-24-2002 05:37 AM
Re: Nfs mount to Tru64
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 05:41 AM
09-24-2002 05:41 AM
Re: Nfs mount to Tru64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 12:34 PM
09-24-2002 12:34 PM
Re: Nfs mount to Tru64
1. Make sure that the hostname is being resolved correctly. It helps to put in the IP address of the host into the access list of allowed hosts.
2. If your trying to mount via automounter instead of the mount command you need to do as someone else mentioned and configure the /etc/rc.config.d/nfsconf file and set AUTOFS=1
The default automount does not understand NFSv3 to the best of my knowledge.
3. rerun exportfs -a on the NFS server to ensure that any changes to the exports file are updated. I know with true64 in it's onset I had to exportfs -u -a ; exportfs -a to make things update.
4. make sure that portmap has not been changed on any system's /etc/services file. If they dont jive up this can cause problems
Lastly, the /.rhosts will make 0 difference to NFS. NFS could care less about that file, and does not use security the same way as remsh, rexec, rlp, etc...
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 04:50 PM
09-24-2002 04:50 PM
Re: Nfs mount to Tru64
1. Make sure that the hostname is being resolved correctly. It helps to put in the IP address of the host into the access list of allowed hosts.
I have attempted this mount using both the hostname and its static IP. Also, I have confirmed DNS entries exist and have also indicated on the DGUX Server that the only host allowed access to the filesystem I am trying to mount by editing the /etc/exports file and adding -access=subhp5.
2. If your trying to mount via automounter instead of the mount command you need to do as someone else mentioned and configure the /etc/rc.config.d/nfsconf file and set AUTOFS=1
The default automount does not understand NFSv3 to the best of my knowledge.
Not using the automounter.
3. rerun exportfs -a on the NFS server to ensure that any changes to the exports file are updated. I know with true64 in it's onset I had to exportfs -u -a ; exportfs -a to make things update.
To my knowledge, I have not been able to locate the exportfs command in DGUX 4.0, but I will look again. I did really dig deep on this one.
4. make sure that portmap has not been changed on any system's /etc/services file. If they dont jive up this can cause problems
Nothing has been changed.
Lastly, the /.rhosts will make 0 difference to NFS. NFS could care less about that file, and does not use security the same way as remsh, rexec, rlp, etc...
Wanted to test rlogin to see if there was any outside security issue with allowing the mount to the HP server.
Thanx for the input. I'll let you know if I find the exportfs command in DGUX.
Mike Elleby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 01:19 AM
09-25-2002 01:19 AM
Re: Nfs mount to Tru64
Are you trying to access the nfs share as root ?
Try exporting the NFS with anon=0 option from
DGUX .
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 02:00 AM
09-25-2002 02:00 AM
Re: Nfs mount to Tru64
To save you looking, exportfs does not exist in Tru-64. Showmount -e is the nearest equivalent.
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 03:22 AM
09-25-2002 03:22 AM
Re: Nfs mount to Tru64
The client's IP address has to be resolved to a valid hostname on the server, either DNS or /etc/hosts or NIS. I don't think putting IP adresses in the exports file works. If the client's IP address is resolved to a DNS name, you should put the fully qualified domain name in /etc/exports, i.e. host part + domain part, for example subhp5.hp.com, and not only subhp5.
If that still doesn't work, you can try granting access to everyone. That SHOULD work if the IP address is resolved to a name. Try typing "nslookup ip_address_of_client" on the server to see how the client's address is resolved. You can try adding an entry for the client in the server's hosts file too. And finally, check the server's name resolution policy in /etc/svc.conf (the Digital UNIX equivalent of /etc/nsswitch.conf).
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 03:51 AM
09-25-2002 03:51 AM
Re: Nfs mount to Tru64
U. Siva - I had already tried this option, to no avail.
Keely - Was leaning toward it, since I could not find an exportfs command in the DGUX 4.0 ref pages. After Shannon's comment, I figured I might have overlooked it..
Olivier - DNS resolution works without issues. The only time I would use the IP address, is in my mount command. My current showmount shows that any exported filesystem grants access to everyone. Lastly name resolution policy in /etc/svc.conf is local,bind,yp..
Thanx for the input guys... Still banging away at this one...
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 06:09 AM
09-25-2002 06:09 AM
Re: Nfs mount to Tru64
A free nfsd thread needs to exist for a client to connect to a server.
Try
ps axml | grep nfs
if there is an I next to nfs_udp or nfs_tcp there is an idle thread. If all your threads are used you will have to increase the number.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 06:18 AM
09-25-2002 06:18 AM
Re: Nfs mount to Tru64
Anyway,
The easiest way to tell how the NFS server is getting the hostname resolution(if it is) is to rlogin to the server from the client and do a 'who -u' to show where the host is accessed from.
For fun tail the system log on the dec while manually trying to mount the filesystem to ensure that no system errors are reported.
Also try to mount the same filesystem a 2nd time on one of the other boxes to ensure that there is no problems.
Also, on the problem client make a new mount point and try the mount there read only.
I.e.
% mkdir /testnfs
% mount -o ro $decserver:/dir /testnfs
If the read only test works, then try again to mount in that same directory with no options.
You can also specify the version of NFS you want to mount with. This may help if the true64 box is requiring NFSv3.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 10:04 PM
09-25-2002 10:04 PM
Re: Nfs mount to Tru64
Try this from DGUX server.
#nslookup xx.xx.xx.xx
where xx.xx.xx.xx is the ip address of the HP workstation.
Now your DNS server should give the DNS name of the IP address.
If not , then it is problem is due to missing PTR records for inverse lookup done by the server when the client tries to access it's nfs mounts.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 11:51 AM
09-26-2002 11:51 AM
Re: Nfs mount to Tru64
I noted that I can export any dir on the dgux box, and I cannot mount it with this particular (subhp5) HP client. I then went to another dgux 4.0 box, and I could mount any exported directories without any issues from this same HPUX client...
I'm still researching..
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2002 05:14 AM
09-27-2002 05:14 AM
Re: Nfs mount to Tru64
Finally got this one resolved. There was a problem with the mountd daemon on the Alphaserver.
Once I restarted this daemon without the minimal options (-i (internet address verification), and -n (allow non-root mount requests), the mount worked.
However, when I once again restarted the daemon with the minimal options, the mount still worked, so, I guess the prior process was corrupted somehow.
Mike.