Mount point goes invisible

Urban Widmark urban at svenskatest.se
Tue Aug 29 16:13:39 GMT 2000


On Tue, 29 Aug 2000, Hal Morris wrote:

> but when I try to "smbmount //isdn2/AMDAHL-WORK /mnt/amdahlwork", where
> /mnt/amdahlwork is an empty directory on Linux, isdn2 is defined in
> /etc/hosts as 192,168.1.2, the address the W95 box uses, and AMDAHL-WORK
> is the name under which a certain W95 directory is shared, I get

Does the win95 box answer to the (netbios?) name isdn2?


> # smbmount //isdn2/AMDAHL-WORK /mnt/amdahlwork
> Added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0
> Added interface ip=159.199.240.71 bcast=159.199.240.127 \
>   nmask=255.255.255.192
> Connection to isdn2 failed
> Could not umount /mnt/amdahlwork: Device or resource busy
> smbmount: exit

The "Could not umount" is smbmount tripping itself up. It can't umount on
some errors because it is itself keeping the mount open. That leaves it
mounted but not connected to anything which causes Input/output error
later. I have a patch for this, but this is not your problem.

The real problem is "Connection to isdn2 failed". Can you connect like
this if you use smbclient?  ie 'smbclient //isdn2/AMDAHL-WORK'


> FWIW, /var/log/samba/log.smb contains

smbmount doesn't log to the samba log.

/Urban





More information about the samba mailing list