You are not logged in.

#1 2009-06-28 20:26:00

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

[Solved] portmap -> rpcbind problem: auto-mount in fstab fails

I upgraded my system yesterday (replaceing portmap & etc., with rpcbind) and my workstation no longer auto-mounts from the fstab.

I can mount them from the command line.

Is there some additional step I need to perform?

The daemon line in the rc.conf is:

DAEMONS=(syslog-ng network hal rpcbind fam alsa nfs-common nfs-server crond !kdm)

The lines in the fstab file are:

lx3100:/home/net    /mnt/lx3100/net        nfs    bg,hard,rsize=32768,wsize=8192,intr,nosuid,rw 0 0
lx3100:/home/office    /mnt/lx3100/office    nfs    bg,hard,rsize=32768,wsize=8192,intr,nosuid,rw 0 0
lx3100:/home/stor    /mnt/lx3100/stor    nfs    bg,hard,rsize=32768,wsize=8192,intr,nosuid,rw 0 0
lx3100:/home/media    /mnt/lx3100/media    nfs    bg,hard,rsize=32768,wsize=8192,intr,nosuid,rw 0 0

Any advice anyone?

Thanks in advance.

Last edited by cmhood (2009-06-28 22:56:10)

Offline

#2 2009-06-28 21:45:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] portmap -> rpcbind problem: auto-mount in fstab fails

Assuming the DAEMONS array and the fstab file you posted are from the same machine, you need to add netfs to the DAEMONS array to automount network file systems.

An unrelated observation - if they are from the same machine, then that machine is both nfs client and nfs server simultaneously, as you are running the nfs-server daemon and mounting nfs shares in your fstab. There is nothing wrong with that, but it would be considered unusual.

Offline

#3 2009-06-28 22:55:05

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

Re: [Solved] portmap -> rpcbind problem: auto-mount in fstab fails

Thank you for that advice (I did not find that in the Wiki)

Both files (fstab & rc.conf) are from the same machine, the workstation.  The server is named lx3100.

I replaced the nfs-server (i'm not exporting anything from the workstation) with netfs and auto-mount works again. 

Thanks again.

Offline

#4 2009-06-29 05:53:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] portmap -> rpcbind problem: auto-mount in fstab fails

cmhood wrote:

Thank you for that advice (I did not find that in the Wiki)

It's on the NFS page, in the "Auto-mount on boot" section.

Offline

#5 2009-06-29 16:21:36

cmhood
Member
From: Portland, Oregon
Registered: 2004-01-06
Posts: 15

Re: [Solved] portmap -> rpcbind problem: auto-mount in fstab fails

I see that now, but I'm sure it was not there last year when I set up my workstation. 

(Looks like the information was added in December 08.)

So why was it optional with portmap but not with rpcbind?

Offline

Board footer

Powered by FluxBB