Windows File System Errors

From EnablerWiki

Jump to: navigation, search

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

Contents

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