<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: automounter / NFS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200403#M463313</link>
    <description>Looking at the logfile data:&lt;BR /&gt;&lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: sourcehost = 'root=lx001.mydomain.com' &lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: targethost = 'lx001.mydomain.com' &lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: return that names differ (no ambiguity) &lt;BR /&gt;&lt;BR /&gt;rpc.mountd believes the system name in question is "root=lx001.mydomain.com" instead of "lx001.mydomain.com".  It is not parsing the root= list properly because there is no separating "-" character.&lt;BR /&gt;&lt;BR /&gt;I think the problem is you're missing a "-" before the "root=" list.  In other words, the export line currently looks like this:&lt;BR /&gt;&lt;BR /&gt;/sapmnt/TST/global root=ux001:ux002:lx001 &lt;BR /&gt;&lt;BR /&gt;and it should look like this:&lt;BR /&gt;&lt;BR /&gt;/sapmnt/TST/global -root=us001:ux002:lx001&lt;BR /&gt;&lt;BR /&gt;Try making sure all the option lists begin with a "-" and see if that solve this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Thu, 24 Sep 2009 16:45:12 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2009-09-24T16:45:12Z</dc:date>
    <item>
      <title>automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200393#M463303</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;long day and it seems i can't find the problem, perhaps someone can shed light on my foggy brain.&lt;BR /&gt;&lt;BR /&gt;HPUX 11.23 Server: ux001&lt;BR /&gt;&lt;BR /&gt;/etc/exports:&lt;BR /&gt;============&lt;BR /&gt;/usr/sap/trans          root=ux001:ux002:lx001&lt;BR /&gt;/sapmnt/TST/profile     root=lx001&lt;BR /&gt;/sapmnt/TST/global      root=lx001&lt;BR /&gt;&lt;BR /&gt;showmount -e:&lt;BR /&gt;============&lt;BR /&gt;/usr/sap/trans      root=ux001:ux002:lx001&lt;BR /&gt;/sapmnt/TST/profile root=lx001&lt;BR /&gt;/sapmnt/TST/global  root=lx001&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Linux box: lx001&lt;BR /&gt;&lt;BR /&gt;/etc/auto.master&lt;BR /&gt;#&lt;BR /&gt;# Sample auto.master file&lt;BR /&gt;# This is an automounter map and it has the following format&lt;BR /&gt;# key [ -mount-options-separated-by-comma ] location&lt;BR /&gt;# For details of the format look at autofs(5).&lt;BR /&gt;#/misc  /etc/auto.misc --timeout=60&lt;BR /&gt;#/smb   /etc/auto.smb&lt;BR /&gt;#/misc  /etc/auto.misc&lt;BR /&gt;#/net   /etc/auto.net&lt;BR /&gt;/tsttrans /etc/auto.trans&lt;BR /&gt;&lt;BR /&gt;/etc/auto.trans&lt;BR /&gt;===============&lt;BR /&gt;trans_TST -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/usr/sap/trans&lt;BR /&gt;profile -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/sapmnt/TST/profile&lt;BR /&gt;global -o vers=3,proto=tcp,rw,hard,intr,bg,nosuid,timeo=200,retrans=5 ux001:/sapmnt/TST/global&lt;BR /&gt;&lt;BR /&gt;Autofs is running and i already tryed restarting as well as reexporting all on ux001.&lt;BR /&gt;&lt;BR /&gt;Now the Problem, on lx001 (the Linux box)&lt;BR /&gt;&lt;BR /&gt;lx001:/ # cd /tsttrans/trans_TST&lt;BR /&gt;lx001:/bwptrans/trans_BWP # df -k .&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;ux001:/usr/sap/trans&lt;BR /&gt;                      14680064  10179584   4219264  71% /tsttrans/trans_TST&lt;BR /&gt;&lt;BR /&gt;Nice one, works :-)&lt;BR /&gt;&lt;BR /&gt;Same Procedure&lt;BR /&gt;&lt;BR /&gt;lx001:/ # cd /txttrans/profile&lt;BR /&gt;-bash: cd: /txttrans/profile: No such file or directory&lt;BR /&gt;&lt;BR /&gt;lx001:/ # cd /tsttrans/global&lt;BR /&gt;-bash: cd: /tsttrans/global: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Trying to mount it manually:&lt;BR /&gt;&lt;BR /&gt;lx001:~ # mount -t nfs ux001:/sapmnt/TST/global /mnt&lt;BR /&gt;mount: ux001:/sapmnt/TST/global failed, reason given by server: Permission denied&lt;BR /&gt;&lt;BR /&gt;Any ideas or suggestion?&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2009 14:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200393#M463303</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-23T14:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200394#M463304</link>
      <description>&amp;gt;&amp;gt; lx001:/ # cd /tsttrans/trans_TST&lt;BR /&gt;&amp;gt;&amp;gt; lx001:/bwptrans/trans_BWP # df -k .&lt;BR /&gt;&amp;gt;&amp;gt; Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;&amp;gt;&amp;gt; ux001:/usr/sap/trans&lt;BR /&gt;                      14680064  10179584   4219264  71% /tsttrans/trans_TST&lt;BR /&gt;&lt;BR /&gt;This should be read as:&lt;BR /&gt;&lt;BR /&gt;lx001:/ # cd /tsttrans/trans_TST&lt;BR /&gt;lx001:/tsttrans/trans_TST # df -k .&lt;BR /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;BR /&gt;ux001:/usr/sap/trans&lt;BR /&gt;                      14680064  10179584   4219264  71% /tsttrans/trans_TST&lt;BR /&gt;&lt;BR /&gt;Just to confuse everybody :-x</description>
      <pubDate>Wed, 23 Sep 2009 15:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200394#M463304</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-23T15:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200395#M463305</link>
      <description>I assume hp-ux is nfs server, am I right ?&lt;BR /&gt;if yes, just a suggestion ,did you try this:&lt;BR /&gt;&lt;BR /&gt;/etc/exports:&lt;BR /&gt;============&lt;BR /&gt;/usr/sap/trans          &lt;BR /&gt;/sapmnt/TST/profile     &lt;BR /&gt;/sapmnt/TST/global</description>
      <pubDate>Wed, 23 Sep 2009 16:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200395#M463305</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-09-23T16:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200396#M463306</link>
      <description>&amp;gt;&amp;gt; I assume hp-ux is nfs server, am I right ?&lt;BR /&gt;&lt;BR /&gt;Yes, you are right.&lt;BR /&gt;&lt;BR /&gt;Now the strange part - it works with&lt;BR /&gt;&lt;BR /&gt;/etc/exports:&lt;BR /&gt;============&lt;BR /&gt;/usr/sap/trans root=ux001:ux002:lx001&lt;BR /&gt;/sapmnt/TST/profile &lt;BR /&gt;/sapmnt/TST/global&lt;BR /&gt;&lt;BR /&gt;Now the big question - why?&lt;BR /&gt;&lt;BR /&gt;From the man page:&lt;BR /&gt;&lt;BR /&gt;root=hostname[:hostname]...&lt;BR /&gt;Give root access only to the root users from a specified hostname.  The default is for no hosts to be granted root access.&lt;BR /&gt;&lt;BR /&gt;Now i have 1 export working with the root option and 2 only working without it.&lt;BR /&gt;&lt;BR /&gt;I have no idea where or what to look for.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2009 16:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200396#M463306</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-23T16:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200397#M463307</link>
      <description>The only thing I am sure that if you take that options out you have an export config that to all systems with read/write access.</description>
      <pubDate>Wed, 23 Sep 2009 16:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200397#M463307</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-09-23T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200398#M463308</link>
      <description>That's the reason why i don't want it :-p&lt;BR /&gt;&lt;BR /&gt;Anyone else has an idea why it works only partially?</description>
      <pubDate>Wed, 23 Sep 2009 20:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200398#M463308</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-23T20:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200399#M463309</link>
      <description>You can try enabling debug rpc.mountd logging on the 11.23 system:&lt;BR /&gt;&lt;BR /&gt;# ps -e | grep rpc.mountd&lt;BR /&gt;  2073 ?         0:00 rpc.mountd&lt;BR /&gt;# kill -17 2073&lt;BR /&gt;# ll /var/adm/mountd.log &lt;BR /&gt;-rw-r--r--   1 root       root         66689 Sep 23 15:31 /var/adm/mountd.log&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 23 Sep 2009 21:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200399#M463309</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2009-09-23T21:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200400#M463310</link>
      <description>&lt;!--!*#--&gt;Hi Dave,&lt;BR /&gt;thanks for the suggestion - first try i found entries pointing to different hostnames, due to this fact i changed the exports to the following:&lt;BR /&gt;&lt;BR /&gt;/etc/exports&lt;BR /&gt;============&lt;BR /&gt;/SMART/TST              -anon=65534,root=ux003:ux004,access=ux003:ux004 &amp;lt;-- works, nothing todo with the problem&lt;BR /&gt;/usr/sap/trans          root=ux001:ux002:lx001 &amp;lt;-- works as expected&lt;BR /&gt;/sapmnt/TST/profile     root=lx001.mydomain.com &amp;lt;-- does not work&lt;BR /&gt;/sapmnt/TST/global      root=lx001 &amp;lt;-- does not work&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;After that i tryed using the working options:&lt;BR /&gt;&lt;BR /&gt;/etc/exports&lt;BR /&gt;============&lt;BR /&gt;/SMART/TST              -anon=65534,root=ux003:ux004,access=ux003:ux004 &amp;lt;-- works, nothing todo with the problem&lt;BR /&gt;/usr/sap/trans          root=ux001:ux002:lx001 &amp;lt;-- works as expected&lt;BR /&gt;/sapmnt/TST/profile     root=ux001:ux002:lx001 &amp;lt;-- works&lt;BR /&gt;/sapmnt/TST/global      root=ux001:ux002:lx001 &amp;lt;-- works &amp;lt;-- does not work&lt;BR /&gt;&lt;BR /&gt;To be honest, i don't get it ... &lt;BR /&gt;&lt;BR /&gt;Any help appreciated.</description>
      <pubDate>Thu, 24 Sep 2009 07:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200400#M463310</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-24T07:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200401#M463311</link>
      <description>Attachment didn't work so please check:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.de/tmp/mountd.log" target="_blank"&gt;http://hpux.de/tmp/mountd.log&lt;/A&gt;</description>
      <pubDate>Thu, 24 Sep 2009 08:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200401#M463311</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-24T08:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200402#M463312</link>
      <description>your problem is weird, maybe you 'd better check patch db for an privilege enhancement ,for example this patch PHCO_32523&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.itrc.hp.com/service/patch/mainPage.do" target="_blank"&gt;http://www.itrc.hp.com/service/patch/mainPage.do&lt;/A&gt;</description>
      <pubDate>Thu, 24 Sep 2009 16:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200402#M463312</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-09-24T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200403#M463313</link>
      <description>Looking at the logfile data:&lt;BR /&gt;&lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: sourcehost = 'root=lx001.mydomain.com' &lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: targethost = 'lx001.mydomain.com' &lt;BR /&gt;09.24 06:16:53  ux001    pid=5868   rpc.mountd &lt;BR /&gt;     rpc.mountd: compare_hostnames_hp: return that names differ (no ambiguity) &lt;BR /&gt;&lt;BR /&gt;rpc.mountd believes the system name in question is "root=lx001.mydomain.com" instead of "lx001.mydomain.com".  It is not parsing the root= list properly because there is no separating "-" character.&lt;BR /&gt;&lt;BR /&gt;I think the problem is you're missing a "-" before the "root=" list.  In other words, the export line currently looks like this:&lt;BR /&gt;&lt;BR /&gt;/sapmnt/TST/global root=ux001:ux002:lx001 &lt;BR /&gt;&lt;BR /&gt;and it should look like this:&lt;BR /&gt;&lt;BR /&gt;/sapmnt/TST/global -root=us001:ux002:lx001&lt;BR /&gt;&lt;BR /&gt;Try making sure all the option lists begin with a "-" and see if that solve this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 24 Sep 2009 16:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200403#M463313</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2009-09-24T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200404#M463314</link>
      <description>&amp;gt;&amp;gt; your problem is weird, maybe you 'd better check patch db for an privilege enhancement ,for example this patch PHCO_32523&lt;BR /&gt;&lt;BR /&gt;I did not check the system, but it's a productive machine with a fixed patch set and if we are lucky the customer give us a downtime once a year ... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Try making sure all the option lists begin with a "-" and see if that solve this.&lt;BR /&gt;&lt;BR /&gt;Gotcha! You're a genius ... that solved it 100% - many thanks, that's one more beer i have to pay if we meet again, send Doug regards from me.</description>
      <pubDate>Thu, 24 Sep 2009 18:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200404#M463314</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-24T18:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200405#M463315</link>
      <description>Problem solved by a missing - as option seperator.&lt;BR /&gt;&lt;BR /&gt;Thanks to all!</description>
      <pubDate>Thu, 24 Sep 2009 18:20:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200405#M463315</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-24T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200406#M463316</link>
      <description>My apologies, but I cannot remember who you are based on your screen name "svo".  I'll never turn down a free beer, but I'm just curious who's paying?  :)&lt;BR /&gt;&lt;BR /&gt;I'll also be happy to pass along your regards to Doug but I'd like to let him know who they're from.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 24 Sep 2009 18:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200406#M463316</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2009-09-24T18:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: automounter / NFS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200407#M463317</link>
      <description>Hint:&lt;BR /&gt;Check denic.de who owns hpux.de ;-)</description>
      <pubDate>Thu, 24 Sep 2009 18:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automounter-nfs/m-p/5200407#M463317</guid>
      <dc:creator>Stephan._1</dc:creator>
      <dc:date>2009-09-24T18:32:17Z</dc:date>
    </item>
  </channel>
</rss>

