Implementing, Managing, and Troubleshooting Disk Devices


Storage needs for computers have changed significantly over time. You could feed the data of hundreds of computers from just 10 years ago into a single computer today and still not fill its hard disk. Part of the reason is that today's data is much different than that of 10 years ago. It includes multimedia files, extended attributes, complex formulas, and WYSIWYG (What You See Is What You Get) formatting. The result is that the size of a single file can be hundreds of megabytes (MB) or larger. So, although storage space has grown, the demand for storage space has increased along with it.

To implement storage devices in Windows XP, you use the Computer Management tool, shown in Figure 7.1. To open Computer Management, right-click My Computer and select Manage from the shortcut menu. Computer Management offers the following tools and utilities:

  • Event Viewer Used for troubleshooting errors

  • Performance Logs and Alerts Used for troubleshooting errors as well as optimizing performance

  • Device Manager Used for configuring devices, updating or uninstalling device drivers, rolling back device drivers, enabling and disabling devices, and troubleshooting

  • Removable Storage Used for configuring, monitoring, and managing removable storage devices, including CD, DVD, optical media, and tape drives

  • Disk Defragmenter Used for defragmenting hard disks

  • Disk Management Used for viewing and managing volume and disk configuration

  • Services Used for starting and stopping services related to a device

  • WMI Control Used for turning error logging on or off or backing up the Windows Management Instrumentation (WMI) repository (in most cases, you will not use this tool)

  • Indexing Service Used for creating indexes of documents on your computer (in most cases, you will not use this service)

    Figure 7.1. The Computer Management tool contains the main administration utilities for disk devices.


Installing, Configuring, and Managing DVD and CD-ROM Devices

Objective:

Implement, manage, and troubleshoot disk devices.

  • Install, configure, and manage DVD and CD-ROM devices.

