It is currently Sat 31 Jul 2010, 23:31

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 15:45 
Offline
Admin
User avatar

Joined: Wed 01 Dec 2004, 16:48
Posts: 8301
Location: Somerset
Just had to do some work on a backup server and discovered this. Thought it may interest you guys to see that it can be done.

Image

1. Turn the drives that you want to be part of the array into dynamic drives (this will destroy data) Obviously for raid 5 (setup in pic) you need more than two drives.
2. Right click on the now horribly coloured green/blue ish partitions and select create partition
3. From here you can pick what you want. Spanning is simply mashing all the drives into one big one. Raid 5 is a combination of striping and mirroring (one out of the three drives can fail). Raid 0 is striping to improve performance. Raid 1 is mirroring to guard against drive failure.
4. Select the drives you want to use for the array.
5. Format and away you go.

Cons that I can see so far:
It can't strip or mirror the system drive
Dynamic disks are tricky to move from machine to machine see microsoft website
There is going to be more CPU usage than hardware raid but how much I am yet to discover!


Mupet.

_________________
Image
Image
Server@HomeAndDevelopment Q6600, 5gb, 3TB, Gigabyte GA-G33M-DS2R iG33
Desktop@Home Core2Duo E8200@3.2ghz, 4gb Ram, Sugo Case, HD4850, 650Watt Corsair, Gigabyte GA-G33M-DS2R iG33
Sites: Train Times for windows mobile
BBC News for Windows Mobile
Mobile Movies for Windows Mobile


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 15:50 
Offline
Moderator
User avatar

Joined: Wed 12 Mar 2003, 11:44
Posts: 6867
Location: Aalborg, Denmark
did quick bit of spellchecking. I don't want my drives to strip. ;)

_________________
ImageImage
E4200 @ 2.4GHz | Gigabyte DS3 | HD4830 | Silverstone Sugo | 700W Silverstone PSU | Logitech G5 & Saitek Keyboard | HP 25" goodness | 2TB storage


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 15:53 
Offline
Admin
User avatar

Joined: Wed 01 Dec 2004, 16:48
Posts: 8301
Location: Somerset
Rack wrote:
did quick bit of spellchecking. I don't want my drives to strip. ;)


Thanks. Its weird tho as I seam to be on when coding but don't do a huge amount of that.

_________________
Image
Image
Server@HomeAndDevelopment Q6600, 5gb, 3TB, Gigabyte GA-G33M-DS2R iG33
Desktop@Home Core2Duo E8200@3.2ghz, 4gb Ram, Sugo Case, HD4850, 650Watt Corsair, Gigabyte GA-G33M-DS2R iG33
Sites: Train Times for windows mobile
BBC News for Windows Mobile
Mobile Movies for Windows Mobile


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 15:55 
Offline
Uber Admin of Doom
User avatar

Joined: Thu 22 Jul 2004, 09:29
Posts: 8084
Location: Wiltshire, UK
Rack wrote:
I don't want my drives to strip. ;)


you never know :wink:

Interesting, had briefly looked into software raid but now with the onboard controllers on modern boards I never felt the need to pursue it

_________________

Image
Dell Studio 1535 | Core2Duo T5750 | 4Gb DDR2-800 | ATi Radeon M3450 | 250Gb | 15.4" WLED | Win7 x64 | Logitech M505
Foxconn Blood Rage | Core i7 920 | 6Gb OCZ Gold PC3-12800 | XFX HD4890XTX | 2 x 1.5Tb Samsung F2 | Win7 x64 | 1000w Akasa | LG LG W2361V 23" | Logitech G9x & Illuminated keyboard
Image

Vista Sidebar Skins Gadget


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 16:01 
Offline
Moderator
User avatar

Joined: Wed 12 Mar 2003, 11:44
Posts: 6867
Location: Aalborg, Denmark
Isn't software raid also more risk? What happens if you load another OS and copy something to that drive? If you are running multiple boot.

I didn't like that I could reset my bios and my raid array didn't work.

_________________
ImageImage
E4200 @ 2.4GHz | Gigabyte DS3 | HD4830 | Silverstone Sugo | 700W Silverstone PSU | Logitech G5 & Saitek Keyboard | HP 25" goodness | 2TB storage


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 16:06 
Offline
Admin
User avatar

Joined: Wed 01 Dec 2004, 16:48
Posts: 8301
Location: Somerset
All modern windows OS's will recognise the array so If its the same machine with the same config and I reinstalled windows it would be find. If you move the drives to a different machine you have to be quite precise about how you do it. But in a server enviroment I thought it was a fairly safe bet. I don't think you would be able to copy stuff to that drive anyway as its at a partition level so its not like you get any old ntfs drive then its splits up the data onto it. The ntfs table for the drives is joint. If that makes sense.

