Monday, June 9, 2008

RAIDing Windows XP: How to Install Windows XP on a RAID Array of Hard Disk Drives

INTRODUCTION. This article will show you step-by-step how to set up simple RAID configurations of hard disk drives and how to install Windows XP on them.

WHAT IS RAID?

A RAID, or Redundant Array of Inexpensive Disks, is a collection of disk drives that collectively act as a single storage system. In other words, two or more hard disk drives which are grouped together and appear as a single disk drive. Or, in practice, it can also be two or more disk partitions grouped together and appear as a single partition/logical drive. A partition or volume is just that, a demarcated and contiguous section of a drive which appears like a drive--a logical drive. There are six levels of RAID and the features of more than one level can combined in a RAID. The Highpoint HPT37x series of RAID controllers discussed in this article supports three common flavors of RAID used in PCs:

  • Stripping (RAID Level 0). Provides performance (not redundant as implied in the acronym). Data is evenly spread over identical drives. That is, parts of file can be spread over more than one drive. Data can be read and written in parallel. Performance is very good. Failure of any one disk in the array results in data loss. This kind of RAID would be good for storing large files of temporary nature, but you sure wouldn't want to put you accounting package on one.

  • Mirroring (RAID level 1). Provides redundancy. Two drives duplicate each other identically. If one drive fails, all of the data is available on the other one. The read performance of mirrored drives can be increased through load balancing and elevator sorting (I won't go into elevator sorting here). Simply put, when data is requested it is read from the least busy drive. Put that accounting package on this one; I did. But remember it is possible for Windows to "scribble" on a hard disk. In this arrangement, a scribble on one drive is more than likely a "scribble" on both drives--mirrored garbage is garbage.

  • Striping/Mirroring (RAID 0+1 or 0/1). Provides performance and redundancy. Two sets of stripped drives (four drives in the case of the HP37x controllers) are mirrored. This arrangement may be fast and redundant, but it is also expensive and complicated.
  • JBOD (Just a Bunch Of Disks). Is not really a RAID in the sense that it provides the data protection and/or higher performance. But, rather, it simply combines multiple drives into a single volume with larger capacity that can span the drives. The multiple drives look like one drive to the operating system.

This article covers the installation of the first two RAID configurations and leaves the other two as an exercise for the reader.


EXAMPLE SYSTEM

Our example system for this article has a Abit KX7-333R DDR Athlon Motherboard and was built using the instructions in How to Build a Computer with an AMD Socket A Athlon or Duron Processor and augmented How to Install the Abit KX7-333/KX7-333R Motherboard.

The KX7-333R motherboard has a built-in Highpoint HPT372 RAID controller chip. The HPT37x series of RAID controllers are covered in more detail in our guide to the Highpoint HPT370 ATA/100 RAID Controller Chip. Two 80 Mbyte Western Digital Special Edition Caviar ATA/100 hard disk drives were used for the RAID configurations. In general, the procedures used in this article are applicable to other hard disk drives and to many other motherboards with RAID controllers, as well as to RAID controller expansion boards.

Windows XP Professional was installed. Other versions of Windows XP, including the upgrade version, will work fine. The upgrade version can be installed on a bare RAID configuration if you have a CD from and older version of Windows 98, etc. available for it to check during the installation.

HARDWARE CONFIGURATION

Please use care when handling hard disk drives.

Both drives used in this article were left at their factory jumper configurations, chip select (CSEL) for this installation. Setting one drive as a Master and the other as a Slave (use dual drive settings) will also work.

The drives were installed in an Antec SX840 case and connected to the two motherboard RAID IDE interface connectors (the yellow ones) with two 80-conductor ATA/66/100 IDE hard disk cables. See Install the Drives for the basic procedures used for installing hard disk drives. The red stripe on the cables goes to pin 1 of the RAID connectors on the motherboard and on drives. The stripe is blue on some cables I've seen. On this mother board Pin 1 is towards the front of the board. On the drives Pin 1 is adjacent to the power connector. The connector at the very end of the end of the cable with two connectors plugs into the drive. It is usually black and may be marked Master. The connector at the other end of the cable plugs into the motherboard. It is usually blue and may be marked System. The unused connector is usually gray and may be marked Slave. The gray connectors would be used for the two additional drives used in a RAID 0/1 configuration. Only the two bottom drives in the above picture were connected for this article. It is important that the drives are kept cool to the touch. The Antec SX840 case does that even with three drives stacked one above the other as shown.

1. BACKUP AND PROTECT YOUR DATA. If you have anything valuable on any drives in the computer, please take the time to back them up or make absolutely sure the drives with data are not connected.

2. DOWNLOAD THE RAID CONTROLLER DRIVER. Windows XP may already have a driver for your particular RAID controller and it may or may not work. Windows XP does have a driver for the Highpoint HPT372 RAID controller, but after installing windows XP the first time, we ran into problems with it. So, we downloaded and installed vesion 2.34 of the driver from Abit's web site and it works fine.

Highpoint's web site states: The BIOS updates posted on this site are only suitable for use with PCI card Host Adapters, not motherboard/HPT3xx chipset combinations. Please visit the motherboard manufacturer's website for the proper download.

3. Expand the drv234.exe file by double-clicking it and copy the resulting driver folders and files to a floppy disk.


No comments: