Windows Server 2012/2008 iSCSI Lun File Problems: How To Start chkdsk Command

I – How to run the “chkdsk /f” command

II – Qnap iSCSI Lun: An unexpected error is keeping you from deleting the file


I – How to run the “chkdsk /f” command

Server 2012 Chkdsk Utility Parameters
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]

Volume: The drive letter, or volume name, remember that colon (D:).
/F Fixes errors on the disk.
/V Displays cleanup messages if any.
/R Locates bad sectors and recovers readable information (implies /F, when /scan not specified).
/L:size Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid (implies /F).
/I Performs a less vigorous check of index entries.
/C Skips checking of cycles within the folder structure.
/B Re-evaluates bad clusters on the volume (implies /R)
/scan Runs a online scan on the volume
/forceofflinefix (Must be used with “/scan”) Bypass all online repair; all defects found are queued for offline repair (i.e. “chkdsk /spotfix”).
/perf (Must be used with “/scan”) Uses more system resources to complete a scan as fast as possible. This may have a negative performance impact on other tasks running on the system.
/spotfix Runs spot fixing on the volume
/sdcleanup Garbage collect unneeded security descriptor data (implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.
Note: that many parameters imply other parameters. Incidentally, you have to precede the parameter with a forward slash (/), and not a dash (-).



II – Qnap iSCSI Lun: An unexpected error is keeping you from deleting the file

The files available offline on Windows are available with Client Side Caching (CSC) cache and database. The cache helps Windows to have synchronization of files with external server. In case if this database is corrupted, it has an in-built capability to restart itself. However, if there is a crucial corruption of components, you may face its consequences while deleting some files.

Recently, we came around an issue where we got following error when we delete files on Windows 8.1 running machine:

An unexpected error is keeping you from deleting the file. If you continue to receive this error, you can use the error code to search for help with this problem. Error 0x800710FE: This file is currently not available for use on this computer.

The error code research gives us the hint that offline files cache is corrupted and we should repair or clear it to solve this problem. In you’re too a victim of this issue, here is how you can fix it:

An unexpected error is keeping you from deleting the file

1. Open Control Panel and navigate to All Control Panel Items -> Sync Center -> Manage Offline Files. In the Offline Files window shown below, switch to Disk Usage tab and hit Delete temporary files button.


You can now check the status of problem, if it is fixed now, you’re good to go. If the issue still persists, try the next steps.

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

2. Press Windows Key + R combination, type put regedit in Run dialog box and hit Enter to open the Registry Editor.


3. In the left pane of Registry Editor, navigate to following key:



4. In the right pane of above shown window, do a right click and select New -> DWORD Value. Name the newly created DWORD as FormatDatabase and double click on it to get this:


5. Finally, in the Edit DWORD Value box, set the Value data to 1 and click OK. Close Registry Editor and restart your system to get this issue fixed.

Hope this helps you. Good luck!



VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>