_________________
Image
Image
Server@HomeAndDevelopment Q6600, 5gb, 3TB, Gigabyte GA-G33M-DS2R iG33
Desktop@Home Core2Duo E8200@3.2ghz, 4gb Ram, Sugo Case, HD4850, 650Watt Corsair, Gigabyte GA-G33M-DS2R iG33
Sites: Train Times for windows mobile
BBC News for Windows Mobile
Mobile Movies for Windows Mobile


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 18:58 
Offline
Pro Overclocker
User avatar

Joined: Thu 19 May 2005, 18:36
Posts: 3014
Location: Southampton
mupets_revenge wrote:
Raid 5 is a combination of striping and mirroring

Not really - there's no mirroring in RAID 5, it's striping with a parity drive.

_________________
-- A64 3700 SD @ 240x11 = 2.64 1.45V (CNPS7000B-Cu) | MSI K8N SLi Platinum | 2x OCZ4001024ELPE @ 240 2.5-3-3-5 2.8V | 6800GT (VF700-Cu) | Hauppauge Nova-T 500 | WD2500KS, WD5000AAKS | TG480-U01 | LianLi PC-60 | XP Pro/SP2 | Enermax Aurora Black & Lenovo MO32BO | Samsung 206BW
-- HP DV1000: T2300 | 1GB PC2-4200 | Ubuntu 7.10

Offline for the moment:
-- 1Ghz PIII | Lex BN-800E (Mini-ITX) | 640MB PC133 | WD1200 | LiteOn SLW-831S | FSP180-50PLA
-- P4 Nw 2.56 (XP-90Al) | GA-8PE667 | 1GB PC2700 | XFX FX5200 LP | WD1200JB | TG420-U02
-- Dual Opteron 240 (XP-90C) | GA-7A8DW | 1GB Reg PC3200 | Radeon 9000 | WD2500KS, WD5000AAKS | TG530-U15


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 19:13 
Offline
Admin
User avatar

Joined: Wed 01 Dec 2004, 16:48
Posts: 8301
Location: Somerset
I don't really see how thats is different from how I put it? The data is stripped and then distributed in a way that insures that the data is on at least two drives. So there must be some mirroring going on, not in the strictest sense but the data must be in more than one place at once. Or am I missing something?

_________________
Image
Image
Server@HomeAndDevelopment Q6600, 5gb, 3TB, Gigabyte GA-G33M-DS2R iG33
Desktop@Home Core2Duo E8200@3.2ghz, 4gb Ram, Sugo Case, HD4850, 650Watt Corsair, Gigabyte GA-G33M-DS2R iG33
Sites: Train Times for windows mobile
BBC News for Windows Mobile
Mobile Movies for Windows Mobile


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 19:20 
Offline
Uber Admin of Doom
User avatar

Joined: Thu 22 Jul 2004, 09:29
Posts: 8084
Location: Wiltshire, UK
teh wiki wrote:
RAID 5

A RAID 5 uses block-level striping with parity data distributed across all member disks. RAID 5 has achieved popularity due to its low cost of redundancy. Generally, RAID 5 is implemented with hardware support for parity calculations. A minimum of 3 disks is generally required for a complete RAID 5 configuration. A RAID 5 two disk set is possible, but many implementations do not allow for this. In some implementations a degraded disk set can be made (3 disk set of which 2 are online).

In the example above, a read request for block "A1" would be serviced by disk 0. A simultaneous read request for block B1 would have to wait, but a read request for B2 could be serviced concurrently by disk 1.

RAID 5 parity handling

A series of blocks (one on each of the disks in an array) is collectively called a "stripe". If another block, or some portion of a block, is written on that same stripe, the parity block (or some portion of the parity block) is recalculated and rewritten. For small writes, this requires reading the old data, writing the new parity, and writing the new data. The disk used for the parity block is staggered from one stripe to the next, hence the term "distributed parity blocks". RAID 5 writes are expensive in terms of disk operations and traffic between the disks and the controller.

The parity blocks are not read on data reads, since this would be unnecessary overhead and would diminish performance. The parity blocks are read, however, when a read of a data sector results in a cyclic redundancy check (CRC) error. In this case, the sector in the same relative position within each of the remaining data blocks in the stripe and within the parity block in the stripe are used to reconstruct the errant sector. The CRC error is thus hidden from the main computer. Likewise, should a disk fail in the array, the parity blocks from the surviving disks are combined mathematically with the data blocks from the surviving disks to reconstruct the data on the failed drive "on the fly".

This is sometimes called Interim Data Recovery Mode. The computer knows that a disk drive has failed, but this is only so that the operating system can notify the administrator that a drive needs replacement; applications running on the computer are unaware of the failure. Reading and writing to the drive array continues seamlessly, though with some performance degradation. The difference between RAID 4 and RAID 5 is that in interim data recovery mode, RAID 5 might be slightly faster than RAID 4: When the CRC and parity are in the disk that failed, the calculation does not have to be performed, while with RAID 4, if one of the data disks fails, the calculations have to be performed with each access.

