Disk Management

 < Day Day Up > 

All versions of Windows covered on the A+ Certification Exams feature disk management tools for checking for disk errors, and all but Windows NT 4.0 also include disk defragmentation tools. These tools are covered in the following sections.

Using ScanDisk and CHKDSK

All versions of Windows covered on the A+ Certification Exams provide integrated error-checking programs for fixing disk problems. Windows 9x/Me use ScanDisk; Windows NT 4.0/2000/XP use CHKDSK . In Windows Explorer/My Computer, both are referred to as error checking. To run error checking from the Windows GUI

  1. Open the Windows Explorer.

  2. Right-click a drive, select Properties, and then click the Tools tab.

  3. Click Check Now to start the process (see Figure 18.22).

    Figure 18.22. The Windows XP disk Tools menu. Windows 9x/Me and Windows 2000 menus are similar.

    graphics/18fig22.jpg

Using ScanDisk

After the ScanDisk process starts, you can select either Standard or Thorough testing. Thorough testing takes longer but checks the disk surface for errors as well as files and folders. Use the Options button to select whether to check the entire drive, to perform write testing, or to fix bad sectors in system and hidden files. Check the Automatically Fix Errors box to have ScanDisk fix disk and file errors it detects without user intervention. Click Advanced to specify how to handle cross-linked files, lost file fragments , and other problems. Click Start to begin the test process. A progress bar indicates the progress of testing.

graphics/note_icon.gif

It's no coincidence that Error-checking is listed before Defragmentation and Backup in the Windows disk Tools menu. You should check the drive for errors first before you perform a defrag or backup operation.


ScanDisk performs the following tasks :

  • Checks the disk surface of the specified drive for read errors

  • Repairs problems with the logical disk structure

  • Provides disk usage statistics at the end of its operation

If ScanDisk is run from the command prompt while the Windows 9x GUI is active, the Windows version of ScanDisk will be run. If ScanDisk is run from the command prompt without the Windows GUI being active, a text-mode version of ScanDisk will be run. You can also start Windows 9x/Me's ScanDisk by choosing Start, Programs, Accessories, System Tools, ScanDisk.

graphics/note_icon.gif

You should close active tasks and programs before starting ScanDisk.


To see the options available when you run ScanDisk from the EBD or from the command prompt when the Windows GUI is not active, type Scandisk/? and press Enter. See the CD Supplement for a detailed list of ScanDisk syntax and command examples.

Using Windows NT 4.0/2000/XP CHKDSK

With Windows NT 4.0/2000/XP CHKDSK, you can also select whether to automatically fix file system errors and attempt the recovery of bad sectors. If you select the option to automatically fix file system errors, CHKDSK will be scheduled to run at the next restart. This is necessary because CHKDSK requires exclusive access to the drive. CHKDSK performs a three-phase test of the drive.

You can also run CHKDSK from the command prompt. See the CD Supplement for detailed command syntax and usage examples for CHKDSK .

By default, CHKDSK runs automatically at boot time if a drive is dirty (has errors); to adjust this behavior, run CHKNTFS with appropriate options from the command prompt. Use CHKNTFS/? to see the options you can use.

Using Defrag

Over time, the empty space available on a hard disk becomes fragmented as temporary and data files are created and deleted. When a file can no longer be stored in a contiguous group of allocation units, Windows stores the files in as many groups of allocation units as necessary and reassembles the file when it is next accessed. The extra time needed to save and read the file reduces system performance. Starting with Windows 9x, Windows includes a disk defragmentation tool.

graphics/note_icon.gif

Windows NT 4.0 does not include a defragmenter. However, third-party defragmenters for this version of Windows are available.


In addition to running Defragment from the System Tools menu, you can also run it from within Windows Explorer/My Computer:

  1. Open Windows Explorer/My Computer.

  2. Right-click a drive, select Properties, and then click the Tools tab.

  3. Click Defragment Now to start the Defragmentation process. Refer back to Figure 18.22.

tip

graphics/tip_icon.gif

The narrower the colored stripes visible in the Estimated Disk Usage Before Defragmentation display, the more fragmented the drive is.


There are no configuration options for Windows 9x/Me Defragment. However, you can switch to a full-screen view and display a legend during the operation.

The Windows 2000/XP defragmenter features an Analyze button that determines whether defragmentation is necessary (see Figure 18.23).

Figure 18.23. Disk Defragmenter's analysis indicates this drive needs to be defragmented.

graphics/18fig23.gif

 < Day Day Up > 


Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 310

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net