Hi, just out of curiosity. In the example by alvin below, the file system is mounted 'rw' in the combination with 'soft'.
> local:/etc/auto.master > /.autofs /etc/auto.servers --timeout=60 > > local:/etc/auto.servers > server1 -fstype=nfs,soft,intr 192.168.1.2:/home/christoph > server2 -fstype=nfs,soft,intr 192.168.1.3:/home/SomebodyElse I heard is was a dangerous thing to do so, because if a connection dies while writing to a file on the remote system, this can possibly lead to a corrupted file system. Does anybody know more about this? Thanx! Hauke > > hi christoph > > please asend me your /etc/auto.master and /etc/auto.* that > auto.master refers to and/or your rc.autofs ?? > - guess i can try to run a tests on my slackware-8.x boxes > > also please send/excerpts of the remote_machines /etc/hosts file > > slackware-8.x uses a different autofs startup script than > redhat, debian, etc..etc... > - graph the example rc.autofs from > http://www.Linux-Consulting.com/AutoFS > > - sh -x /etc/rc.d/rc.autofs might help to see where its dying > > - tweek it till it works ... > automounter is running as listed under "ps auxw" > > thanx > alvin > http://www.Linux-Consulting.com/AutoFS/autofs.html > > > Some quick excerpts ( for a couple of machines on the LAN ... > > > remote_server1:/etc/exports > /home/christoph 192.168.1.1(rw) > > remote_serverTWO:/etc/exports > /home/somebodyElse 192.168.1.1(ro) > > > On the machine you are sitting at that imports /net/server1 > > See if manually mounting works... it it does...autofs will > work too > > local# mount remote_server1:/home/christoph /mnt/server1 > local# mount remote_serverTWO:/home/somebodyElse /mnt/server2 > local# df > > ------------------ > > local:/etc/auto.master > /.autofs /etc/auto.servers --timeout=60 > > local:/etc/auto.servers > server1 -fstype=nfs,soft,intr 192.168.1.2:/home/christoph > server2 -fstype=nfs,soft,intr 192.168.1.3:/home/SomebodyElse > > -- restart autofs and check for errors in /var/log/* ... > > local# mkdir /net ; cd /net > local# ln -s /.autofs/server1 . > local# ln -s /.autofs/serverTwo . > > local# ls -la /net/server1/ - listing of cristoph's home dir > local# ls -la /net/serverTwo/ - listing of SomebodyElse's home dir >
