Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

SUA statvfs() call on Windows Server 2008 R2 may return error


View products that this article applies to.

Symptoms

The statvfs() call in SUA may fail with the following error on a Windows 7 or Windows Server 2008 R2 based system:


statvfs(): errno = 88 (Value too large to be stored in data type)

↑ Back to the top


Cause

This problem occurs due to the allocation of Master File Table zones on the NTFS file system less than 100GB.

↑ Back to the top


Resolution

This problem may be fixed by increasing the size of the first Master File Table zone. This can be done using on the following methods:

Using the FSUTIL command in Windows - fsutil behavior set MftZone 4
Change the value of HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem\NtfsMftZoneReservation to 4 using Registry Editor

In some cases, defragmenting or reformatting the file system may also resolve this problem.

↑ Back to the top


More Information

In a NTFS volume with a large number of files, creation of a second MFT zone is triggered when the first MFT zone is filled up. When statvfs() executes, it compares the zone end and start  for all MFS zones. If zone 2 start and end are both smaller than zone 1  start and end respectively, it generates a negative difference and results in statvfs() failure with error code 88.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2698980
Revision : 1
Created on : 1/7/2017
Published on : 4/6/2012
Exists online : False
Views : 248