*- On 16 Nov, Adam Haeder wrote about "lookup(program): lookup for sharename failed"
> I'm running automount version 3.1.3 freshly downloaded from
> ftp.us.kernel.org on a Pentium III system running RH6.0 i386 with stock
> kernel 2.2.5-15. My /etc/auto.master file looks like this:
> 
> # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
> # Sample auto.master file
> # Format of this file:
> # mountpoint map options
> # For details of the format look at autofs(8).
> /nt /etc/auto.nt --timeout 60
> 
> And my /etc/auto.nt file looks like this:
> rfs_intranet    -fstype=smb,username=adamh,password=XXXXX   
> ://rfs/intranet
> rfs_logs        -fstype=smb,username=adamh,password=XXXXX    ://rfs/logs
> 
> Note: manually mounting these filesystems works; my system can read smb
> filesystems, I can mount them with no problem.
> 
> Now if I type 'cd /nt/rfs_intranet' I get:
> bash: /nt/rfs_intranet: No such file or directory 
> 
> and /var/log/messages says:
> 
> Nov 16 15:11:12 rfslinux automount[1753]: attempting to mount entry
> /nt/rfs_intranet
> Nov 16 15:11:12 rfslinux automount[1825]: lookup(program): lookup for
> rfs_intranet failed
> 
> The killer is this worked until I rebooted. I have rewritten the auto.*
> files, restarted and reloaded the daemon, reinstalled the daemon,
> everything I can think of. This is actually happening on some other
> intel systems too, but for some reason those are now working. What
> lookup is this failing on?
> 
> TIA
> 

A bug was just discovered by the Samba team in the Linux mount command.
A delay would result between the call to the mount and the actual mount
when mounting smbfs shares.

mount -t smb //server/share /mnt
ls /mnt
# empty
sleep 2
ls /mnt
# full listing

A new mount has just been released to fix the bug.  Perhaps this is the
problem.

Note: I am just taking a stab a this, someone else more knowledgeable
please speak up!
-- 
Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
[EMAIL PROTECTED]                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.

Reply via email to