home - news - articles - forums - gallery - user reviews - store - about - login - links - teams
 

 
 Home > Hardware Articles [ Submit an Article
Windows Software RAID Guide
By: Darrell Brown
Date: 2/4/2004
Views: 505671
 
Post a Comment | Receive Email Updates  

If you’ve ever had the desire to RAID your hard drives for increased performance, but didn’t want to shell out the cash for additional hardware, then here is a practical solution for you. You can utilize a software RAID system through the use of dynamic disks if you happen to be the lucky owner of Windows 2000 or XP (Pro/Server).

Microsoft's Definition of Dynamic Disks (‘dem fellers is smart)

Dynamic disks provide features that basic disks do not, such as the ability to create volumes that span multiple disks (spanned and striped volumes), and the ability to create fault-tolerant volumes (mirrored and RAID-5 volumes). All volumes on dynamic disks are known as dynamic volumes and can only be accessed by Windows 2000 or XP. You can perform the following tasks only on a dynamic disk:

  • Create and delete simple, spanned, striped, mirrored, and RAID-5 volumes.
  • Extend a simple or spanned volume.
  • Remove a mirror from a mirrored volume or split the volume into two volumes.
  • Repair mirrored or RAID-5 volumes.
  • Reactivate a missing or offline disk.
  • Check disk properties, such as capacity, available free space, and current status.
  • View volume and partition properties such as size, drive letter assignment, label, type, and file system.
  • Establish drive letter assignments for volumes or partitions, optical storage devices (for example CD-ROM), and removable drives.
  • Establish disk sharing and security arrangements for volumes and partitions formatted with NTFS.

RAID 101 - The Condensed Version

RAID = Redundant Array of Independent Disks. The key word here is redundant. RAID was developed for data backup reasons on file servers. The basic idea is to have two or more hard drives in a system and when data is written on one, the same data is duplicated on the other (mirroring), and quicker than you can say “deathstar” you have a reliable backup to your data. It was discovered that if you could care less about your data, and just wanted a screaming machine that you could configure two or more drives to act as one. So one set of data is split and written to multiple disks, and you know the old adage “two heads are better than one,” well in this case it is certainly true. Two drives retrieving or writing a file at the same time (striping) increases the efficiency significantly. Now of course there are several possible configurations for striping and mirroring drives in the same array, but since I’m one of those who could care less about my data, I will focus on striping and increasing performance.

Be aware that if you decide to undertake this delicate procedure that your data is at risk. If you have one drive go down then you’re your RAID configuration is no longer valid. Remember, striping splits your data among the drives, so if you lose a drive to failure you won’t be able to access the half files left behind on the good drive!

Just Like the Boy Scouts, Be Prepared!

Windows itself cannot reside on a striped partition. Does that mean you have to have a third drive just for Windows? No! Three drives? Money doesn’t grow on trees you know. Remember, we are being cheap..err…frugal here. However, if you happen to be independently wealthy, just as two heads are better than one, three must be thrice as good, and four must be force as good, huh?

You can pull this off without a format and reinstall of Windows if you already have Windows on its own partition. My recommendation is to back up your data and start from scratch.

Since I’ve convinced you to wipe your drives now, give some consideration to how you will be partitioning them. Keep in mind that to do software RAID it is not necessary to have matched drives. You could get this done with an 80GB and a 40GB without giving up drive space. This is an advantage over hardware RAID, which requires like drives to retain all drive space. However, even in the software setup, I would suspect performance would take a hit if one drive was significantly slower than the other, or the buffers were different sizes.

Here is how I partitioned using two 80GB Maxtor drives:

  • C: =10GB single drive for Windows
  • E: = 100GB on two drives (50GB on each drive striped).
  • F: =10GB Single drive for backups
  • G: = 25GB Single drive for downloads
  • Z: = 2GB on two drives (1GB on each drive striped) for the swapfile

Since Windows can’t be on a striped partition, and I would like to get the maximum benefit from striping, this is the volume on which I keep all program files and data such as My Documents, My Pictures, My Music, etc, etc, etc…. You may be asking yourself “how in the name of Pete do you move all that Windows stuff to a drive that doesn’t contain Windows?” Well, I could tell you, but then I’d have to kill you. Seriously, if you desire this information, feel free to contact me.

For you visual types, here you go:

If you’re wondering what the 5.33 GB of unallocated space is for, that’s reserved for the day I figure out how to install Linux on a Windows dynamic disk  :p

One more thing, whether you use two, three, or four disks; the biggest performance gain is when each drive is on its own channel. In order to accomplish this with more than two drives, the addition of a PCI controller card is required. There we go spending money on hardware again, but the good news is an IDE controller is much less money than a quality RAID controller.

Throwing Caution to the Wind

Now we get down to the nuts and bolts. Turn off your computer and physically place each hard drive on its own channel. If for some reason you can’t get this done with your system don’t despair. You will still be able to do this, but the results just won’t be as good.

Next we need to do a clean install of Windows. What we are trying to accomplish with this step is to remove all partitions and create just one small one for Windows. The size is up to you, keep in mind that without a swapfile, My Documents, or program files; WinXP pro will take less than 2GB after the installation of SP1. You do need extra room to grow for things like system restore, the registry, and the many other things Windows manages to bloat it self with. Also, you will want free space to allow for later drive defragmentation. My recommendation is 5 to 10GB. After Windows is installed get all your updates done and your hardware installed.

Now that you have a nice fresh install of Windows and everything is working and up to date, right click on My Computer and click on “Manage”, this will bring up the Computer Management console. Just like everything else in Windows there are many ways to get to this, this is the one I prefer. Click on Disk Management and it will bring up a screen similar to the earlier image.

Convert all hard drives to dynamic by right clicking in the disk info box to the left of the partition graph and clicking on convert to Dynamic Disk. Select all drives that will be used for striping, follow the directions, read the warnings, and finish. Note in these images my drives are already converted and partitioned so options are grayed out or missing for me that won’t be for you.

Now that you have dynamic disks, you can create your volumes (partitions) on them. Simply right click anywhere in the unallocated space of the drive where you want the partition be and select “new volume”. Now there will be a wizard to guide you through the process.

You will have a choice of simple, spanned, striped, and mirrored. The wizard provides descriptions of each selection. Be careful of the difference between striped and spanned, spanned will not give a performance increase. We will be using simple or striped. Depending on how you planned out your partitions make the appropriate choice and continue.

Next, for a simple volume, make sure the appropriate drive is selected and for striped volumes make sure all drives are selected. Dial in the size of the partition, for striped volumes this number will be the amount of space taken on one drive and the total size of the partition will be this number times the number of drives involved. For example if you were using two drives and you selected 10MB, the total partition size would be 20MB, 10 on each drive.

Continue and select a drive letter. Click next and select your file system, allocation unit size, and the name you want on this drive. I went with NTFS and default allocations.

Clicking next will give you an overview of what you selected, if it looks ok click finish. Continue in this manner until you have your drives partitioned the way you want them.

Now you are ready to move Your Documents and the pagefile off of the windows partition and on to the new ones you created. Install your software and you’re done. Bear in mind that most installs default to C:\Program Files, so remember to change the path when installing.

System as Tested

Processor:

AMD Athlon 2200+

Motherboard: MSI KT7 Ultra 2 KT133A
Graphics Card:

ATI Radeon 9800 AGP

Memory:

768MB PC-133 SD-RAM

Hard Drive: 2x Maxtor 80GB 7200RPM 2MB Cache
Software: Windows XP Pro SP1

SiSoft Sandra is utilized for hard disk performance testing. As you can see my system is not state of the art, yet my results were significant during testing.

Default Drive Performance

Software RAID Performance

Conclusion

This seems to be a good way to squeeze some extra performance from one of the slowest parts of your PC. I have noticed a significant improvement in load time, especially for games. The performance improves greatly with three and four drives, but I’m sure that is getting close to or exceeding the limits of the current PCI bus. Have fun and enjoy your new found performance boost.

Pros:

  • Inexpensive
  • Good performance increase
  • Easy to configure
  • No need for matched drives
  • Can do spanning and mirroring also

Cons:

  • Dynamic disks are only recognized by Windows 2000 or later
  • Small increase in CPU loading
Author
Thread Post A Reply 
Turnip12
Member

Registered: 10/2001
Posts: 177

Good read, but is this information current? The list of things you can do only if it's a dynamic disk seems to be off. Disk properties are available on basic disks, you can establish drive letters on basic disks, and sharing and security options are available on basic disks (if formatted with NTFS).

Turnip12 is offline 2-2-2004 2:47pm
Click Here to See the Profile for Turnip12 Click here to Send  a Private Message Visit Turnip12 homepage! Find more posts by Turnip12 Add Turnip12 to your buddy list Edit/Delete Message
darrelld
Ultimate Member

Registered: 9/2001
Location: Oregon
Posts: 1205

www.mysafetnet.com

I thought that too, but that was straight from the MS help file so I didn't change the info.

darrelld is offline 2-2-2004 5:38pm
Click Here to See the Profile for darrelld Click here to Send  a Private Message Visit darrelld homepage! Find more posts by darrelld Add darrelld to your buddy list Visit this user's gallery. Edit/Delete Message
M_Six
Free Thinker

Registered: 9/2001
Location: Charleston, Illinois
Posts: 4522

Sys Admin, cat lover, wine drinker

I'm confused. I've followed these directions numerous times and I've never had any options except Simple Volume. The others are always grayed out. And the following is from the Disk Management Help files in XP:

You can create mirrored volumes only on computers running Windows 2000 Server, Windows 2000 Advanced Server, or Windows 2000 Datacenter Server.

So how did you get yours to work?

M_Six is offline 2-2-2004 10:30pm
Click Here to See the Profile for M_Six Click here to Send  a Private Message Visit M_Six homepage! Find more posts by M_Six Add M_Six to your buddy list Edit/Delete Message
darrelld
Ultimate Member

Registered: 9/2001
Location: Oregon
Posts: 1205

www.mysafetnet.com

I accomplished it just as I wrote, that is step by step how I did it. This was intended for striping drives, which is what I did, I didn't check into mirroring and RAID 5 thoroughly. You are right that these two options are for the server versions only. As far as not having options available for striping and spanning, I don't know why that is happening. Perhaps you can post in the forums with your specs and details.

darrelld is offline 2-3-2004 10:59am
Click Here to See the Profile for darrelld Click here to Send  a Private Message Visit darrelld homepage! Find more posts by darrelld Add darrelld to your buddy list Visit this user's gallery. Edit/Delete Message
M_Six
Free Thinker

Registered: 9/2001
Location: Charleston, Illinois
Posts: 4522

Sys Admin, cat lover, wine drinker

Actually I was trying to create a mirror. Unsuccessfully, I might add. Don't think it can be done. Haven't tried striping. Good article.

M_Six is offline 2-3-2004 9:35pm
Click Here to See the Profile for M_Six Click here to Send  a Private Message Visit M_Six homepage! Find more posts by M_Six Add M_Six to your buddy list Edit/Delete Message
davidamarkley
Ultimate Member

Registered: 4/2002
Location: Joplin, MO
Posts: 2353

I'm 20 and love anything about computers.

Great article.

Yes, without an adapter card, Windows 2000/XP do not feature any redundancy arrays for their harddisks. Only Windows 2000 Server/Adv. Server/Datacenter, and Windows 2003 Server and up feature redundancy through software.

It is possible, however, to have redundancy through adapter cards as mentioned before (And, it might be a little better performance than the aforementioned software redundancy).

Rating: 5/5 

davidamarkley is offline 2-5-2004 12:03am
Click Here to See the Profile for davidamarkley Click here to Send  a Private Message Visit davidamarkley homepage! Find more posts by davidamarkley Add davidamarkley to your buddy list Edit/Delete Message
golfcart
Ultimate Member

Registered: 9/2001
Location: Michigan
Posts: 1769

Very good info. Thanks darrelld, I just learned something new :)

