Re: 2GB limit on samba and nfs?

From: Rick Stevens (rstevens_at_vitalstream.com)
Date: 04/28/05

  • Next message: Rick Stevens: "Re: documentation on network install"
    Date: Thu, 28 Apr 2005 14:09:58 -0700
    To: guy@incentre.net, For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Guy Fraser wrote:
    > On Thu, 2005-28-04 at 13:56 -0500, Debbie Tropiano wrote:
    >
    >>Mike -
    >>
    >>Did you ever get a resolution for this? We're seeing similar problems
    >>with two of our FC2 systems (2.6.6 kernel) interacting with each other
    >>via NFS and/or with other systems (including Solaris). Our testing
    >>shows that it's only a problem on two (of our five FC2 systems) and one
    >>of them has a 3ware RAID card (the Escalade, not the newer 9000 series)
    >>so I'm not sure if that's a factor.
    >>
    >>Could it be an NFS setting somewhere (the systems were installed from
    >>the same media and should be setup very close to the same).
    >>
    >>We're pretty baffled by this problem, so any advice would be appreciated.
    >>
    >
    >
    > I regularly send files over 3GB to my FC3 machine running Samba.
    > I am unable to send files over 4GB. For larger files I had been
    > using an external Firewire drive formated with NTFS, but recently
    > got "Putty" for my Windows machine and am using the SCP client
    > {pscp} to transfer the files now.

    I think Windows (and hence Samba) shares are limited to 4GB because of
    the 32-bit file pointer issue (using an int rather than a off_t). On
    Linux, this limits programs to a 2GB file size, because it's a signed
    int (2^31 = 2G). On Windows, I think they treat it as an unsigned int
    (2^32 = 4G).

    Not all programs suffer from this--it depends on how they were built.
    Apache, for example, has this issue with its log files. Why they
    haven't fixed it yet, I don't know. It ain't rocket science.
    ----------------------------------------------------------------------
    - Rick Stevens, Senior Systems Engineer rstevens@vitalstream.com -
    - VitalStream, Inc. http://www.vitalstream.com -
    - -
    - Diplomacy: The art of saying "Nice doggy!" until you can find a -
    - big enough rock. -
    ----------------------------------------------------------------------

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Rick Stevens: "Re: documentation on network install"

    Relevant Pages

    • Re: LogonUser()
      ... // This sample can be run only on Windows XP. ... String lpszPassword, ... int dwLogonType, int dwLogonProvider, ref IntPtr phToken); ... private unsafe static extern int FormatMessage(int dwFlags, ref IntPtr ...
      (microsoft.public.dotnet.security)
    • Re: bringing Pocket Internet Explorer (PIE) to foreground
      ... Peter Foot ... the PIE window did not come to the foreground on the ASUS ... >> Windows Embedded MVP ... >>> public static extern int FindWindow (string lpClassName, ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: W2k/XP hangs with "TAB BS BS" on console
      ... >> console compiler) was executed: ... Now in this function we can see if we disassemble that 'int 2Eh' is called, ... _KiSystemService copies the parameters from the Ring 3 stack which EDX ... NT has this problem in all service packs, Windows 2000 has it and XP seems ...
      (NT-Bugtraq)
    • Re: input/output sound level calibration
      ... Inialisation et configuration mixer de la carte son ... sound_mix_apparatus (void) ... unsigned int nver; ... standard Windows pop-up mixer since it doesn't show the ...
      (comp.sys.ibm.pc.soundcard.tech)
    • RE: Would somebody be kind enough to provide a working timestamp code?
      ... anyway, and not a windows application, in which case you should have started ... > int timezone, _timezone, altzone; ... > static struct tm wce_SYSTEMTIME2tm ...
      (microsoft.public.vstudio.development)