title: What can be the reason for Windows error ERROR_DISK_FULL (112) when opening a NTFS alternate data stream?
body: <p>My application writes some bytes of data to an alternate data stream. This works fine on all but one machine (Windows Server 2003 SP2). 
  Instead, CreateFile returns <code>ERROR_DISK_FULL</code> when I try to create an alternate data stream (on the root directory). I don't find the reason for this result, because...</p>
  
  <ul>
  <li><p>There's plenty of space on that drive.</p></li>
  <li><p>The drive is NTFS formatted (due to GetVolumeInformation).</p></li>
  <li><p>The drive supports altenate data
  streams (due to GetVolumeInformation).</p></li>
  </ul>
  
  <p>Edit: I can provide some more information about what the reason <strong>not</strong> is:
  I added many streams on a test system which didn't show the error and wondered if the error might occur. It didn't. Instead after about 2000 Streams with long file names another error occurred and persisted: 1450 (ERROR_NO_SYSTEM_RESOURCES).</p>
  
  <p>EDIT: Here is an example for one of the used file names:</p>
  
  <pre><code>char szStreamFileName[] = "C:\\:abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnoqrstuvwxyz012345";
  </code></pre>
  
  <p>EDIT: Our customer uses some corporate antivirus software from Avira on this server. Maybe this is the reason (Alternate data streams can be abused by malware).</p>