lkml.org 
[lkml]   [2000]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smbfs bug?
On Fri, 28 Jan 2000, Petr Sebor wrote:

> I started to use smbfs recently and experienced several problems on
> i586, 2.2.15pre2 :
>
> when I run this tiny script:
>
> #!/bin/bash
> mount -t smbfs -o password=xyzzy //win/d /mnt/d
> mount -t smbfs -o password=xyzzy //win/f /mnt/f
>
> I get an error message:
>
> Can't get /etc/mtab~ lock filesmbmnt failed: 1
>
> mounting the disk sequentially by manually typing the mount commands
> on the console does always work. ( this could be a problem of smbmount
> though
> - I am not sure about this one )

More likely the problem in mount where it returned early, before smbmount
had actually mounted (or something like that). Try getting a new mount
from the latest util-linux at:
ftp://ftp.win.tue.nl/pub/linux/utils/util-linux/

Something like this should also fail:
% mount -t smbfs -o password=xyzzy //win/f /mnt/f; ls /mnt/f

> Second problem arrived quite shortly ( and isn't related to the mount
> problem )
> I am getting IO errors when copying large files over the smbfs. IO error
> pops up
> after ~2MB are copied from smbfs to smbfs.

Between 2 smbfs mounts on the same machine? To reuse your example:
% cp /mnt/d/bigfile /mnt/f/bigfile

> Does it sound familar ?

The first problem yes, the second no. I tried to repeat it but I can't
(box is 2.2.15pre3).

/Urban


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.105 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site