smbfs bug?
Urban Widmark
urban en svenskatest.se
Sab Ene 29 02:32:22 CST 2000
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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda