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
1 answer

Removing RAID device from RAID5 (shrinking RAID) without unmounting

New to RAID and Linux. I grew my RAID5 array from 3 to 4 devices. For other reasons, I had to fail and remove one of the 4 drives - sda1. I'd like to shrink it now back to 3 devices, but when trying to do so, I'm getting a new_offset error: # mdadm…
Voriki
  • 141
  • 5
3
votes
2 answers

Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)

Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution. What I have now: Linux software RAID5 on 4x4TB enterprise HDD LVM on top with a few volumes The most important,…
jazzman
  • 51
  • 4
3
votes
1 answer

Why does a URE cause loss of array during RAID 5 rebuild?

From what I have read, RAID 5 is problematic with large disks becuase if a single disk fails, you are likely to have an unrecoverable read error while the array is being rebuilt. From what I can gather, this URE prevents the entire array from being…
StrongBad
  • 141
  • 2
3
votes
6 answers

Recover RAID-5 that was already running in degraded mode (lost a second disk)

this is silly, this has happened before and I figured out how to fix it and it was fine. I'm running 4 500GB SATA drives in a RAID-5 on Ubuntu 7.10 server. One of the disks failed (actually I think it's one of the connectors in the hot-swap cage)…
Inovagent
  • 33
  • 1
  • 4
3
votes
4 answers

Safe and beneficial to enable HD disk cache for disks in RAID, or not?

Dell Perc RAID cards (among others) allow you to set the disk cache policy to be either on (meaning, the individual hard disks use their built-in caches) or off (meaning, the individual disk caches are disabled). In reading discussions on the net,…
mhucka
  • 679
  • 4
  • 10
  • 22
3
votes
2 answers

Can mdadm convert a RAID5 to a RAID1?

I have a RAID5 consisting of 3 disks, one of which is broken. I was wondering if it is possible to convert those two disks to a RAID1 without data loss and without having to back-up the data elsewhere.
rausch
  • 302
  • 2
  • 10
3
votes
2 answers

Is it possible to update stripe-width on an existing, and used, ext4 fs?

I have a RAID 5 with 5 3TB drives (8 in few weeks), on a Debian. There is only one ext4 partition on it, using all the space available. Actually, due to origins of the RAID (4 drives), the ext4 fs stripe-width is set to 384. But with 5 drives, it's…
Moff Tigriss
  • 33
  • 1
  • 4
3
votes
2 answers

Software RAID 10 not any faster than s/w RAID 5 on Ubuntu 14.04 box, why?

We are doing some tests on a new database server with 4 x 240 GB SSD disks. From what I have read RAID 10 should be faster than RAID 5 with the same "one-disk loss ok" redundancy. However when testing with bonnie++ it seems the RAID 10 isn't any…
David Tinker
  • 589
  • 1
  • 8
  • 18
3
votes
2 answers

RAID5 array Ready for Rebuild

I've inherited administration of a server with a RAID 5 array. We have a damaged database on the array that is just over half the allocated size, so makes recovery impossible. I recently changed the spare disk in bay 25 to be part of the array…
TrevorW
  • 41
  • 1
  • 2
3
votes
1 answer

Reading /proc/mdstat

I just built my first raid5 yesterday (with 4 hds) and was reading about monitoring with /proc/mdstat. My understanding is an ideal dispaly with 4 drives should be [UUUU] however mine reads [UUU_]. See below: Personalities : [linear] [multipath]…
Justin
  • 67
  • 1
  • 4
3
votes
1 answer

Raid 5 on two scsi buses with different maximum speeds

I'm quite a noob, I'm trying to set up as a study machine an old HP ProLiant DL385 G1. I've configured a RAID 5 out of six SCSI 3.5" HDDs using: - Smart Array 6i controller; - (4 x SCSI Ultra320 36,4GB disks, 15K) AND (2 x SCSI Ultra3 36,4GB disks,…
anto
  • 33
  • 3
3
votes
1 answer

Large write with dd fail on RAID-5

I have a server with a RAID controller which connects to a JBOD over SAS. JBOD is populated with 16 SAS-HDDs of 3TB (8 of one make and 8 of other, same rpm). I have configured 3 logical drives with RAID-5, each having 5 physical HDDs (+1 as…
hrs
  • 151
  • 6
3
votes
1 answer

how to determine which drive belongs to which slot on raid 5

i have an HP DL380 G8 machine with 4 hard drives of same size and running on raid 5. unfortunately during a service process of our data center one of the junior team members pulled out all four hard drives without labeling the actual sequence. now…
Ash
  • 31
  • 1
  • 2
3
votes
1 answer

2 disk RAID5 Linux software array

(I've posted this on Serverfault as I suspect it a bit to technical for Superuser. If I'm wrong please move it where appropriate) I am remotely looking at a device which identifies as ReadyNAS ProUltra2 V1.4. It appears this device has 2 disks in…
davidgo
  • 6,222
  • 3
  • 23
  • 41
3
votes
1 answer

Raid5 status is checking means?

I noticed the following messages on my system: Personalities : [raid1] [raid6] [raid5] [raid4] Md3 : active raid5 sda5[0] sdc5[3] sdb5[1] 3858519040 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU] [=================>...] …
user205537
  • 69
  • 1
  • 7