You are not logged in.

#1 2004-01-12 03:21:23

drynish
Member
Registered: 2003-10-01
Posts: 33

automount problem without configuration

Hi! smile

I can't go to the example directory /var/autofs/misc /kernel that should connect me to the ftp://ftp.kernel.org/pub/linux NFS share.

I get the following error :

>> mount: RPC: Remote system error - Connection refused
mount(nfs): nfs: mount failure ftp.kernel.org:/pub/linux on /var/autofs/misc/kernel

Here's my hosts.allow:

#
# /etc/hosts.allow
#

SSHD: ALL
portmap: 204.152.189.116   
nfsd: 204.152.189.116   
nfslockd: 204.152.189.116   
lockd: 204.152.189.116   
rquotad: 204.152.189.116   
mountd: 204.152.189.116   
statd: 204.152.189.116   
bftpd: ALL   

# End of file

Here's my rpcinfo -p localhost output:

   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32965  nlockmgr
    100021    3   udp  32965  nlockmgr
    100021    4   udp  32965  nlockmgr
    100021    1   tcp  32838  nlockmgr
    100021    3   tcp  32838  nlockmgr
    100021    4   tcp  32838  nlockmgr
    100005    3   udp    941  mountd
    100005    3   tcp    944  mountd
    100024    1   udp  32966  status
    100024    1   tcp  32839  status

I don't know what to do to get rid of the error...

Thanks smile

Michel

Offline

#2 2004-01-12 10:34:56

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: automount problem without configuration

Actually I've never used automount for mounting ftp sites as local systems, however AFAIR in order this to work you need to have ftpfs enabled in kernel (I'm not sure if it's included in vanilla kernels or you need to patch yours manually). However all the confs provided (except auto.net) are automount's examples so you should read the manpage & the how-to in tldp.org for more info. To verify that automount works, search the forum on how to use it as a supermount replacement for removable local media.

Offline

Board footer

Powered by FluxBB