golfcart is offline 2-10-2004 11:18pm
Click Here to See the Profile for golfcart Click here to Send  a Private Message Visit davidamarkley homepage! Find more posts by golfcart Add golfcart to your buddy list Edit/Delete Message
elmers
Ultimate Member

Registered: 8/2003
Location: Philadelphia
Posts: 1484

Hey great article. My setup was a little different with lots of different file sistems, different size drives and a bunch of files I wanted to save. Had to make a spanned partition then delete it to get an empty partition in between the files I wanted to save and the winxp istallation on one drive, but it seems to be working now. Thanks for the info! Rating: 5/5 

elmers is offline 2-15-2004 7:23pm
Click Here to See the Profile for elmers Click here to Send  a Private Message Visit elmers homepage! Find more posts by elmers Add elmers to your buddy list Edit/Delete Message
tcochard
Junior Member

Registered: 8/2004
Posts: 1

Do both disks have to be dynamic or can I leave the boot/system disk untouched and just make the second one dynamic.

Currently I have a remote server with Windows 2000 Server on it. It has 2 identical drives. Both are set up as Basic disks right now. I really do not want to lose all of my information on the first drive. Can I keep it as a basic disk and make the second one dynamic and still set up Software RAID for mirroring?

Rating: 4/5 

tcochard is offline 9-8-2004 11:03am
Click Here to See the Profile for tcochard Click here to Send  a Private Message Visit elmers homepage! Find more posts by tcochard Add tcochard to your buddy list Edit/Delete Message
nirav
Junior Member