RAID 5 disk failure rate

The maximum number of drives in a RAID 5 redundancy group is theoretically unlimited, but it is common practice to limit the number of drives. The tradeoffs of larger redundancy groups are greater probability of a simultaneous double disk failure, the increased time to rebuild a redundancy group, and the greater probability of encountering an unrecoverable sector during RAID reconstruction. As the number of disks in a RAID 5 group increases, the Mean Time Between Failures (MTBF, the reciprocal of the failure rate) can become lower than that of a single disk. This happens when the likelihood of a second disk failing out of (N-1) dependent disks, within the time it takes to detect, replace and recreate a first failed disk, becomes larger than the likelihood of a single disk failing. RAID 6 is an alternative that provides dual parity protection thus enabling larger numbers of disks per RAID group.

Some RAID vendors will avoid placing disks from the same manufacturing lot in a redundancy group to minimize the odds of simultaneous early life and end of life failures as evidenced by the Bathtub curve.

RAID 5 performance

RAID 5 implementations suffer from poor performance when faced with a workload which includes many writes which are smaller than the capacity of a single stripe; this is because parity must be updated on each write, requiring read-modify-write sequences for both the data block and the parity block. More complex implementations often include non-volatile write back cache to reduce the performance impact of incremental parity updates.

The read performance of RAID 5 is almost as good as RAID 0 for the same number of disks. Except for the parity blocks, the distribution of data over the drives follows the same pattern as RAID 0. The reason RAID 5 is slightly slower is that the disks must skip over the parity blocks.

In the event of a system failure while there are active writes, the parity of a stripe may become inconsistent with the data. If this is not detected and repaired before a disk or block fails, data loss may ensue as incorrect parity will be used to reconstruct the missing block in that stripe. This potential vulnerability is sometimes known as the "write hole". Battery-backed cache and similar techniques are commonly used to reduce the window of opportunity for this to occur.

RAID 5 usable size

Parity data uses up the capacity of one drive in the array (This can be seen by comparing it with RAID 4: RAID 5 distributes the parity data across the disks, while RAID 4 centralizes it on one disk, but the amount of parity data is the same). In case that the drives vary in capacity, the smallest of them sets the bar. Therefore, the usable capacity of a RAID 5 array is (N-1) \cdot S_{\mathrm{min}}, where N is the total number of drives in the array and Smin is the capacity of the smallest drive in the array.

The number of hard drives that can belong to a single array is theoretically unlimited (although the time required for initial construction of the array as well as that for reconstruction of a failed disk increases with the number of drives in an array).

_________________

Image
Dell Studio 1535 | Core2Duo T5750 | 4Gb DDR2-800 | ATi Radeon M3450 | 250Gb | 15.4" WLED | Win7 x64 | Logitech M505
Foxconn Blood Rage | Core i7 920 | 6Gb OCZ Gold PC3-12800 | XFX HD4890XTX | 2 x 1.5Tb Samsung F2 | Win7 x64 | 1000w Akasa | LG LG W2361V 23" | Logitech G9x & Illuminated keyboard
Image

Vista Sidebar Skins Gadget


Top
 Profile  
 
 Post subject: Re: How to: Set up software raid in windows
PostPosted: Thu 25 Oct 2007, 19:50 
Offline
Pro Overclocker
User avatar

Joined: Thu 19 May 2005, 18:36
Posts: 3014
Location: Southampton
The difference is that it uses parity, not mirroring.

_________________
-- A64 3700 SD @ 240x11 = 2.64 1.45V (CNPS7000B-Cu) | MSI K8N SLi Platinum | 2x OCZ4001024ELPE @ 240 2.5-3-3-5 2.8V | 6800GT (VF700-Cu) | Hauppauge Nova-T 500 | WD2500KS, WD5000AAKS | TG480-U01 | LianLi PC-60 | XP Pro/SP2 | Enermax Aurora Black & Lenovo MO32BO | Samsung 206BW
-- HP DV1000: T2300 | 1GB PC2-4200 | Ubuntu 7.10

Offline for the moment:
-- 1Ghz PIII | Lex BN-800E (Mini-ITX) | 640MB PC133 | WD1200 | LiteOn SLW-831S | FSP180-50PLA
-- P4 Nw 2.56 (XP-90Al) | GA-8PE667 | 1GB PC2700 | XFX FX5200 LP | WD1200JB | TG420-U02
-- Dual Opteron 240 (XP-90C) | GA-7A8DW | 1GB Reg PC3200 | Radeon 9000 | WD2500KS, WD5000AAKS | TG530-U15


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO