[Samba] Can't mount smbfs due to device busy.

Urban Widmark urban at teststation.com
Fri Mar 29 03:41:07 GMT 2002


On Fri, 29 Mar 2002, Kjetil Tjensvold wrote:

> Hi.
> I have trouble mounting the smb file system.
> I type:
> mount -t smbfs -o rw -o username=knut,password=xxxx 
> //win98pc/upload /root

Are you sure you want to mount that on /root ...

> I get ioctl error res -1
> followed by can't umount device is busy.
> Any idea whats wrong.

You shouldn't add words to error output, you should copy it as it is and
not edit it unless it is very long. You should also always list the
versions you use, here the samba and kernel version are relevant.

It means that the mount failed. You'll have to take a look at the kernel
messages (dmesg) as well as any logfile created by smbmount (perhaps
/var/log/samba/smbmount.log ?)

Common errors are:
+ incorrect netbios name (win98pc must think that it has that name)
+ /sbin/mount.smbfs is not a symlink to the smbmount commands
+ smbmnt is not in the path, nor in the BINDIR directory defined at
  compile time.
+ kernel does not support smbfs

I recognise this particular error, but I don't remember which error it
was. Try searching the list archive at http://marc.theaimsgroup.com/
I'm sure you'll find reasons why others have had this problem.

/Urban





More information about the samba mailing list