List Info

Thread: nfs mount




nfs mount
user name
2006-04-29 20:53:16
I try to mount a nfs share over internet between two openbsd
servers.

As faq describes rpcinfo -p on server should show that
mountd listen
at "udp: 633 and tcp: 916"
But I get,
bkwoden:~/ > rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    685  mountd
    100005    3   udp    685  mountd
    100005    1   tcp    939  mountd
    100005    3   tcp    939  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs

when I try to mount from client I get:
# showmount -e oden.lindesign.se
showmount: clnttcp_create: RPC: Port mapper failure - RPC:
Timed out
# mount -t nfs 194.17.154.112:backup_loke backup_loke/
NFS Portmap: RPC: Port mapper failure - RPC: Timed out

my pf.conf lines on the server are:
bkwoden:~/ > sudo tail -n 3 /etc/pf.conf
pass in log on $ext_if proto tcp from 81.170.235.54 to port
nfs keep state
pass in log on $ext_if proto tcp from 81.170.235.54 to port
portmap keep state
pass in log on $ext_if proto {tcp,udp} from 81.170.235.54 to
port
{685,939} keep state

bkwoden:~/ > tail -n 1 /etc/exports
/home/backup_loke -maproot=bkw 81.170.235.54

I know that my ISP doesn't block any of the ports, I can
telnet to all
three of them. I do logging from where I can see
action(pass) when I
try to telnet to any of the three ports from client. But
when I do try
to mount I don't get any output in my pflog.

I'm on 3.8 release

any ideas are welcome
/bkw

nfs mount
user name
2006-04-30 08:07:01
solved

/bkw

On 29/04/06, Bachman Kharazmi <bahkhagmail.com> wrote:
> I try to mount a nfs share over internet between two
openbsd servers.
>
> As faq describes rpcinfo -p on server should show that
mountd listen
> at "udp: 633 and tcp: 916"
> But I get,
> bkwoden:~/ > rpcinfo -p
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100005    1   udp    685  mountd
>     100005    3   udp    685  mountd
>     100005    1   tcp    939  mountd
>     100005    3   tcp    939  mountd
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>
> when I try to mount from client I get:
> # showmount -e oden.lindesign.se
> showmount: clnttcp_create: RPC: Port mapper failure -
RPC: Timed out
> # mount -t nfs 194.17.154.112:backup_loke backup_loke/
> NFS Portmap: RPC: Port mapper failure - RPC: Timed out
>
> my pf.conf lines on the server are:
> bkwoden:~/ > sudo tail -n 3 /etc/pf.conf
> pass in log on $ext_if proto tcp from 81.170.235.54 to
port nfs keep state
> pass in log on $ext_if proto tcp from 81.170.235.54 to
port portmap keep state
> pass in log on $ext_if proto {tcp,udp} from
81.170.235.54 to port
> {685,939} keep state
>
> bkwoden:~/ > tail -n 1 /etc/exports
> /home/backup_loke -maproot=bkw 81.170.235.54
>
> I know that my ISP doesn't block any of the ports, I
can telnet to all
> three of them. I do logging from where I can see
action(pass) when I
> try to telnet to any of the three ports from client.
But when I do try
> to mount I don't get any output in my pflog.
>
> I'm on 3.8 release
>
> any ideas are welcome
> /bkw

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )