Windows File System Errors: Difference between revisions

From EnablerWiki
Jump to navigationJump to search
Outlines Disk Corruption and Disk Fragmentation in Windows.
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Created: 15 January 2009. Last Reviewed: 15 January 2009
Created: 15 January 2009. Last Reviewed: 01 June 2011


Disk Corruption
===Disk Corruption===


One of the main reasons for Database corruption in Enabler is the underlying Hard Disk and/or Windows File System becoming corrupt. This can happen for numerous reasons including physical hardware failure or virus activity.  
One of the main reasons for Database corruption in Enabler is the underlying Hard Disk and/or Windows File System becoming corrupt. This can happen for numerous reasons including physical hardware failure or virus activity.  
Line 7: Line 7:
Often, problems can be resolved by running a Check Disk command over the drive that Enabler is installed on as follows:
Often, problems can be resolved by running a Check Disk command over the drive that Enabler is installed on as follows:


Open a command prompt  
#Ensure all Enabler apps are closed before running a CHKDSK
#Open a command prompt: Click Start → Click Run → type '''CMD''' → Click OK
#At the command prompt, type the following:
#:<pre>C:\> CHKDSK X: /F</pre>
#:(Where X is the drive letter that you would like to scan, most commonly C:)
#If there are files in use that cannot be scanned, such as core Windows system files, you will be prompted to run the Check Disk at the next reboot. 
#:Answer '''Y''' to this.
#When the machine is rebooted, the Check Disk will scan for and repair any hardware or file system issues.


Click Start → Click Run → type <tt>'''CMD'''</tt> → Click OK
===Disk Fragmentation===
 
At the command prompt, type the following:
 
<tt>C:\> '''CHKDSK X: /F'''</tt>
 
(Where X is the drive letter that you would like to scan, most commonly C:)
 
If there are files in use that cannot be scanned, such as core Windows system files, you will be prompted to run the Check Disk at the next reboot. Answer <tt>'''Y'''</tt> to this.
 
 
When the machine is rebooted, the Check Disk will scan for and repair any hardware or file system issues.
 
 
Disk Fragmentation


One of the reasons for a computer slowing down is that the Windows File System becomes fragmented. Poor performance arises when the files that are held on the Hard Drive are broken up and written to different parts of the disk, resulting in the Hard Drive doing a lot more work than should be needed to open the files.  
One of the reasons for a computer slowing down is that the Windows File System becomes fragmented. Poor performance arises when the files that are held on the Hard Drive are broken up and written to different parts of the disk, resulting in the Hard Drive doing a lot more work than should be needed to open the files.  
Line 31: Line 24:
A basic Disk Defragmentation application exists in Windows and can be found here:
A basic Disk Defragmentation application exists in Windows and can be found here:


Click Start → Click All Programs → Click Accessories → Click System Tools → Click Disk Defragmenter
Click Start &rarr; Click All Programs &rarr; Click Accessories &rarr; Click System Tools &rarr; Click Disk Defragmenter


You can use this application to analyse the disk to see how fragmented it is, and you can then proceed to defragment the drive if it is needed.  
You can use this application to analyse the disk to see how fragmented it is, and you can then proceed to defragment the drive if it is needed.  


'''Note:''' Ensure all Enabler apps are closed before running a Defragment to avoid Database errors when the database files are defragmented.
===Disk Maintenance Batch File – From Enabler 4.46===
To assist with more timely discovery of disk subsystem problems, from Enabler 4.46, a new option has been added to run a disk maintenance batch file as part of the End Of Day functions. This is described in detail on the following Wiki page [[Disk_Maintenance_with_Enabler|Disk Maintenance with Enabler]].
==See Also==
[[Disk_Maintenance_with_Enabler|Disk Maintenance with Enabler]]


Note: It is strongly recommended that all Enabler apps are closed before running a Defragment so you avoid Database errors when the database files are defragmented.
[[Anti-virus_software|Anti Virus Software]]




See Also
[http://support.microsoft.com/kb/314848 How to Defragment Your Disk Drive Volumes in Windows XP]

Latest revision as of 04:30, 16 March 2012

Created: 15 January 2009. Last Reviewed: 01 June 2011

Disk Corruption

One of the main reasons for Database corruption in Enabler is the underlying Hard Disk and/or Windows File System becoming corrupt. This can happen for numerous reasons including physical hardware failure or virus activity.

Often, problems can be resolved by running a Check Disk command over the drive that Enabler is installed on as follows:

  1. Ensure all Enabler apps are closed before running a CHKDSK
  2. Open a command prompt: Click Start → Click Run → type CMD → Click OK
  3. At the command prompt, type the following:
    C:\> CHKDSK X: /F
    (Where X is the drive letter that you would like to scan, most commonly C:)
  4. If there are files in use that cannot be scanned, such as core Windows system files, you will be prompted to run the Check Disk at the next reboot.
    Answer Y to this.
  5. When the machine is rebooted, the Check Disk will scan for and repair any hardware or file system issues.

Disk Fragmentation

One of the reasons for a computer slowing down is that the Windows File System becomes fragmented. Poor performance arises when the files that are held on the Hard Drive are broken up and written to different parts of the disk, resulting in the Hard Drive doing a lot more work than should be needed to open the files.

Because Enabler databases are constantly being updated, they are easliy affected by Disk Fragmentation which can often affect the performance of database intensive processes like Host Imports and reporting.

A basic Disk Defragmentation application exists in Windows and can be found here:

Click Start → Click All Programs → Click Accessories → Click System Tools → Click Disk Defragmenter

You can use this application to analyse the disk to see how fragmented it is, and you can then proceed to defragment the drive if it is needed.

Note: Ensure all Enabler apps are closed before running a Defragment to avoid Database errors when the database files are defragmented.

Disk Maintenance Batch File – From Enabler 4.46

To assist with more timely discovery of disk subsystem problems, from Enabler 4.46, a new option has been added to run a disk maintenance batch file as part of the End Of Day functions. This is described in detail on the following Wiki page Disk Maintenance with Enabler.

See Also

Disk Maintenance with Enabler

Anti Virus Software


How to Defragment Your Disk Drive Volumes in Windows XP