Questions tagged [raid5]

RAID (redundant array of independent disks, originally redundant array of inexpensive disks[1][2]) is a storage technology that combines multiple disk drive components into a logical unit. Data is distributed across the drives in one of several ways called "RAID levels", depending on what level of redundancy and performance (via parallel communication) is required. RAID 5 is a specific implementation.

RAID 5 (block-level striping with distributed parity) distributes parity along with the data and requires all drives but one to be present to operate; the array is not destroyed by a single drive failure. Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. However, a single drive failure results in reduced performance of the entire array until the failed drive has been replaced and the associated data rebuilt. Additionally, there is the potentially disastrous RAID 5 write hole. RAID 5 requires at least three disks.

enter image description here

Source: wikipedia

530 questions
3
votes
3 answers

mdadm raid5 too slow when writing

I have set up a RAID5 array using 4 disk partition. All disks are 2TB. When the RAID5 array was initially syncing it was too slow. So I did a echo 32768 > /sys/block/md2/md/stripe_cache_size and then it was quiet fast. But still it took a days time…
proy
  • 1,229
  • 10
  • 10
3
votes
1 answer

why does windows 2008 resync software RAID after a power outage?

i had a power outage. before the outage my RAID 5 (4 SATA drives) was fully synced. perhaps I was doing some trivial writes during the poweroutage, but afterwards windows decided it has to do a full resynchronization. Why does windows have…
JasonS
  • 183
  • 7
3
votes
4 answers

Optimizing RAID 5 for BackupPC use (small random reads)

I am running a BackupPC server with a hardware RAID 5 for the main storage of the backups. Since the machine was created on a tiny budget, the controller is a 3Ware 9500S-4LP for the PCI port and the drives are slow 200 GB SATA types. However, even…
jstarek
  • 628
  • 1
  • 6
  • 18
3
votes
1 answer

RAID5 on SmartArray P410i online resize

I have P410i+256M Cache without battery backup. My RAID5 was build over 3*136GB disks, now all disks were replaced to a 3*300GB array. How can I extend it to use the whole space? HPacucli doesn't allows that, I think this might be because no battery…
datacompboy
  • 663
  • 2
  • 7
  • 16
3
votes
1 answer

dirty degraded array, unable superblock, kernel panic

Machine: linux centos 5.4 with 2 hdds and raid 5 (yes, 3rd disk missing). Situation: all running fine (3rd disk missing) then a power off (system shut down itself when battery power ended). machine not coming back message on screen: Memory for…
gonfi
  • 31
  • 1
  • 4
3
votes
6 answers

Server RAID died. How would you recover data from its drives?

We have 9 machines at the moment. One of them had an electrical fault which fried the board but the drives seem ok. I'm not entirely sure how I would even attempt to recover data from it. The drives were in RAID 5 and I'm not sure if hotswapping a…
samdunne
  • 35
  • 1
  • 7
3
votes
2 answers

Replacing a Hard Disk in RAID 5 Array with Newer Version

Recently, 1 out 4 disks in my RAID 5 array failed. I searched for a replacement part and learned that only a newer version of the hard disk is available. This "newer" version has the exact same specs as it's predecessor. When I called the customer…
Ari
  • 189
  • 1
  • 9
3
votes
4 answers

Running swap on RAID10 or RAID5?

In follow-up to this previous question (and it's excellent answer), I am curious to know if running swap on a RAID5 might not be better than on a RAID10. My thinking is that you might lose a bit on the performance because it wouldn't be purely…
warren
  • 18,369
  • 23
  • 84
  • 135
3
votes
2 answers

Windows Server 2008 R2 Software Raid 5, Resynching (4 days so far)

I have a software raid 5 of 5x1,5Tb harddrives, this raid has been made in Windows Server 2008 R2. Now I know that Resynching can take a lot of time to be preformed, but so far have it been running for 4 days and it is only 5x1,5TB harddrives, so I…
Androme
  • 411
  • 2
  • 6
  • 12
3
votes
1 answer

Why does MDADM Raid 5 require a spare

From the mdadm man page: "When creating a RAID5 array, mdadm will automatically create a degraded array with an extra spare drive. This is because building the spare into a degraded array is in general faster than resyncing the parity on a…
Gary
  • 163
  • 1
  • 5
3
votes
4 answers

Can I use 2x 1TB 64MB Cache and 1x 1TB 32MB Cache in a RAID 5 setup?

I've been told the drives have to be identical for RAID 1, but when searching for additional drives in local stores to match: WD 1TB Caviar Black 7200rpm SATAII w/ 32MB Cache They say they don't carry those anymore but they do have the same drive w/…
user29600
  • 419
  • 5
  • 17
  • 30
3
votes
5 answers

Detecting raid setup in centos 5

We have bougth a server off of Iweb web hosting and its supposed to have raid5 hardware installed. At this point so many things have gone wrong with IWeb we are just not sure we have our raid at all. From ssh is there any command I could use to see…
Iznogood
  • 320
  • 3
  • 12
3
votes
4 answers

Linux Software RAID 5 Random Small Write Performance Abysmal - Reconfiguration Advice

I have 3 1 TB HDDs and 3 500 GB HDDs. Right now each size grouping is in a RAID 5, both of which are in an LVM volume group (with striped LVs). I'm finding this to be too slow for my usage on small random writes. I've fiddled with stripe sizes both…
RibaldEddie
  • 303
  • 2
  • 8
3
votes
2 answers

MDADM RAID 5 data recovery

Thanks for reading this thread and I thank you in advance for any help you can provide. So this is what happened... I noticed that my MDADM RAID 5 array with drives ordered: /dev/sd[EFGHIABCDKJ]1 reported a failed drive -- /dev/sdb1. I stopped the…
user48963
  • 31
  • 2
3
votes
1 answer

how do i fix progressively slower write speed in a raid 5?

We have a RHEL5 install on a machine with 5 Seagate 1 TB SAS disks. One has the OS and swap on it. The other four are in a hardware Raid 5 (mounted as /home) managed by a DELL Perc 6/i controller. When the system boots up it spends a long time on…