Re: Problem with OpenBSD as nfs client

2018-04-30 Thread philipper01
Thank you so much Eike

mount_nfs -T works perfectly.

So i added TCP option in my fstab and all my shares are automatically
mounted.

Philippe



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Problem with OpenBSD as nfs client

2018-04-30 Thread Rupert Gallagher
> /home/filip/Documents 192.168.1.1238

1238?


Re: Problem with OpenBSD as nfs client

2018-04-30 Thread Eike Lantzsch
On Sunday, April 29, 2018 10:36:22 AM -04 philipper01 wrote:
> I had a cpy/paste mistake
> 
> my exports file is :
> > /home/filip/Documents 192.168.1.128 (rw)
> > /home/filip/Public 192.168.1.128 (rw)

To be sure that I misunderstand you correctly:
192.168.1.128 is the ip of your OpenBSD 6.3 client?

Can you please try with
/home/filip/Documents 192.168.1 rw
/home/filip/Public 192.168.1 rw
no ()

also try mount_nfs -3 ...
or mount_nfs -2 ...
and also with -U xor -T

To see if your client side is correct you might want to install a second OBSD 
virtual machine with nfsd, export something like /home/filip/test and see if 
you can connect. 

Have success!

> and the output of rpcinfo :
> 
> filip@openbsd:~$ rpcinfo -p 192.168.1.85
>program vers proto   port
> 104   tcp111  portmapper
> 103   tcp111  portmapper
> 102   tcp111  portmapper
> 104   udp111  portmapper
> 103   udp111  portmapper
> 102   udp111  portmapper
> 1000241   udp  51927  status
> 1000241   tcp  46983  status
> 151   udp  20048  mountd
> 151   tcp  20048  mountd
> 152   udp  20048  mountd
> 152   tcp  20048  mountd
> 153   udp  20048  mountd
> 153   tcp  20048  mountd
> 133   tcp   2049  nfs
> 134   tcp   2049  nfs
> 1002273   tcp   2049
> 1000211   udp  37969  nlockmgr
> 1000213   udp  37969  nlockmgr
> 1000214   udp  37969  nlockmgr
> 1000211   tcp  45991  nlockmgr
> 1000213   tcp  45991  nlockmgr
> 1000214   tcp  45991  nlockmgr

No te being a real nfs expert (always worked out-of-the-box except for when I 
did some typos in config files), that looks correct to me
-- 
Eike Lantzsch ZP6CGE



Re: Problem with OpenBSD as nfs client

2018-04-30 Thread vandung
Hi Philipper01,

I am no expert in NFS.

Your OpenBSD NFS client looks to call a different IP that the described
Fedora workstation.

Cheers,

Van Dung



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Problem with OpenBSD as nfs client

2018-04-30 Thread Stuart Longland
On 29/04/18 19:22, philipper01 wrote:
> First, im new with OpenBSD 6.3 that i run in Virtualbox.
> 
> I try to setup a NFS share :
> server is Fedora workstation 28
>  - exports file looks like this
> /home/filip/Documents 192.168.1.1238 (rw)
> /home/filip/Public 192.168.1.128 (rw)
> Of course NFS is active on the server
> 
> client is Openbsd 6.3 and i have this message when i try to mount a share :
> 
> filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents
> /mnt/nfs_Documents/
> NFS Portmap: RPC: Program not registered
> 
> I will be happy to find a solution after long time on google without succes.
> Thanks for help

This might be a silly question, but have you succeeded in getting *any*
NFS client to talk to your server?  A Fedora-based VM perhaps?

Let's prove the server is working as expected, if it isn't, you might be
able to get assistance from the Fedora side.  I myself can't really help
here as I basically stopped using Red Hat-derived distributions shortly
before Fedora Core 1 was released.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



Re: Problem with OpenBSD as nfs client

2018-04-29 Thread philipper01
I had a cpy/paste mistake 

my exports file is :
 
> /home/filip/Documents 192.168.1.128 (rw)
> /home/filip/Public 192.168.1.128 (rw)

and the output of rpcinfo :
 
filip@openbsd:~$ rpcinfo -p 192.168.1.85
   program vers proto   port
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
1000241   udp  51927  status
1000241   tcp  46983  status
151   udp  20048  mountd
151   tcp  20048  mountd
152   udp  20048  mountd
152   tcp  20048  mountd
153   udp  20048  mountd
153   tcp  20048  mountd
133   tcp   2049  nfs
134   tcp   2049  nfs
1002273   tcp   2049
1000211   udp  37969  nlockmgr
1000213   udp  37969  nlockmgr
1000214   udp  37969  nlockmgr
1000211   tcp  45991  nlockmgr
1000213   tcp  45991  nlockmgr
1000214   tcp  45991  nlockmgr




--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Problem with OpenBSD as nfs client

2018-04-29 Thread philipper01
Hi,

First, im new with OpenBSD 6.3 that i run in Virtualbox.

I try to setup a NFS share :
server is Fedora workstation 28
 - exports file looks like this
