Consider the following scenario:
In this scenario, nothing happens. Additionally, the following error message is logged in the Application log:
Note This error message is also logged when you run the following command:
- You have a Windows Server 2012 R2 cluster.
- You set up a Cluster Shared Volume (CSV) together with a thin-provisioned volume in a dynamic I/O redirection environment.
- You open the "Optimize drives" window, you select the CSV + thin-provisioned volume, and then you click Optimize.
In this scenario, nothing happens. Additionally, the following error message is logged in the Application log:
Log Name: Application
Source: Microsoft-Windows-Defrag
Date: date time
Event ID: 257
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: computer_name
Description:
The volume volume (C:\ClusterStorage\volume_name) was not optimized because an error was encountered: Incorrect function. (0x80070001)
Source: Microsoft-Windows-Defrag
Date: date time
Event ID: 257
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: computer_name
Description:
The volume volume (C:\ClusterStorage\volume_name) was not optimized because an error was encountered: Incorrect function. (0x80070001)
defrag.exe C:\ClusterStorage\Volume1 /A /U /V