- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: automounter / NFS
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
Discussions
Discussions
Forums
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
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-23-2009 07:55 AM
тАО09-23-2009 07:55 AM
long day and it seems i can't find the problem, perhaps someone can shed light on my foggy brain.
HPUX 11.23 Server: ux001
/etc/exports:
============
/usr/sap/trans root=ux001:ux002:lx001
/sapmnt/TST/profile root=lx001
/sapmnt/TST/global root=lx001
showmount -e:
============
/usr/sap/trans root=ux001:ux002:lx001
/sapmnt/TST/profile root=lx001
/sapmnt/TST/global root=lx001
Linux box: lx001
/etc/auto.master
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
#/smb /etc/auto.smb
#/misc /etc/auto.misc
#/net /etc/auto.net
/tsttrans /etc/auto.trans
/etc/auto.trans
===============
trans_TST -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/usr/sap/trans
profile -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/sapmnt/TST/profile
global -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/sapmnt/TST/global
Autofs is running and i already tryed restarting as well as reexporting all on ux001.
Now the Problem, on lx001 (the Linux box)
lx001:/ # cd /tsttrans/trans_TST
lx001:/bwptrans/trans_BWP # df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
ux001:/usr/sap/trans
14680064 10179584 4219264 71% /tsttrans/trans_TST
Nice one, works :-)
Same Procedure
lx001:/ # cd /txttrans/profile
-bash: cd: /txttrans/profile: No such file or directory
lx001:/ # cd /tsttrans/global
-bash: cd: /tsttrans/global: No such file or directory
Trying to mount it manually:
lx001:~ # mount -t nfs ux001:/sapmnt/TST/global /mnt
mount: ux001:/sapmnt/TST/global failed, reason given by server: Permission denied
Any ideas or suggestion?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 08:05 AM
тАО09-23-2009 08:05 AM
Re: automounter / NFS
>> lx001:/bwptrans/trans_BWP # df -k .
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> ux001:/usr/sap/trans
14680064 10179584 4219264 71% /tsttrans/trans_TST
This should be read as:
lx001:/ # cd /tsttrans/trans_TST
lx001:/tsttrans/trans_TST # df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
ux001:/usr/sap/trans
14680064 10179584 4219264 71% /tsttrans/trans_TST
Just to confuse everybody :-x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 09:21 AM
тАО09-23-2009 09:21 AM
Re: automounter / NFS
if yes, just a suggestion ,did you try this:
/etc/exports:
============
/usr/sap/trans
/sapmnt/TST/profile
/sapmnt/TST/global
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 09:33 AM
тАО09-23-2009 09:33 AM
Re: automounter / NFS
Yes, you are right.
Now the strange part - it works with
/etc/exports:
============
/usr/sap/trans root=ux001:ux002:lx001
/sapmnt/TST/profile
/sapmnt/TST/global
Now the big question - why?
From the man page:
root=hostname[:hostname]...
Give root access only to the root users from a specified hostname. The default is for no hosts to be granted root access.
Now i have 1 export working with the root option and 2 only working without it.
I have no idea where or what to look for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 09:49 AM
тАО09-23-2009 09:49 AM
Re: automounter / NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 01:29 PM
тАО09-23-2009 01:29 PM
Re: automounter / NFS
Anyone else has an idea why it works only partially?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 02:31 PM
тАО09-23-2009 02:31 PM
Re: automounter / NFS
# ps -e | grep rpc.mountd
2073 ? 0:00 rpc.mountd
# kill -17 2073
# ll /var/adm/mountd.log
-rw-r--r-- 1 root root 66689 Sep 23 15:31 /var/adm/mountd.log
Once debug logging is enabled try the working and failing mounts again and then turn off debug logging by sending the same PID another kill -17. The /var/adm/mountd.log file will hopefully give some clues as to why the server is granting one mount request and failing the others.
Regards,
Dave
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2009 12:52 AM
тАО09-24-2009 12:52 AM
Re: automounter / NFS
thanks for the suggestion - first try i found entries pointing to different hostnames, due to this fact i changed the exports to the following:
/etc/exports
============
/SMART/TST -anon=65534,root=ux003:ux004,access=ux003:ux004 <-- works, nothing todo with the problem
/usr/sap/trans root=ux001:ux002:lx001 <-- works as expected
/sapmnt/TST/profile root=lx001.mydomain.com <-- does not work
/sapmnt/TST/global root=lx001 <-- does not work
Attached is the debug from that configuration trying to switch in all 3 directories, if you could be so kind and have a look at it - i don't find something self-explanatory.
After that i tryed using the working options:
/etc/exports
============
/SMART/TST -anon=65534,root=ux003:ux004,access=ux003:ux004 <-- works, nothing todo with the problem
/usr/sap/trans root=ux001:ux002:lx001 <-- works as expected
/sapmnt/TST/profile root=ux001:ux002:lx001 <-- works
/sapmnt/TST/global root=ux001:ux002:lx001 <-- works <-- does not work
To be honest, i don't get it ...
Any help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2009 01:02 AM
тАО09-24-2009 01:02 AM
Re: automounter / NFS
http://hpux.de/tmp/mountd.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2009 09:35 AM
тАО09-24-2009 09:35 AM
Re: automounter / NFS
http://www.itrc.hp.com/service/patch/mainPage.do