Registered: 8/2004
Posts: 1

good article!! one question. I have two HDD (20GB Seagate-5400 rpm and 8GB Samsung 5400 rpm). Is it possible to do software RAID using Windows XP Pro and can I still use it with linux; multiboot? any answers... TIA, -Nirav Rating: 4/5 

nirav is offline 9-16-2004 12:27am
Click Here to See the Profile for nirav Click here to Send  a Private Message Visit elmers homepage! Find more posts by nirav Add nirav to your buddy list Edit/Delete Message
rwrobbins24
Junior Member

Registered: 0/2005
Posts: 1

This is a good article. I would like to ask. I have three sate drive. Two of them are 80G a pieace and the other is 300G. Which one should I install widow Xp Perf. on? Thank you, Ron Rating: 5/5 

rwrobbins24 is offline 1-30-2005 6:47pm
Click Here to See the Profile for rwrobbins24 Click here to Send  a Private Message Visit elmers homepage! Find more posts by rwrobbins24 Add rwrobbins24 to your buddy list Edit/Delete Message
i-chat
Junior Member

Registered: 5/2005
Posts: 1

To those of you who want to enable - windows RAID feature (in xp and 2000 pro)

there is a way to enable it (it involves resource editint 3 files with a hex-editor)

ive tried the proces myself but, for some reason i could only use mirorring and striping, (raid 5 was still disabled)

