« Bloggin' Outloud | Main | Religious Writes »

March 01, 2006

Samba mount fails (Linux)

Q: I am trying to mount a PC filesystem (which I can browse) and I keep getting funny results. The filesystem mounts but I get errors when I run df or try to look at the filesystem...

[root /]# mount -t smbfs -o
workgroup=xxx,username=xxx,password=xxx,kerb //xxx/yyy /mnt/smb

[root /]# df
Filesystem 1K-blocks Used Available Use% Mounted on
[Normal list of filesystems deleted]
df: `/mnt/smb': Permission denied
[root /]# ls -l /mnt
total 0
?--------- ? ? ? ? ? smb

A: Chances are the windows box is running a later version of Windblows. Try using the filesystem type cifs instead of smbfs. The other options are the same.

Posted by Ozguru at March 1, 2006 06:00 AM