large file support > 2 gig

Michael H. Warfield mhw at wittsend.com
Tue Jun 12 04:23:42 GMT 2001


On Mon, Jun 11, 2001 at 11:51:19PM -0400, Chad wrote:
> Samba development,
> Should I give up with trying to get Samba to transfer files > 2 gig.  I
> haven't been able to get any support here or the Samba regular list, so
> maybe its just not possible.  In my previous emails from last week there are
> plenty of details, and if needed I can email you a debug level 10 log.

	Ok...  I'll step into this one just to start the ball rolling.

	I haven't seen your other messages so you will have to forgive
me if I ask questions which you already answered.

	Samba on what?  Linux?  *BSD?  Solaris?  HP/UX?  AIX?

	If Linux...  What version kernel?  What distribution?  What
version distribution?

	If BSD - Which BSD and which version?

	If Solaris - Sparc or x86, and which version?

	What version Samba?

	Did you build it yourself or did you install it from package?
(.rpm, .deb, .pkg, etc, etc, etc...)

	ALL of these matter.

	All but the most recent version of Linux did not effectively
support files larger that 2 Gig.  Large (64bit offset) files required
both support in the kernel and support in the libraries, so just upgrading
to a 2.4.x kernel would not cut it.  You need a recent distribution where
the 64 bit functions such as lseek64 are supported.

	It's probably NOT a Samba problem, or if it is it's a problem
with Samba recognizing the large file support on the platform you are on.
It's probably support in your underlying OS, or the support libraries, or
the build configuration.  Impossible to tell which without a LOT more
information.

> Chad

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!





More information about the samba-technical mailing list