CIFS - Maximum file size supported

Discussion in 'Windows Server' started by Joel Christner, Feb 24, 2005.

  1. All,

    Is there a maximum file size associated with files accessed by CIFS?

    Thanks
    Joel
     
    Joel Christner, Feb 24, 2005
    #1
    1. Advertisements

  2. Joel Christner

    Todd J Heron Guest

    CIFS will be dependant on the NTFS file system. See below.

    NTFS Size Limits

    Description Limit
    Maximum file size Architecturally: 16 exabytes minus 1 KB (264 bytes
    minus 1 KB)
    Implementation: 16 terabytes minus 64 KB (244 bytes minus 64 KB)

    Maximum volume size Architecturally: 264 clusters minus 1 cluster
    Implementation: 256 terabytes minus 64 KB ( 232 clusters minus 1
    cluster)
    Files per volume 4,294,967,295 (232 minus 1 file)

    NTFS technical reference:
    http://www.microsoft.com/resources/.../2003/all/techref/en-us/W2K3TR_ntfs_intro.asp

    Note: These are astronomical limits for systems today. I have not heard of
    hardware that can reach anywhere near these numbers.
     
    Todd J Heron, Feb 24, 2005
    #2
    1. Advertisements

  3. Todd,

    One thing I noticed about CIFS was the 32-bit fields used to specify file
    size in many of the messages, which yields 4GB maximum file sizes (2^32).
    Can you access files that are larger than 4GB with CIFS, and if so, how does
    CIFS handle working with offsets and ranges above the 4GB mark?

    Thanks for your help,
    Joel
     
    Joel Christner, Feb 24, 2005
    #3
  4. Joel Christner

    Todd J Heron Guest

    Mike, the answer to the question is yes, it is done a lot in my network
    (backup reasons mainly, and sometimes for copying down large workstation
    images). As to how CIFS handles this from a programming perspective, I
    couldn't answer that.
     
    Todd J Heron, Feb 24, 2005
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.