try looking on google for "Windows xp RAID hack" and you'l probebly end up with a good explanaition,

Good luck..

Rating: 5/5 

i-chat is offline 6-14-2005 8:57am
Click Here to See the Profile for i-chat Click here to Send  a Private Message Visit elmers homepage! Find more posts by i-chat Add i-chat to your buddy list Edit/Delete Message
DanielEKFA
Junior Member

Registered: 5/2005
Posts: 1

The place to go to find out how to enable these feats in XP is

http://www.tomshardware.com/storage/20041119/

Or get a proper operating system that provides software RAID without forcing you into using non-standard volumes (i.e. Linux or MacOS ;)

DanielEKFA is offline 6-19-2005 4:22am
Click Here to See the Profile for DanielEKFA Click here to Send  a Private Message Visit elmers homepage! Find more posts by DanielEKFA Add DanielEKFA to your buddy list Edit/Delete Message
EwanG
Junior Member

Registered: 7/2005
Posts: 1

One other approach I used (and have documented at http://a1.blogspot.com/2005/08/step-by-step-to-windows-raid-using.html is to setup a virtual Linux instance, and then use the Software RAID from Linux to access the drives. Since Windows doesn't let you create Dynamic Disks on external drives, and XP Home won't even let you create Dynamic Disks, this was the only approach I could get to work.

EwanG is offline 8-8-2005 12:30pm
Click Here to See the Profile for EwanG Click here to Send  a Private Message Visit elmers homepage! Find more posts by EwanG Add EwanG to your buddy list Edit/Delete Message
rmk11
Banned

Registered: 10/2005
Location: Fairfield, CT
Posts: 630

I hate being pushed around and love discussing issues.

RAID is a scam!!!!!!!!!!!!! DOn't get it!!!!!!! I tried everything it says it does and none of it worked!!!!!!!!!!!!!!!!!!!

rmk11 is offline 11-25-2005 9:57pm
Click Here to See the Profile for rmk11 Click here to Send  a Private Message Visit elmers homepage! Find more posts by rmk11 Add rmk11 to your buddy list Edit/Delete Message
Page:  1 | 2
More Items

 
Contact Us | Privacy Policy | Terms of Use    Copyright 2009 All Enthusiast, Inc. All Rights Reserved