/home/filip/Documents 192.168.1.1238 (rw)
/home/filip/Public 192.168.1.128 (rw)
Of course NFS is active on the server

client is Openbsd 6.3 and i have this message when i try to mount a share :

filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents
/mnt/nfs_Documents/
NFS Portmap: RPC: Program not registered

I will be happy to find a solution after long time on google without succes.
Thanks for help
Philippe.



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Problem with OpenBSD as nfs client

2018-04-29 Thread Ken M
Best guess the problem is selinux on the fedora side.

Try setting it to permissive and if that solves the problem.

If that does solve the problem you need to analyze what to change in 
selinux not just leave it at permissive. Sorry I forget the exact commands 
but they can be found with a quick google search.

Ken



> On Apr 29, 2018, at 8:48 AM, Eike Lantzsch  wrote:
> 
>> On Sunday, April 29, 2018 2:14:23 PM -04 philippe@laposte.net wrote:
>> Hi,
>> 
>> First, im new with OpenBSD 6.3 that i run in Virtualbox.
>> 
>> I try to setup a NFS share :
>> server is Fedora workstation 28
>> - exports file looks like this
>> /home/filip/Documents 192.168.1.1238 (rw)
>> /home/filip/Public 192.168.1.128 (rw)
>> Of course NFS is active on the server
>> 
>> client is Openbsd 6.3 and i have this message when i try to mount a share :
>> 
>> filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents
>> /mnt/nfs_Documents/ NFS Portmap: RPC: Program not registered
>> 
>> I will be happy to find a solution after long time on google without succes.
>> Thanks for help
>> Philippe.
> 
> Sorry Philippe, but I have no knowledge of Fedora but what does your OBSD on 
> Virtualbox say about:
> rpcinfo -p 192.168.1.85
> 
> Which version of nfs is running on Fedora and is the portmapper running?
> The following discussion might be of help:
> https://forums.fedoraforum.org/showthread.php?186999-NFS-mounting-problems-quot-RPC-Error-Program-not-registered-quot
> 
> I wish you success
> Eike
> -- 
> Eike Lantzsch ZP6CGE
> 
> You can’t have your π and eat it.
> 



Re: Problem with OpenBSD as nfs client

2018-04-29 Thread Eike Lantzsch
On Sunday, April 29, 2018 2:14:23 PM -04 philippe@laposte.net wrote:
> Hi,
> 
> First, im new with OpenBSD 6.3 that i run in Virtualbox.
> 
> I try to setup a NFS share :
> server is Fedora workstation 28
> - exports file looks like this
> /home/filip/Documents 192.168.1.1238 (rw)
> /home/filip/Public 192.168.1.128 (rw)
> Of course NFS is active on the server
> 
> client is Openbsd 6.3 and i have this message when i try to mount a share :
> 
> filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents
> /mnt/nfs_Documents/ NFS Portmap: RPC: Program not registered
> 
> I will be happy to find a solution after long time on google without succes.
> Thanks for help
> Philippe.

Sorry Philippe, but I have no knowledge of Fedora but what does your OBSD on 
Virtualbox say about:
rpcinfo -p 192.168.1.85

Which version of nfs is running on Fedora and is the portmapper running?
The following discussion might be of help:
https://forums.fedoraforum.org/showthread.php?186999-NFS-mounting-problems-quot-RPC-Error-Program-not-registered-quot

I wish you success
Eike
-- 
Eike Lantzsch ZP6CGE

You can’t have your π and eat it.



Re: Problem with OpenBSD as nfs client

2018-04-29 Thread Solene Rapenne

philippe@laposte.net writes:

> Hi, 
>
> First, im new with OpenBSD 6.3 that i run in Virtualbox. 
>
> I try to setup a NFS share : 
> server is Fedora workstation 28 
> - exports file looks like this 
> /home/filip/Documents 192.168.1.1238 (rw) 
> /home/filip/Public 192.168.1.128 (rw) 
> Of course NFS is active on the server 
>
> client is Openbsd 6.3 and i have this message when i try to mount a share : 
>
> filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents 
> /mnt/nfs_Documents/ 
> NFS Portmap: RPC: Program not registered 
>
> I will be happy to find a solution after long time on google without succes. 
> Thanks for help 
> Philippe. 

Something is wrong on your NFS server



Problem with OpenBSD as nfs client

2018-04-29 Thread philippe . r01
Hi, 

First, im new with OpenBSD 6.3 that i run in Virtualbox. 

I try to setup a NFS share : 
server is Fedora workstation 28 
- exports file looks like this 
/home/filip/Documents 192.168.1.1238 (rw) 
/home/filip/Public 192.168.1.128 (rw) 
Of course NFS is active on the server 

client is Openbsd 6.3 and i have this message when i try to mount a share : 

filip@openbsd:~$ sudo mount -t nfs 192.168.1.85:/home/filip/Documents 
/mnt/nfs_Documents/ 
NFS Portmap: RPC: Program not registered 

I will be happy to find a solution after long time on google without succes. 
Thanks for help 
Philippe.