
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.