[Samba] cifs mounts in smbfstab
James D. Parra
Jamesp at MusicReports.com
Mon Jul 3 18:10:54 GMT 2006
> I have the following in /etc/samba/smbfstab;
Don't you mean /etc/fstab?
> //msserver/share /mnt/smb-share cifs
> However, when using 'mount /mnt/smb_dir' I get;
Why are you mounting /mnt/smb_dir, when you've entered it
> mount: can't find /mnt/smb_dir in /etc/fstab or /etc/mtab
> Any ideas?
Change "/mnt/smb-share" to "/mnt/smb_dir" and move the entry
> I can ping by name and the mount works if in fstab.
I did mean /etc/samba/smbfstab. Documentation I read said this is where I
should state cifs mount points, although I have now abandoned that for
Mounting /mnt/smb_dir was typo in this e-mail. I meant '/mnt/smb-share'.
I finally did get this to work in /etc/fstab and with the appropriate kernel
version. The 'credentials' setting does not work in kernel version, 2.6.5,
but it does work in kernel version, 2.6.11.
More information about the samba