Skip to content

Commit 368bc7e

Browse files
committed
updated descriptions
1 parent 23b17f4 commit 368bc7e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tools/raid-calculator/raid-calculator.service.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export { raidCalculations };
22

33
const raidCalculations = {
44
raid_0: {
5-
about: 'RAID 0 splits data evenly across 2 or more disks with redunancy or fault tolerance. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_0">Wikipedia</a>',
5+
about: 'RAID 0 the splits data evenly across 2 or more disks without redunancy or fault tolerance creating one large storage space. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_0" target="_blank">Wikipedia</a>',
66
requirements: 'RAID 0 requires at least 1 disk',
77
validate: function(num, size){
88
return num > 1
@@ -19,7 +19,7 @@ const raidCalculations = {
1919
}
2020
},
2121
raid_1: {
22-
about: 'RAID 1 consists of an exact copy of the data across two or moe disks. The array will operate as long as at least one drive is operational. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_1">Wikipedia</a>',
22+
about: 'RAID 1 consists of an exact copy of the data (mirror) across two or more disks. The array will operate as long as at least one drive is operational. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_1" target="_blank">Wikipedia</a>',
2323
requirements: 'RAID 1 requires at least 1 disk',
2424
validate: function(num, size){
2525
return num > 1
@@ -38,7 +38,7 @@ const raidCalculations = {
3838
}
3939
},
4040
raid_5: {
41-
about: 'This is RAID 5',
41+
about: 'RAID 5 uses block level striping with parity. This allows for fault tolerance with a storage reduction equal to one drive for the parity information. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_5" target="_blank">Wikipedia</a>',
4242
requirements: 'RAID 5 requires at least 3 disks',
4343
validate: function(num, size){
4444
return num >= 3
@@ -56,7 +56,7 @@ const raidCalculations = {
5656
}
5757
},
5858
raid_6: {
59-
about: 'This is RAID 6',
59+
about: 'RAID 6 is similiar to RAID 5 but with an additional parity block. This allows for an additional disk failure at the cost of storage reduction equal to two drives. More info: <a href="https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_6" target="_blank">Wikipedia</a>',
6060
requirements: 'RAID 6 requires at least 4 disks',
6161
validate: function(num, size){
6262
return num >= 4
@@ -74,7 +74,7 @@ const raidCalculations = {
7474
}
7575
},
7676
raid_10: {
77-
about: 'RAID 10 is generally recognized as a stripe of mirrors (RAID 1 + RAID 2). Each set of drives is mirrored and striped together so that each drive in the set is fault tolerant within the group. More info: <a href="https://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_10_(RAID_1+0)">Wikipedia</a>',
77+
about: 'RAID 10 is generally recognized as a stripe of mirrors (RAID 1 + RAID 0). Each set of drives is mirrored and striped together so that each drive in the set is fault tolerant within the group. More info: <a href="https://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_10_(RAID_1+0)" target="_blank">Wikipedia</a>',
7878
requirements: 'RAID 10 requires an even number of at least 4 disks',
7979
validate: function(num, size){
8080
return num >= 4 && num % 2 == 0
@@ -87,8 +87,8 @@ const raidCalculations = {
8787
return `${num - 2}x read speed gain and write speed penalty (due to parity calculations)`;
8888
},
8989
fault: function(num, size, unit){
90-
// always 2 drive failures
91-
return "At least 1 drive failure per mirrored set";
90+
// one per mirror
91+
return "1 drive failure per mirrored set";
9292
}
9393
}
9494
}

0 commit comments

Comments
 (0)