Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Piru on July 21, 2009, 11:22:49 PM

Title: smbfs 1.73 large write fix
Post 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
Title: Re: smbfs 1.73 large file write fix
Post by: Karlos on July 22, 2009, 07:51:46 AM
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?
Title: Re: smbfs 1.73 large write fix
Post by: Piru on July 22, 2009, 08:01:12 AM
Quote from: Karlos;516515
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).

Quote
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.

Quote
Or is it only for samba shares hosted on the amiga?

No. smbfs is a client, not a server.
Title: Re: smbfs 1.73 large write fix
Post by: Karlos on July 22, 2009, 02:59:45 PM
I'll have to check the version when I get home.
Title: Re: smbfs 1.73 large write fix
Post by: Piru on September 04, 2009, 09:20:28 PM
Well, smbfs 1.74 is finally here:

http://sourceforge.net/forum/forum.php?forum_id=1001315
Title: Re: smbfs 1.73 large write fix
Post by: Karlos on September 04, 2009, 09:29:18 PM
Sweet :)

To be totally honest, I never got around to checking if I could reproduce that bug.
Title: Re: smbfs 1.73 large file write fix
Post by: analogkid on October 10, 2009, 09:08:15 AM
Original smbfs offers an option to disable linux-extensions, via nounix-option. is there something related in the amiga-version?
Title: Re: smbfs 1.73 large write fix
Post by: Karlos on February 12, 2011, 05:03:23 PM
Quote from: Karlos;522107
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.