Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-13193

Disk write failure, NTFS Cluster size fragmentation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 2.2.0
    • storage-engine
    • Security Level: Public
    • None
    • Windows 2008, CB Server 2.2

    Description

      Customer (see linked CBSE) hit an issue where disk writes starting failing, memcache reported "WINAPI error = 665" this was narrowed down to a limitation in the NTFS filesystem. Their vBucket files had too many fragments, see:
      Microsoft KB Article, Article ID: 967351, A heavily fragmented file in an NTFS volume may not grow beyond a certain size http://support2.microsoft.com/default.aspx?scid=kb;EN-US;967351

      If ep-engine sees a disk write error, it would have been possible to continue operating by creating a new vBucket file instead of appending the existing one. Would such an automatic recovery action be possible to implement ?

      Microsoft recommends that NTFS filesystems serving Exchange or MS SQL Server data are formatted with 64-KB allocation units instead of the default 4k to lower fragmentation. Should we make the same recommendation for Data and Index directories in our documentation ?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tai.tran Tai Tran (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty