<?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: nfs server in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770382#M90398</link>
    <description>Did you start 'portmap' before or after 'nfs' ?&lt;BR /&gt;&lt;BR /&gt;It's very important that Portmap is started first.&lt;BR /&gt;&lt;BR /&gt;That being said, if you run the command 'rpcinfo -p', what does it report?</description>
    <pubDate>Wed, 24 Jul 2002 05:43:39 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2002-07-24T05:43:39Z</dc:date>
    <item>
      <title>nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770377#M90393</link>
      <description>Hi there,&lt;BR /&gt;i want to enable nfs server on my redhat 7.2 box in order to export a directory.&lt;BR /&gt;I'm not sure if during installation i have installed nfs, however there's installed nfs-utils-0.3.1-13. I checked if there's a nfs-server installed but it doesn't seem to be.&lt;BR /&gt;I followed the following steps:&lt;BR /&gt;&lt;BR /&gt;On the server:&lt;BR /&gt;- configured /etc/exports &lt;BR /&gt;/home/tarek   myws(rw)&lt;BR /&gt;-exportfs -a&lt;BR /&gt;- started /etc/rc.d/init.d/nfs daemon. &lt;BR /&gt;&lt;BR /&gt;On the client: (another RH 7.2 box)&lt;BR /&gt;- mkdir /mnt/myws&lt;BR /&gt;- chmod 755 myws&lt;BR /&gt;- mount myws:/home/tarek /mnt/myws&lt;BR /&gt;&lt;BR /&gt;But i get this error:&lt;BR /&gt;mount: RPC: Unable to receive; errno = Connection refused&lt;BR /&gt;&lt;BR /&gt;Am i'm missing something?&lt;BR /&gt;All these actions i've performed them as root.&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Tarek</description>
      <pubDate>Tue, 23 Jul 2002 13:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770377#M90393</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-23T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770378#M90394</link>
      <description>Sorry in the /etc/exports the entry is /home/tarek client(rw).</description>
      <pubDate>Tue, 23 Jul 2002 14:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770378#M90394</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-23T14:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770379#M90395</link>
      <description>Be certain the portmapper is running on the server:&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/portmap start&lt;BR /&gt;&lt;BR /&gt;If that doesn't solve your problem, then you may have a firewall setup (run 'lokkit' as the root user on the server).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 14:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770379#M90395</guid>
      <dc:creator>Craig Kelley</dc:creator>
      <dc:date>2002-07-23T14:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770380#M90396</link>
      <description>hi tarek, &lt;BR /&gt;&lt;BR /&gt;For nfs to work you must have the following&lt;BR /&gt;rpms installed : &lt;BR /&gt;&lt;BR /&gt;[root@hive root]# rpm -qa  |grep nfs&lt;BR /&gt;nfs-utils-0.3.1-13&lt;BR /&gt;[root@hive root]# rpm -qa | grep portmap&lt;BR /&gt;portmap-4.0-38&lt;BR /&gt;&lt;BR /&gt;nfs-utils-0.3.1-13.i386.rpm&lt;BR /&gt;portmap-4.0-38.i386.rpm&lt;BR /&gt;&lt;BR /&gt;install them with rpm -ivh &lt;RPMPACKAGE&gt;. &lt;BR /&gt;&lt;BR /&gt;then you must first start portmap &amp;amp; &lt;BR /&gt;after that nfs&lt;BR /&gt;&lt;BR /&gt;service portmap start&lt;BR /&gt;service nfs start&lt;BR /&gt;&lt;BR /&gt;See also you have the same stuff running&lt;BR /&gt;at your client. &lt;BR /&gt;&lt;BR /&gt;Like mentioned above, if that doesnt work&lt;BR /&gt;check your firewall settings. &lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Steven&lt;/RPMPACKAGE&gt;</description>
      <pubDate>Tue, 23 Jul 2002 15:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770380#M90396</guid>
      <dc:creator>Steven Mertens</dc:creator>
      <dc:date>2002-07-23T15:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770381#M90397</link>
      <description>Ok guys... that was it. Portmap wasn't running and on the server there was the firewall. &lt;BR /&gt;But now i've got another error:&lt;BR /&gt;&lt;BR /&gt;mount: myws:/home/tarek failed, reason given by server: Permission denied&lt;BR /&gt;&lt;BR /&gt;On the server the directory is exported as rw for myws.. &lt;BR /&gt;Another thing just to understand how nfs works under linux. &lt;BR /&gt;Under othere unix systems you can start two services, nfs.client and nfs.server. Here, as i've seen, there's only nfs and you told me to start it also on the client. So, potentially, also my client is a server and it has started the nfsd server daemon, right??&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;Tarek</description>
      <pubDate>Wed, 24 Jul 2002 05:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770381#M90397</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-24T05:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770382#M90398</link>
      <description>Did you start 'portmap' before or after 'nfs' ?&lt;BR /&gt;&lt;BR /&gt;It's very important that Portmap is started first.&lt;BR /&gt;&lt;BR /&gt;That being said, if you run the command 'rpcinfo -p', what does it report?</description>
      <pubDate>Wed, 24 Jul 2002 05:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770382#M90398</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-24T05:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770383#M90399</link>
      <description>Portmap was started first, however i did it again but I got the same error.&lt;BR /&gt;rpcinfo -p&lt;BR /&gt;program vers proto port&lt;BR /&gt;100000  2  tcp  111 portmapper&lt;BR /&gt;100000  2  udp  111 portmapper&lt;BR /&gt;100011  1  udp  967 rquotad&lt;BR /&gt;100011  2  udp  967  rquotad&lt;BR /&gt;100011  1  tcp  970  rquotad&lt;BR /&gt;100011  2  tcp  970  rquotad&lt;BR /&gt;100005  3  udp  32877  mountd&lt;BR /&gt;100005  3  tcp  50511  mountd&lt;BR /&gt;100003  2  udp   2049  nfs&lt;BR /&gt;100003  3  udp   2049  nfs&lt;BR /&gt;100021  1  udp  32878 nlockmgr&lt;BR /&gt;100021  3  udp  32878 nlockmgr&lt;BR /&gt;100021  4  udp  32878 nlockmgr</description>
      <pubDate>Wed, 24 Jul 2002 05:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770383#M90399</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-24T05:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770384#M90400</link>
      <description>Ok, that looks good.  NFS 2 and 3.. &lt;BR /&gt;&lt;BR /&gt;Now, you mentioned somewhere above that you've got a firewall in place.  That command lists the ports that the various servers are listening on.  Are they being blocked by your firewall?&lt;BR /&gt;&lt;BR /&gt;It's probably going to come down to resolving however.  You've used the name 'myws'.  Make sure that the name you use int he exports file is what your NFS server thinks it is.  You might need to play with FQDN's to get it right.&lt;BR /&gt;&lt;BR /&gt;If that still doesn't work, umm.. Have you read the NFS howto? :)</description>
      <pubDate>Wed, 24 Jul 2002 06:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770384#M90400</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-24T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770385#M90401</link>
      <description>oops.. there was an error in the /etc/exports file. &lt;BR /&gt;Now everything's ok... thanks for your help.&lt;BR /&gt;Tarek&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2002 07:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770385#M90401</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-24T07:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770386#M90402</link>
      <description>..still a problem.&lt;BR /&gt;I mount the directory as root and i want that user oracle can work on that directory.&lt;BR /&gt;On the server the directory is oracle's property, while on the client it's tarek property.&lt;BR /&gt;Now i've seen that on the server there are these id's:&lt;BR /&gt;oracle:502:302&lt;BR /&gt;tarek:500:300&lt;BR /&gt;On the client:&lt;BR /&gt;oracle:300:302&lt;BR /&gt;tarek:502:100&lt;BR /&gt;So I think the problem is id's related.&lt;BR /&gt;Now is there a way to change id's without causing problems to the system?? I want that the match exactly on the two ws. If i change them i have to make a chown -R on all files right? Can this be done automatically while i modify id's?&lt;BR /&gt;Thanks again..&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2002 07:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770386#M90402</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-24T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770387#M90403</link>
      <description>hi Tarek ,&lt;BR /&gt;&lt;BR /&gt;When you use nfs, the savest is always &lt;BR /&gt;use the same uid and gid for users on all&lt;BR /&gt;your systems. If you change the ownership&lt;BR /&gt;off the nfsmounted fs on the client to &lt;BR /&gt;oracle , you will see on the server that &lt;BR /&gt;the owersship changed to the uid of user oracle on the client. &lt;BR /&gt;I would change the uid on the client from &lt;BR /&gt;user oracle. &lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Wed, 24 Jul 2002 18:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770387#M90403</guid>
      <dc:creator>Steven Mertens</dc:creator>
      <dc:date>2002-07-24T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: nfs server</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770388#M90404</link>
      <description>Yup.  Changing UID's on the machine with the last amount of stuff using the files is the best..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;find . -user &lt;OLDID&gt; -exec chown &lt;NEWID&gt; {} \;&lt;BR /&gt;&lt;BR /&gt;could always be useful..  Don't forget groups.&lt;/NEWID&gt;&lt;/OLDID&gt;</description>
      <pubDate>Wed, 24 Jul 2002 22:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-server/m-p/2770388#M90404</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-24T22:29:33Z</dc:date>
    </item>
  </channel>
</rss>

