The requested operation could not be completed due to a file system limitation

最近解決一個問題,是出現在 Windows Server 2008 Hyper-V 的 Virtual Disk 過大,造成以下的錯誤訊息:

 

The requested operation could not be completed due to a file system limitation

the drive was type RAW and could not continue

 

後來我們使用了 chkdsk.exe 也是無效,後來懷擬 Virtual Disk 使用了 NTFS Compressed,後來改變了這個屬性之後,

稍候片刻後,就可以再啟動 VM (真是謝天謝地,以為 VHD 掛點了)。

 

 

 

這是之前 google 找到的討論,供大家參考。

I just got a similar problem with Windows 2008 RC1.  In a compressed folder, when writing more than 40 GB of data to a file, WriteFile() will fail with “The requested operation could not be completed due to a file system limitation” error, even though the volume still have plenty of free space

  

This appears to be a bug in Vista and Windows 2008. If the number of allocated regions in a sparse or compressed file exceeds a threshold, the OS refuses to allocate additional regions. If the operations that will fail with ERROR_FILE_SYSTEM_LIMITATION were submitted with file buffering on (thus postponing this error until they are flushed) this can cause major issues including completely preventing the OS from writing to disk in any buffered file.

It seems like sparse and compressed files should be avoided on Vista and Windows 2008 until this is fixed.

Bookmark the permalink.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *