Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Piru on July 21, 2009, 11:22:49 PM
-
Good news everyone!
I was finally bugged into tracking down that nasty smbfs problem with new samba servers: Large write operations would fail (and you'd get "object in use" I/O error).
I'm expecting a smbfs 1.74 release shortly, but in the meanwhile here is the patch for anyone to apply against 1.73:
http://www.sintonen.fi/temp/smbfs-writebraw-fix.diff
-
Sweet Yeti of the Serenghetti
How large is large, btw?
I have a samba share on my linux box that my amigas use and I've never ran into any issues with large files (100MiB+)
Or is it only for samba shares hosted on the amiga?
-
How large is large, btw?
Larger than maximum transmit size minus some header bytes. The maximum transmit size is negotiated between the client and the server at connect time. With my linux boxen the size was close to 16KB.
See bugs #2771803 (http://sourceforge.net/tracker/index.php?func=detail&aid=2771803&group_id=139532&atid=743780) and #1219910 (http://sourceforge.net/tracker/?func=detail&aid=1219910&group_id=139532&atid=743780).
I have a samba share on my linux box that my amigas use and I've never ran into any issues with large files (100MiB+)
Note that this is the size of the single write operation, not the size of the file.
Also, you're probably running old version of samba. The old versions were more lax about the client bugs.
Or is it only for samba shares hosted on the amiga?
No. smbfs is a client, not a server.
-
I'll have to check the version when I get home.
-
Well, smbfs 1.74 is finally here:
http://sourceforge.net/forum/forum.php?forum_id=1001315
-
Sweet :)
To be totally honest, I never got around to checking if I could reproduce that bug.
-
Original smbfs offers an option to disable linux-extensions, via nounix-option. is there something related in the amiga-version?
-
Sweet :)
To be totally honest, I never got around to checking if I could reproduce that bug.
And today, I did :lol:
I just updated my ancient ubuntu 8.04LTS installation and ran into the very issue highlighted at the start of the thread when writing files over the network.
As expected, 1.74 fixed the issue. However, as I'd forgotten about this thread, I just wasted a few hours chasing red herrings.