Hi Adri,
Hope you're doing well.
The error message "The parameter is incorrect" typically indicates that there is an issue with the file or the file system that is preventing the operation from being completed successfully. In the context of a ReFS volume, this could be related to metadata or file system corruption, even though ReFS is designed for high resiliency.
Here are some steps you can try to resolve the issue:
- Try using the '\?' prefix in your PowerShell command to bypass the normal path parsing and allow for longer paths:
Remove-Item \?\C:\ClusterStorage\Volume1\1.txt
- Ensure that the file is not in use or locked by another process. You can use tools like 'Process Explorer' to check for any open handles to the file.
- Although 'chkdsk' is not available for ReFS, Windows has a built-in 'Repair-Volume' cmdlet that can be used to repair issues on ReFS volumes. Run the following command:
Repair-Volume -DriveLetter C -Scan -Repair
- In addition, CSV is only used to store virtual machines. It is not recommended to put other files in CSV.
Best Regards