smbmount error

Michael H. Warfield mhw at wittsend.com
Sat May 29 14:07:41 GMT 1999


Yah rite enscribed thusly:

> > > I posted a similar email recently regarding this. One thing has changed,
> > > however; I have upgraded my kernel to 2.2.6 (hence I'm now using the 
> >samba
> > > version of smbmount rather than the smbfs version).
> > > I get the error "no such device" when trying to mount a network drive.
> > > My command line is:
> >
> > > smbmount "\\\\susangra\\c-hd" -c 'mount /mnt'
> >
> > > the console text which follows is:
> >
> > > Added interface ip=24.112.191.43 bcast=24.112.191.255 
> >nmask=255.255.254.0
> > > Server time is Fri May 28 16:18:20 1999
> > > Timezone is UTC-4.0
> > > security=share
> > > mount error: No such device
> > > Please refer to the smbmnt(8) manual page
> > > mount failed

> > > smbclient works perfectly fine with:

> > > smbclient \\\\susangra\\c-hd

> > > Any help appreciated :)

> >	Send me the result of the following command, if you would please...

> >	cat /proc/filesystems

> >	I'm beginning to wonder if the error message is bogus...


> >	Mike

> here it is:

>         ext2
>         minix
>         umsdos
>         msdos
>         vfat
> nodev   proc
> nodev   nfs
>         iso9660

	Bingo!  No smbfs!

	The error message needs fixing to read that the file system is not
supported by the kernel.  Added to my "todo" list.


	Try this:

	/sbin/modprobe smbfs

	If that gives you and error, report that back to me.

	If it doesn't give you and error, try your smbmount command and
report that back to me.

	If you get an error from the modprobe command, then you don't have
smbfs compiled for that kernel or there is something wrong with the module.

	If the modprobe succeeds and your smbmount then succeeds, then
you don't have the kernel module loader compiled in or running.  You then
need to either compile smbfs into the kernel, OR enable the kernel module
loader, OR add a script to always load the smbfs file system module.

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!



More information about the samba mailing list