pre2.0.7 disk quota bug

David Collier-Brown davecb at canada.sun.com
Mon Feb 14 18:29:56 GMT 2000


  The attached message contains the beginning of a correction for
the following:
  An NT client sets a file on the server to a specific length,
hoping thereby to make sure that there is enough space for
the whole file.
  Unix creates a "holey" file, occupying no additional disk blocks.
  The NT starts sending blocks
  The disk runs out of space or quota.
  The resulting file appears corrupt from the NT side.

  The code attached tests to see if, at the time the set length
is done, that there is enough disk/quota to store the whole file.
  This is not claimed to be a correction: it is a test patch that
may lead us to an acceptable **workaround**.

  Can the victims of the problem please try this, and arrange
to send me logs?

--dave	
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
-------------- next part --------------
An embedded message was scrubbed...
From: David Collier-Brown <davecb at canada.sun.com>
Subject: test code for NT overflows...
Date: Sun, 13 Feb 2000 17:46:27 -0500
Size: 2906
Url: http://lists.samba.org/archive/samba/attachments/20000214/64cc4936/attachment.eml


More information about the samba mailing list