MODIFY FILE encountered operating system error 665(The requested operation could not be completed due to a file system limitation)

Dave 1 Reputation point
2020-07-30T10:05:38.517+00:00

Hi there,

Sharepoint has gone read only and the database won't expand.
The database is around 300GB but the drive has lots of spare space.
We have tried to expand the database bu got the dreadded MODIFY FILE encountered operating system error 665 error.
We have defragged the drive with SQl stopped but are still getting the same error.

SharePoint 2013
SQL 2014 Standard.

Any Ideas?

Dave

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

2 answers

Sort by: Most helpful
  1. Chelsea Wu 6,341 Reputation points Moderator
    2020-07-31T05:55:23.903+00:00

    Here is a document on OS error 665 for your reference: OS errors 1450 and 665 are reported for database data files.

    And referring to the document and as Trevorseward suggests:

    Consider using a ReFS which does not have the same ATTRIBUTE_LIST_ENTRY limits that NTFS presents. You must reformat the volume by using ReFS.

    0 comments No comments

  2. Aleksandr Alekseev 16 Reputation points
    2022-03-21T19:09:13.5+00:00

    Hi, Would adding a new file to the Filegroup using the MSSQL SSMS help in such a case? It'd make a second mdf file in the PRIMARY group.
    thanks!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.