Setting NFS server on Fedora Core 9

2009-06-25 Thread Ori Idan
I am trying to set an NFS server (for a local network) on fedora 9
I have exported the directory in /etc/exports
I have started rpcbind and nfs
From another computer (in this case running Ubuntu) I tried mounting the
directory. After few seconds I got an error mount.nfs mount system call
failed

I googled for guides on NFS on fedora and it seems I did everything fine and
it still does not work.
Does anyone have any idea?

-- 
Ori Idan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Dotan Shavit
On Thursday 25 June 2009, Ori Idan wrote:
 I am trying to set an NFS server (for a local network) on fedora 9
 I have exported the directory in /etc/exports
 I have started rpcbind and nfs

 From another computer (in this case running Ubuntu) I tried mounting the

 directory. After few seconds I got an error mount.nfs mount system call
 failed

 I googled for guides on NFS on fedora and it seems I did everything fine
 and it still does not work.
 Does anyone have any idea?
FW ?

#



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Ori Idan
I have checked again and made sure firewall is disabled and still get the
same problem.

-- 
Ori Idan


On Thu, Jun 25, 2009 at 2:33 PM, Dotan Shavit do...@shavitos.com wrote:

 On Thursday 25 June 2009, Ori Idan wrote:
  I am trying to set an NFS server (for a local network) on fedora 9
  I have exported the directory in /etc/exports
  I have started rpcbind and nfs
 
  From another computer (in this case running Ubuntu) I tried mounting the
 
  directory. After few seconds I got an error mount.nfs mount system call
  failed
 
  I googled for guides on NFS on fedora and it seems I did everything fine
  and it still does not work.
  Does anyone have any idea?
 FW ?

 #



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread shimi
2009/6/25 Ori Idan o...@helicontech.co.il

 I am trying to set an NFS server (for a local network) on fedora 9
 I have exported the directory in /etc/exports
 I have started rpcbind and nfs
 From another computer (in this case running Ubuntu) I tried mounting the
 directory. After few seconds I got an error mount.nfs mount system call
 failed

 I googled for guides on NFS on fedora and it seems I did everything fine
 and it still does not work.
 Does anyone have any idea?

 --
 Ori Idan



Maybe dmesg output on both sides to see if there's anything interesting?

Of course, we assume that you checked that normal connectivity works (ping,
ssh, etc). Note that FW can be on both ends.

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Dotan Shavit
On Thursday 25 June 2009, Ori Idan wrote:
 I have checked again and made sure firewall is disabled and still get the
 same problem.
First try mounting from the same machine.
And... check the log files...

#

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Rami Rosen
Ori,

 1) can you post here the output of your mounting trial with verbose mode:
(mount -v) ?

(and the exact mount options you are using)

2) Also : can you post /etc/exports ?

Best Regards,
Rami Rosen

On Thu, Jun 25, 2009 at 2:46 PM, Dotan Shavitdo...@shavitos.com wrote:
 On Thursday 25 June 2009, Ori Idan wrote:
 I have checked again and made sure firewall is disabled and still get the
 same problem.
 First try mounting from the same machine.
 And... check the log files...

 #

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Noam Meltzer
Try to see that RPC is working properly  the shares are really exported:

from the server run:
rpcinfo -p 0 (shows RPC) - check for NFS entries
showmount -e 0 - check that you see the shares you expect

from the client run the same commands just with the IP address of the server
instead of 0

sometimes /var/log/messages on the server can be useful as well, for
instance when you have permissions problems because of bad DNS
configurations.

On Thu, Jun 25, 2009 at 3:01 PM, Rami Rosen rosenr...@gmail.com wrote:

 Ori,

  1) can you post here the output of your mounting trial with verbose mode:
 (mount -v) ?

 (and the exact mount options you are using)

 2) Also : can you post /etc/exports ?

 Best Regards,
 Rami Rosen

 On Thu, Jun 25, 2009 at 2:46 PM, Dotan Shavitdo...@shavitos.com wrote:
  On Thursday 25 June 2009, Ori Idan wrote:
  I have checked again and made sure firewall is disabled and still get
 the
  same problem.
  First try mounting from the same machine.
  And... check the log files...
 
  #
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Valery Reznic



--- On Thu, 6/25/09, Ori Idan o...@helicontech.co.il wrote:

 From: Ori Idan o...@helicontech.co.il
 Subject: Setting NFS server on Fedora Core 9
 To: IGLU Mailing list linux-il@cs.huji.ac.il
 Date: Thursday, June 25, 2009, 2:27 PM
 I am trying to set an
 NFS server (for a local network) on fedora 9
 I have exported the directory in /etc/exports
 I have started rpcbind and nfs 
 From another computer (in this case running Ubuntu) I tried
 mounting the directory. After few seconds I got an error
 mount.nfs mount system call failed
 
 
 I googled for guides on NFS on fedora and it seems I did
 everything fine and it still does not work.
 Does anyone have any idea?
Has NFS server anything interesting in it's log files ?

Valery

 -- 
 Ori Idan
 
 
 
 -Inline Attachment Follows-
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 


  

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Oron Peled
On 25.06.2009 Ori Idan wrote:
 I am trying to set an NFS server (for a local network) on fedora 9
 I have exported the directory in /etc/exports
 I have started rpcbind and nfs
 From another computer (in this case running Ubuntu) I tried mounting the
 directory. After few seconds I got an error mount.nfs mount system call
 failed

First let's test the network end-to-end. From the client:
  $ rpcinfo -t server 15
  program 15 version 1 ready and waiting
  program 15 version 2 ready and waiting
  program 15 version 3 ready and waiting
  $ rpcinfo -u server 15
  program 15 version 1 ready and waiting
  program 15 version 2 ready and waiting
  program 15 version 3 ready and waiting

Than repeat the test for the nfs protocol itself (use 13 instead
of 15).

These tests send a null request and test the result. If they pass:
 * No need to test connectivity or firewall.
 * No need to test rpcbind work OK.
 * No need to test that the service itself is OK.
 * Just config/permission problems.
If they fail, you now have a list of what to test...

One last note -- Fedora-9 is EOL in ~two weeks. Better plan your
upgrade/replacement path (I already upgraded all my hosts to F11)

Cheers,

-- 
Oron Peled Voice: +972-4-8228492
o...@actcom.co.il  http://www.actcom.co.il/~oron
The speed of light really is too slow nowdays. -- Alan Cox 


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Setting NFS server on Fedora Core 9

2009-06-25 Thread Ori Idan
It's all working now.
The problem was firewall only.

-- 
Ori Idan


On Thu, Jun 25, 2009 at 8:55 PM, Oron Peled o...@actcom.co.il wrote:

 On 25.06.2009 Ori Idan wrote:
  I am trying to set an NFS server (for a local network) on fedora 9
  I have exported the directory in /etc/exports
  I have started rpcbind and nfs
  From another computer (in this case running Ubuntu) I tried mounting the
  directory. After few seconds I got an error mount.nfs mount system call
  failed

 First let's test the network end-to-end. From the client:
  $ rpcinfo -t server 15
  program 15 version 1 ready and waiting
  program 15 version 2 ready and waiting
  program 15 version 3 ready and waiting
  $ rpcinfo -u server 15
  program 15 version 1 ready and waiting
  program 15 version 2 ready and waiting
  program 15 version 3 ready and waiting

 Than repeat the test for the nfs protocol itself (use 13 instead
 of 15).

 These tests send a null request and test the result. If they pass:
  * No need to test connectivity or firewall.
  * No need to test rpcbind work OK.
  * No need to test that the service itself is OK.
  * Just config/permission problems.
 If they fail, you now have a list of what to test...

 One last note -- Fedora-9 is EOL in ~two weeks. Better plan your
 upgrade/replacement path (I already upgraded all my hosts to F11)

 Cheers,

 --
 Oron Peled Voice: +972-4-8228492
 o...@actcom.co.il  
 http://www.actcom.co.il/~oronhttp://www.actcom.co.il/%7Eoron
 The speed of light really is too slow nowdays. -- Alan Cox


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il