mount vs smbmount
Bill Parker
dogbert at netnevada.net
Sun Nov 19 23:03:34 GMT 2000
Hi again,
It's the resident doofus (of samba) again :-)
I am making some progress I think, but see if I am starting to understand
what is happening:
The machine I am trying to use smbmount (or mount for that matter) does
not run DNS (caching or otherwise, but I could do this if needed). Now,
if the NT machine I need to connect to has a FQDN of www.somewhere.com
(with proper IP address), I could say the following to mount the share
from linux (via smbmount) like this:
smbmount //www.somewhere.com/C$ /mnt/ntserver -U <username on nt machine>
however, am I correct in assuming that if I do NOT have DNS running, in
order to do the same thing, I would need a reference in /etc/hosts which
looks like this (to do the same thing):
xxx.yyy.zzz.2 www.somewhere.com somewhere
and this would work with smbmount as well?
When I add the following line to /etc/fstab:
//inet_server_1/c$ /mnt/server1 smbfs
username=smbuser,password=smbpass,dmask=700,fmask=700,nosuid,noexec,ro
inet_server_1 is defined in /etc/hosts, btw
and I try to mount the share via mount, I get an error which looks like
this:
[root at htmlodds log]# mount /mnt/server1
mount: wrong fs type, bad option, bad superblock on //inet_server_1/c$,
or too many mounted file systems
Now the kernel I am running is 2.2.18pre-21 (which fixes some smbfs bugs)
and my mount version is 2.9s, but here is the error message in /var/log
messages:
Nov 19 14:59:20 htmlodds kernel: SMBFS: need mount version 6
The distro I am running is Caldera OpenLinux 2.3
I think I am getting closer, can someone give me more pointers?
-Bill
More information about the samba
mailing list