[linux-cifs-client] Cannot mount LANServer network storage device.

Jeff Layton jlayton at redhat.com
Thu Jun 12 17:29:48 GMT 2008


On Thu, 12 Jun 2008 15:03:29 +0200
Günter Kukkukk <linux at kukkukk.com> wrote:

> Am Donnerstag, 12. Juni 2008 schrieb Stephen Berryman:
> > Hi
> > 
> > 
> > 
> > When I attempt to mount a shared directory from my new network storage
> > device, I get the following
> > 
> > 
> > Mounts OK from Windows XP and 2000.
> > 
> > Can't mount from Linux
> > 
> > $ uname -a
> > Linux tru64.local 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:02:29 EDT 2008
> > x86_64 x86_64 x86_64 GNU/Linux
> > 
> > $ sudo mount -t cifs -o
> > username=usersname,password=xxxxxx //192.168.88.2/users_space /mnt/users_space --verbose
> > Password:
> > parsing options: rw,username=usersname,password=xxxxxx
> > 
> > mount.cifs kernel mount options unc=//192.168.88.2\users_space,
> > ip=192.168.88.2,ver=1,rw,username=usersname,password=xxxxxx
> > 
> > 
> > 
> > Appears to work most times but then
> > 
> > 
> > 
> > $ ll /mnt/users_space
> > ls: cannot open directory /mnt/users_space: Not a directory
> > 
> > 
> > 
> > That is the target directory cannot be read!!
> > 
> > I first tried this using smb4k with the same result.
> > 
> > Often I get a failure of the mount command with
> > 
> > 
> > 
> > mount error 20 = Not a directory
> > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> > 
> > 
> > Same happens on
> > 
> > 
> > 
> > Linux p3000.local 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:35:10 EDT 2008
> > i686 i686 i386 GNU/Linux
> > 
> > 
> > 
> > 
> > so its not a x86_64 problem.
> > 
> > I had to use protocol=RAP to browse in smb4k
> 
> please post the outcome of
>   smbclient -L 192.168.88.2 -N   or
>   smbclient -L 192.168.88.2 -U username%passwd
> so we can have a look at the reported remote SMB server
> and version.

I've run into a fair number of these sorts of devices that use a
downrevved version of samba and that have spotty support for unix
extensions. You might want to also give a quick test mounting with '-o
nounix' and see whether that makes any difference.

-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list