CD-ROM drives are considered standard equipment on a computer, and DVD-ROM/CD-RW drives are quickly becoming the de facto standard on a new PC. Considering that some drives are not included within the Windows Catalog, there are bound to be some problems. To troubleshoot a problem with your CD or DVD device, you can use the following process:

  • If the CD/DVD or the IDE/SCSI controller is not listed in the Windows Catalog, the next course of action is to contact the original equipment manufacturer (OEM) for a compatible device driver.

  • If the Windows Catalog shows that both the CD/DVD and the IDE/SCSI controller are listed, you need to physically inspect the devices to ensure that they have been installed correctly. If using SCSI, also ensure that the SCSI ID of the device does not conflict with any other SCSI IDs, the SCSI ID of the controller is set to 7, and the SCSI bus has been terminated correctly. If using IDE, ensure that you are using the correct IDE controller. (Windows XP's default IDE device driver is compatible with ATAPI 1.2compliant IDE devices only. If the device is not ATAPI 1.2 compliant, obtain a driver from the OEM and install it.)

After you determine that the device is installed correctly and is listed in the Windows Catalog, you should look in Event Viewer for error messages. The System log contains the events pertaining to hardware devices. As you can see in Figure 7.2, error messages are represented by a red circle with a white "X" in the center. Information messages are represented by a balloon with a blue "I" in the center, and warning messages are represented by a yellow triangle with an exclamation mark in the center. Although not always true, an error is often preceded by one or more warning messages. A series of warning and error messages can describe the exact source of the problem, or at least point you in the right direction.

Figure 7.2. Event Viewer's System log displays any errors or warnings regarding hardware devices.


You should next check to see whether the device is detected by Windows XP and is functioning by checking Device Manager for its listing. You can access Device Manager by right-clicking My Computer, selecting Properties, clicking the Hardware Tab, and then clicking the Device Manager button. Devices that are not functioning are represented by icons with red Xs floating over the device icon. When you right-click a device, a shortcut menu, similar to the one displayed in Figure 7.3, appears. You can select to update the driver, or uninstall or disable the device. You may also scan the device for hardware changes or access the device's properties. Another place to check devices is in the System Information console. You can open it by clicking Start, Run, typing msinfo32, and then pressing Enter.

Figure 7.3. Device Manager provides several options for managing a computer's devices.


When you open the device's Properties dialog box, you can put a variety of configurations into effect, as well as disable or enable the device. The troubleshooting wizard is started from the Troubleshoot button on the General tab of the device's Properties dialog box, which is shown for a network card in Figure 7.4.

Figure 7.4. Windows XP includes a Troubleshoot button in a device's Properties dialog box.


When you click the Troubleshoot button, the Help and Support utility opens and a wizard leads you through a decision tree that helps you narrow down the cause of the device error. The first question in the wizard asks you to specify which device is having problemsa CD/DVD drive, hard disk, network adapter, or a tape drive. (An example of this type of screen is shown in Figure 7.5.) The wizard then prompts you to identify the nature of the problem with the CD/DVD drive. You can select the option that matches your problem and continue on the decision tree. The troubleshooting wizard makes suggestions for repair based on the answers you provided to that point, and then asks you to indicate whether the suggestion worked or not. If you select the negative or opt to skip that step, you are given another suggestion of what might be wrong with the device and how to fix it.

Figure 7.5. The Help and Support troubleshooting wizard walks you through a decision tree to pinpoint the cause of failure.


If you are having problems with CD audio playback, it could be that your device has digital audio playback enabled when the actual device doesn't support digital audio. You can disable digital audio playback by clearing the Enable Digital CD Audio for This CD-ROM Device check box. This option is located on the Properties tab of the Properties dialog box.

If you suspect the problem is confined to the CD or DVD media that you are currently using, you can check the volume for the disc by selecting the Volumes tab in the device's Properties dialog box while the CD or DVD is in the drive. If the CD or DVD was able to mount, you see a description of the volumes contained on the disk.

To investigate the configuration, you can click the Details tab in the Properties dialog box. Click the arrow on the drop-down box and select the various items from the list. Although this dialog box does not allow you to make configuration changes, it displays whether power is being provided to the device, the hardware ID, and more.

For DVD drives, an additional configuration tab is available in the Properties dialog boxthe DVD Region tab. DVD discs are encoded for a specific geographical location, called a region, in which they are intended to be used. A DVD drive reads only the DVD discs that match the region for which it has been configured. A problem presents itself when a user travels internationally, or for some other reason, requires access to DVDs from more than one region. You are allowed to change regions a limited number of times. If a user needs to read DVDs from two different regions on a frequent basis, you should purchase a second DVD drive for that user. For a short-term change to another region, you can configure the new region in the DVD Region tab. Simply select the country where the DVD originated, or a country whose region matches the region indicated by the error message that was received when the DVD was inserted, and click OK to change the region.

The Driver tab in the device's Properties dialog box allows you to uninstall or update the device driver, roll the driver back to an older version, or simply view the driver details. Drivers are often the source of problems with all types of devices. We will walk through how to manage a video device driver in the "Installing, Configuring, and Troubleshooting a Video Adapter" section later in this chapter.

The Properties tab can be used to troubleshoot an array of challenging problems. Table 7.1 displays common problems, and the responses that you can use to troubleshoot them.

Table 7.1. Troubleshooting CD or DVD Errors

Device

Problem or Process

Utility/Solution

Response

Proprietary non-SCSI interface

Installing

Windows XP Setup, Options menu, Add/Remove SCSI Adapters

Verify/install correct device driver.

CD-ROM drive

Can't play audio CD, can read data CD

Control Panel, Sounds and Audio Devices utility, Hardware tab

Verify CD drive is listed. Verify audio codecs.

CD or DVD drive

Disc reading problem

Physically inspect the disc

Verify that CD has no defects or scratches. Clean CD.

CD or DVD drive

Can't play DVD

Device Manager, device Properties, General Tab

Verify device type is DVD drive, not CD-ROM drive.

CD or DVD drive

Disc reading problem

Alternate CD or DVD drive

Test disc in alternate drive.

CD or DVD drive

Error reading multiple discs

Special CD or DVD drive cleaning disc

Clean drive.

CD or DVD drive

Computer stops responding while reading disc

Task Manager (press Ctrl+Alt+Del), Performance tab.

View performance. Exit unnecessary applications.

CD or DVD drive

Computer stops responding while reading disc

Perform a clean boot

Ensure that no unnecessary applications are running. Test the disc in the drive again.

DVD Drive

Cannot play a DVD movie disc

Device Manager, display adapter Properties, Driver tab, Update Driver button

Update the video driver.

DVD Drive

Analog copy protection error

Physical presence of video output cables or older device driver does not support copyright protection on disc. Device Manager, display adapter Properties, Driver tab, Update Driver button

Remove video output cables from video adapter or DVD drive. Update video adapter driver.

DVD drive

Low video memory

Device Manager, display adapter Properties, Driver tab, Update Driver button

Update the video driver.

DVD drive

Low video memory/poor resolution

Control Panel, Display utility, Settings tab, Advanced button, Monitor tab

Lower the refresh rate.

DVD drive

Does not play DVD discs

Firmware version and DVD decoder software versionvalidate compatibility

Update the firmware version; uninstall the DVD decoder software. Install a version that is compatible with Windows XP. This can happen when a computer was upgraded from an older version of Windows.


Some error messages indicate a problem with a CD drive reading a disc, but they are generic types of messages that could lead you to think there was some other error with your system. These messages include the following:

  • A device attached to the system is not functioning

  • A required file kernl32.dll was not found

  • <program> is not a valid win32 application

  • Cannot find the files needed to start this application

  • CDR-101

  • Error Reading From File [Installer Error 1305]

  • Insufficient Memory

  • Not enough memory to run this application

  • Unable to find Setup.exe

  • Unable to read drive D:

Note

Source of CD/DVD error messages The messages in the previous list are from the "How to Troubleshoot CD-ROM or DVD-ROM Read Issues" Web page at http://support.microsoft.com/default.aspx?scid=kb;en-us;218617. This Web page is a valuable reference for CD/DVD troubleshooting.


The computer may also stop responding and does not eject the CD when there is an error reading the disc in the CD drive.

Exam Alert

Know how to perform a clean boot Know when to perform a clean boot, as well as the process to do so. You can customize how Windows XP Professional starts up by clicking Start, Run, typing msconfig in the Open text box, and pressing Enter. Select Diagnostic Startup and then reboot. You may want to simply disable a selection of applications and services, in which case you can use the Selective Startup option and disable the items you want in the resulting dialog box. You can keep this configuration for several reboots, if you need to. After your final reboot, you can restart Windows XP normally by returning to the System Configuration utility (Msconfig.exe), selecting the Normal Startup option, and then rebooting a final time.


Monitoring and Configuring Disks

Objective:

Implement, manage, and troubleshoot disk devices.

  • Monitor and configure disks.

Disk Management, which can be found in Computer Management, displays the disks installed on your computer as well as the volumes configured for the disks. Disks can be either basic (the default) or dynamic. You can convert a basic disk to a dynamic disk but you cannot change back. Your only avenue to reverting to a basic disk is by deleting the dynamic disk, losing the data, creating a new basic volume, and restoring the data from a backup.

The process to convert a basic disk to a dynamic disk requires that you have a minimum of 1MB of available space on the disk. Best practices state that when you make changes to a disk configuration, you should back up the data before starting, just in case you need to restore it after you are finished. Even so, converting a basic disk to a dynamic disk should not have any effect on your data. Step by Step 7.1 walks you through converting a basic disk to a dynamic disk. To perform a conversion, you must be logged on as an administrator of the computer.

Step by Step:7.1 Converting a Basic Disk to a Dynamic Disk

1.

Right-click My Computer and select Manage from the shortcut menu.

2.

Click Disk Management in the left pane.

3.

At the bottom of the right pane, in the gray area that lists the disk numbers of the installed storage devices in the computer, right-click the basic disk that you intend to convert.

4.

Select Convert to Dynamic Disk from the shortcut menu.

5.

Confirm that the check box next to the disk is selected. Click OK.

6.

Click Convert.

7.

At the prompt, click Yes.

8.

Click OK.


The Disk Management utility is fairly comprehensive, but it is not the only tool available in Windows XP to configure or manage disks. Some of these tools hearken back to the days of DOS and Windows 3.x, yet they are still very useful, especially if there is a problem accessing the graphical user interface (GUI).

  • Chkdsk.exe Command-line utility that verifies and repairs FAT- or NTFS-formatted volumes. (For NTFS drives, use the CHKDSK C: /R command to automatically check and repair disk problems.)

  • Cleanmgr.exe Also known as Disk Cleanup, a GUI utility that deletes unused files.

  • Defrag.exe Also known as Disk Defragmenter, a command-line utility that rearranges files contiguously, recapturing and reorganizing free space in the volume. Optimizes performance.

  • Dfrg.msc Also known as Disk Defragmenter, a GUI utility that performs the same actions as Defrag.exe.

  • Diskpart.exe A command-line utility that can run a script to perform disk-related functions. Diskpart's nearest GUI counterpart is the Disk Management utility.

  • Fsutil.exe A command-line utility that displays information about the file system and can perform disk-related functions.

When you use fault-tolerant volumes, a disk can fail and the operating system will continue to function. The failure can be repaired with no loss of data. Most Windows XP Professional workstations do not have fault-tolerant volumes. An administrator should understand how to handle the errors that can plague a hard disk. Common problems are listed in Table 7.2.

Table 7.2. Troubleshooting Disk Errors

Error

Problem or Process

Possible Repairs

Non-system disk

Computer is trying to boot from a disk without a boot volume

Remove any non-system disks from the floppy or CD-ROM drives.

  

Repair the boot volume using Windows Recovery Console.

There is not enough memory or disk space to complete the operation

Disk is full

Free up space on the hard disk by deleting files, removing applications, or compressing files.

  

Add another disk and extend the volume to span both disks.

NTLDR is missing

Primary partition is marked as active but does not contain boot files

Copy Ntldr, Ntdetect.com, and Boot.ini to the boot volume using Windows Recovery Console.

  

Boot up with a floppy. Use FDISK to mark the boot volume as active.

Missing Operating System

No active partition is defined

Check the BIOS settings and configure if they incorrectly identify the boot disk.

  

Boot up with a floppy. Use Diskpart.exe to mark the boot volume as active.

  

Use Windows XP Recovery Console to repair.

  

Reinstall Windows XP.

Non-System Disk or Disk Error

Basic Input Output System (BIOS) generates this error when the master boot record (MBR) or boot sector is damaged, or when a different device is configured as the boot device in the BIOS

Check the BIOS and reconfigure, if necessary.

  

Remove any non-bootable floppy disks from the PC.

  

Repair the boot volume with Windows Recovery Console.

  

Reinstall Windows XP.

  

Replace the hard disk.

Invalid Media Type

Boot sector is damaged

Repair the boot volume with Windows Recovery Console.

  

Reinstall Windows XP.

  

Replace the hard disk.

Hard disk controller failure

BIOS's disk controller configuration is invalid, or the hard disk controller has failed

Check the BIOS and reconfigure controller.

  

Replace the hard disk controller.


Monitoring, Configuring, and Troubleshooting Volumes

Objective:

Implement, manage, and troubleshoot disk devices.

  • Monitor, configure, and troubleshoot volumes.

When you convert a basic disk to a dynamic disk, the existing partitions are converted to simple volumes and fault-tolerant volumes are converted into dynamic volumes. Dynamic volumes can be changed on the fly, as the name "dynamic" implies. A dynamic volume is a unit of storage initially created from the free space on one or more disks. Table 7.3 lists the volume types available on a dynamic disk.

Table 7.3. Dynamic Volume Types

Volume Type

Number of Disks

Configuration

Fault Tolerance

Boot

N/A

The volume that contains the %systemroot% files (usually C:\Windows).

Fault tolerant if Windows XP is installed on a mirrored or RAID-5 volume.

System

N/A

The volume that contains the Ntdetect.com, Ntldr, and Boot.ini files (usually C:\).

Fault tolerant only if these files are placed on a mirrored or RAID-5 volume.

Simple

1

A single region or multiple concatenated regions of free space on a single disk.

None

Spanned

2 to 32

Two or more regions of free space on 2 to 32 disks linked into a single volume. Can be extended. Cannot be mirrored.

None

Striped

2 or more

Multiple regions of free space from two or more disks. Data is evenly interleaved across the disks, in stripes. Known as RAID Level 0.

None

Mirrored

2

Data on one disk is replicated on the second disk. Cannot be extended. Known as RAID Level 1.

Yes, with maximum capacity of the smallest disk.

RAID 5

3 to 32

Data is interleaved equally across all disks, with a parity stripe of data also interleaved across the disks. Known as RAID-5 or striping with parity

Yes, with maximum capacity of the number of disks minus one (if you have five 100GB disks, your volume would be 400GB).


Note

Booting from the system partition Terms for partitions are backward because the computer boots from the system partition, and the operating system resides on the boot partition.


The disadvantages of a dynamic disk are the following:

  • The disk does not contain partitions or logical drives, and therefore can't be read by another operating system.

  • Laptop computers do not support dynamic disks, nor do USB drives or removable disk drives.

Caution

RAID-5 and mirrored volumes Don't confuse the RAID-5 or mirrored volumes that you can create within the Windows XP operating system with RAID-5 or mirrored drives that are configured in a hardware storage array. A disk array produces a highly performing, fault-tolerant volume that appears in Windows XP Disk Management as a simple volume. When you create mirrored or RAID-5 volumes in Windows XP, you achieve fault tolerance but lose some performance to disk management processes, especially if a disk fails.


When you add a new disk to an existing Windows XP Professional computer, or when you want to create a new partition (also known as a basic volume) from the free space on an existing disk, you can follow the process shown in Step by Step 7.2.

Step by Step: 7.2 Using Disk Management to Create a New Partition

1.

Right-click My Computer and select Manage from the shortcut menu.

2.

Select Disk Management in the left pane.

3.

Locate the disk in the right pane that contains the unallocated space where the new volume will reside.

4.

Right-click on the unallocated space of the disk, and select New Partition from the shortcut menu.

5.

The New Partition Wizard starts. Click Next.

6.

Click the type of partition to createPrimary, Extended, or Logical drive. Click Next.

7.

Type the size of the partition as a number of megabytes. Click Next.

8.

Assign a drive letter. (If you do not assign a letter, when you click Next the system automatically generates one.) Click Next.

9.

Select how to format the partition. (You can opt to leave the partition unformatted.) Click Next.

Note

Process for formatting a partition If you are formatting the partition, you will be prompted to select the file system and provide a volume name, perform a quick format, enable file and folder compression if using NTFS, and change the size of the disk allocation units.

10.

Review the configuration and click Finish. Windows XP creates the partition and displays its information in the Disk Management window. The formatting process begins, if elected.


To view how a partition is configured, you can look at its properties in the Disk Management utility. Right-click the partition and select Properties from the shortcut menu. The General tab is displayed, as shown in Figure 7.6, which provides an immediate view of the space allocation on the disk in a pie chart. The General tab also allows you to type a volume name and to click a button that executes the Disk Cleanup graphical utility.

Figure 7.6. A volume's properties displays its space allocation.


The Tools tab has two buttons, as follows:

  • Check Now Executes the GUI version of Chkdsk

  • Defragment Now Executes the GUI version of Defrag

The Hardware tab displays the storage device hardware for the computer. From this tab, you can select a storage device, and then click the Troubleshoot button to launch the Drives and Network Adapters Troubleshooter Wizard. You can also click the Properties button to view the hardware's Properties dialog box. Keep in mind that, in Windows XP Professional, a volume or partition is considered a logical object separate from the physical device, which is why a volume has a separate Properties dialog box from the hardware device on which it resides.

The Sharing tab enables you to share the entire drive. This is not considered a good practice. It is often unnecessary because the computer automatically generates an administrative share for each partition when Windows XP starts.

You can delete a logical drive or partition easily from within the Disk Management utility. Simply right-click the logical drive and select Delete Logical Drive from the shortcut menu, as depicted in Figure 7.7. If you right-click a partition, the shortcut menu includes Delete Partition instead of Delete Logical Drive. A prompt appears to verify that you want to have the logical drive or partition deleted. When you click Yes, Windows XP deletes the drive or partition. Windows XP prevents you from deleting the system partition, the boot partition, or any partition that contains its swap file for active paging. Extended partitions can be deleted only if they are empty of data and logical drives.

Figure 7.7. The Disk Management utility enables you to delete a partition or logical drive.


After converting basic disks to dynamic disks in Windows XP Professional, you can begin configuring dynamic volumes. Step by Step 7.3 discusses how to create a spanned volume and how to create a RAID-5 volume. (The process to create a simple volume is nearly identical to the process for creating a partition on a basic disk, which is provided in Step by Step 7.2.)

Step by Step: 7.3 Using Disk Management to Configure Dynamic Volumes

1.

Open Disk Management.

2.

To create a simple volume, right-click the free space on a dynamic disk.

3.

Select New Volume from the shortcut menu.

4.

The New Volume Wizard starts. Click Next.

5.

Select Spanned Volume and click Next.

6.

Under All Available Dynamic Disks, select at least two disks where the spanned volume is to be created. Click Add.

7.

Specify the size of the volume to use from each disk. Click Next.

8.

Assign a drive letter. Click Next.

9.

Choose not to format this spanned volume for this exercise, and click Next. Confirm your selections and click Finish. The spanned volume appears in the Disk Management window.

10.

The process to create a RAID-5 volume differs very little from creating a spanned volume. To create a RAID-5 volume, right-click the free space within a dynamic disk.

11.

Select New Volume from the shortcut menu.

12.

The New Volume Wizard starts. Click Next.

13.

Select RAID-5 and click Next.

14.

Under All Available Dynamic Disks, select at least three disks to contain the RAID-5 volume.

15.

Specify the size of the free space to use from each disk. This space must be equal for each disk. Click Next.

16.

You can now specify the volume's drive letter and formatting options.

17.

Confirm your selections. Click Finish. The RAID-5 volume appears in the Disk Management window.


Dynamic volumes allow you to change their properties on an as-needed basis. If you have a computer, for example, that is running short of space, you can install an extra hard drive and extend an existing simple or spanned volume so that the new space is immediately available without directing the user to use drive J for this data, drive C for that data, drive Y for the network, and so on. Users find multiple drive letters confusing, so being able to keep it all under one letter is highly preferable. Unfortunately, you cannot extend a system volume or a boot volume. Because most computers are installed with a single volume, C:, which includes boot and system files, any volumes created on a new disk added to the computer must have a separate drive letter from the C: drive.

Note

Extending volumes has restrictions Only existing simple or spanned volumes can be extended. They cannot be system or boot partitions, and they cannot be formatted with FAT or FAT32.


To increase the size of a simple volume, in Disk Management, right-click the existing volume and select Extend Volume from the shortcut menu. The Extend Volume Wizard starts and you are prompted to select the disk or disks that contain the free space you will be adding. After you specify the size of free space to add, you need to confirm your options and click Finish. The volume is extended and appears in the Disk Management window with new space allocated to it.

Exam Alert

Mounting a volume You might be quizzed on your knowledge of how to mount a volume to an existing drive or even a folder path. You can mount a new volume only to an existing empty folder path on an NTFS-formatted volume. To mount a volume, you can use Disk Management, right-click the graphical view of the volume, and select Change Drive Letters or Paths.


When you view a volume in Windows XP Professional, you see one of several statuses:

  • Healthy This status is normal, and means that the volume is accessible and operating properly.

  • Failed This status means that the operating system could not start the volume normally. Failed usually means that the data is lost because the disk is damaged or the file system is corrupted. To repair a failed volume, physically inspect the computer to see whether the physical disk is operating. Ensure that the underlying disk(s) has an Online status in Disk Management.

  • Formatting This status is temporary, appearing only while the volume is being formatted.

  • Unknown This status means that you've installed a new disk and have not created a disk signature, or that the boot sector for the volume is corrupt, possibly because of a virus. You can attempt to repair this error by initializing the underlying disk by right-clicking the disk and selecting Initialize from the shortcut menu.

  • Data Incomplete This status appears when a disk has been moved into or out of a multi-disk volume. Data is destroyed unless all the disks are moved and imported on the new computer.

  • Healthy (At Risk) This status indicates I/O errors have been detected on an underlying disk of the volume, but that data can still be accessed. The underlying disk probably shows a status of Online (Errors) and must be brought back online for the volume to be corrected.

  • Data Not Redundant or Failed Redundancy For a mirrored or RAID-5 volume, this status usually means that half of a mirrored volume was imported, or that half is unavailable, or that only part of the underlying disks of a RAID-5 volume were imported. You should import the missing disk(s) to re-create the volume. You can also break the mirror and retain the half that is functioning as a simple volume. If you have all but one of the underlying disks of a RAID-5 volume, you can re-create the RAID-5 volume by adding unallocated space of a different disk.

  • Stale Data This status is shown when you import a disk that contains a mirrored volume half, or a portion of a RAID-5 volume, with a status other than Healthy before it was moved. You can return the disk to the original PC and rescan the disk to fix the error.

When you see a status other than Healthy for your volumes, or other than Online for your disks, you can attempt to repair by selecting the Rescan Disks option from the Action menu in Disk Management.

Challenge

You have been tasked with installing a Windows XP Professional computer with two identical SCSI 100GB hard disks, a 120GB hard disk, and a 200GB hard disk. The computer is used for a business-critical database application in which users download data from a network database and then process the data into reports that are archived for up to 12 months. It is imperative that a disk does not fail during the report generation process. You need to create a single volume that will provide the maximum amount of space across the disks. You decide to implement a striped disk with parity, using the Diskpart.exe utility.

Your task is to convert a basic disk to a dynamic disk, using Diskpart.exe, and then use the Diskpart.exe tool to create a striped volume. Keep in mind that you can perform both tasks with either the Diskpart.exe tool or the Disk Management utility as described in Step by Step 7.3. Try to work through the required steps on your own. If you have difficulty, refer to the following steps:

  1. Install the hardware on the Windows XP computer and start the computer.

  2. Click Start, Run, type cmd, and press Enter.

  3. At the prompt, type diskpart and press Enter.

  4. Type list disk and press Enter. The screen displays the disks in the computer along with the information about each. Look for the disks that you have just installed. Note that each of the new disks is, by default, a basic disk.

  5. Type select disk n, where n is the number of the disk that you will be converting to a dynamic disk. The select disk n command moves the focus to the new disk. (This is similar to typing D:\ when you are at a C:\ prompt.) If you already have disks numbered 0 and 1 in the computer, Windows XP automatically numbers disks sequentially; therefore, the disks will be numbered 2, 3, 4, and 5.

  6. Type convert dynamic and press Enter.

  7. Repeat steps 5 and 6 until all disks have been converted. To create a volume that is striped with parity, you will lose some disk space. You can create a RAID-5 volume with 300GB of space, using 100GB from the two smallest disks and 100GB each from the larger disks. Note that 100GB of this 400GB total space will be used as parity. The unpartitioned space will be 20GB on one disk and 100GB on the largest disk. You will be creating a RAID-5 volume. The benefits of RAID-5 are that the volume is fault tolerant and that the data can be written quickly to disk. A simple volume, spanned volume, or striped volume is not fault tolerant. The spanned volume and the striped volume maximize the space on the hard disks. A mirrored volume provides fault tolerance, but it creates a volume that is only the maximum size of the smallest of the two disks. The RAID-5 volume meets the business objectives because it has the fault tolerance to ensure there will be no volume failure during the computer report generation.

  8. Type create volume raid size=100000 disk=2,3,4,5. The size parameter is the amount of space that the RAID-5 volume will occupy on each disk in terms of megabytes. You can leave this parameter blank if you intend to use the maximum space available on the disks that can participate in the RAID array.


Monitoring and Configuring Removable Media, Such as Tape Devices

Objective:

Implement, manage, and troubleshoot disk devices.

  • Monitor and configure removable media, such as tape devices.

Backup systems are notoriously never used for workstations, yet often that is where a user's most business-critical data resides. Any removable media can work for a backup system. With the proliferation of CD-RW and DVD writable discs, you could implement a backup system using those types of discs. Traditionally, making a tape backup is the practice used.

In Computer Management, there is a utility specifically geared toward tape drives, optical media drives, and CD-RW drives. It is called Removable Storage. To access this utility, right-click My Computer and select Manage. In the resulting Computer Management console, click Removable Storage in the left pane. You see the screen shown in Figure 7.8.

Figure 7.8. The Removable Storage window enables you to manage backup devices.


The Removable Storage window allows you to create a media library that can then be organized and managed for backups, which has been traditionally a capability in third-party backup software packages. The Removable Storage window displays available backup devices. You can view the devices' properties and manage them in this window as well.

CDs, DVDs, and tapes almost always have a primary partition that is the full size of the media. You usually cannot create an additional partition, extended partition, logical drive, or any type of dynamic volume. However, if the media does not have a primary partition, you can generate one.

An ordinary user does not have the rights required for backing up a Windows XP computer. You must add the user, at a minimum, to the Backup Operators group for the user to be able to create a media library and then perform backups.

Many portable backup devices connect to a computer's parallel port and are often the backup device of choice for a workstation. A problem occurs when the computer's parallel port is configured as a bidirectional port, Enhanced Parallel Port (EPP), or an Extended Capabilities Port (ECP) because Windows XP does not support these port types for a backup device. To resolve this issue, you must go into the computer's BIOS and return the parallel port to standard, unenhanced behavior.

Any backup device, whether or not it is Plug and Play, can be installed on a computer running Windows XP as long as the device is listed in the Windows Catalog. To install a backup device, you must first install the device physically in the computer while it is off, and then boot the computer. Log on as an administrator-level user on the computer so that you have the rights to install a new device driver. You should then allow Windows XP to attempt to detect the drive.

Plug and Play devices are simple to install. When Windows XP initially installs, Windows XP Setup performs an inventory of the devices on the computer and records them in the registry. Later, when you add a device, Windows XP detects the new device and determines that it is not a member of the existing inventory of hardware. Windows XP finds the Plug and Play ID for the device and compares it to the INF files that contain information about device drivers. If the device's Plug and Play ID is found, a compatible driver is available within Windows XP, and it installs with very little, if any, user input. If the device is not found in the INF files, the Found New Hardware Wizard starts and requests the media that contains the OEM's driver.

When the device is not Plug and Play, you need to open Control Panel and start the Add New Hardware Wizard. Some devices do require a specific installation procedure that is proprietary to the manufacturer. The manufacturer's documentation should provide the installation method if it differs from that of Windows XP.

Review Break

You should have an understanding of the following fundamentals after having read the previous portion of this chapter:

  • The majority of disk, removable media, and volume management tasks can be handled in the Computer Management console. You can access this console in Administrative Tools within Control Panel or by right-clicking My Computer and then clicking Manage in the shortcut menu.

  • To install disks or CD or DVD drives, you first install the hardware device. Next, you allow Windows XP to detect the device. Finally, you install the device driver if Windows XP does not automatically install it for you.

  • The Disk Management console, Device Manager, Event Viewer, and System applet are all helpful in monitoring and managing disks.

  • The Diskpart.exe command-line utility, instead of the GUI Disk Management console, can be used to conduct disk management tasks.

  • Always consider that the BIOS or the device driver may be at fault for failures with a hardware device. Check with the device's manufacturer for a driver that is Windows XP compatible, preferably both certified and quality tested. You can use the Device Manager utility to update device drivers.




Exam Prep 2. Windows XP Professional
MCSA/MCSE 70-270 Exam Prep 2: Windows XP Professional
ISBN: 0789733633
EAN: 2147483647
Year: 2004
Pages: 193

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