Questions tagged [raid]

Redundant array of independent/inexpensive disks; a technology which utilizes multiple disks to provide increased reliability, performance, and/or redundancy. Can be implemented either in software or with a hardware controller.

RAID stands for Redundant Array of Independent/Inexpensive Disks, and is a technology which can provide increased reliability, performance, and/or redundancy by utilizing multiple hard drives simultaneously.

RAID can be implemented in a computer via either a hardware or software controller – the controller takes care of distributing the write and read commands to the drives in use.

There are several types of RAID configurations (also called "RAID levels"), depending on the configuration of hard disks. The most well known are:

  • RAID-0 ("stripeset") distributes the data over all available disks without redundancy. Improves performance by writing to multiple disks in parallel
  • RAID-1 ("mirror") duplicates the data by mirroring every drive, thus creating a 1:1 copy. Slight performance drop in writes, but parallel reads from the multiple copies can improve read performance.
  • RAID-3, RAID-4 are no longer relevant
  • RAID-5 stripes the data and spreads redundancy information on all drives. Can tolerate failure of 1 device.
  • RAID-6 stripes the data and spreads two copies of redundant information across the drives. Can tolerate a 2 device failure.

There are also nested RAID levels which combine the above RAID levels with several others.

Related tags

Tags for different RAID levels:

2336 questions
51
votes
8 answers

How can I make mdadm auto-assemble RAID after each boot?

I successfully created a RAID (mirroring) by utilizing mdadm. However, I must run the following commands after each boot: mdadm --stop --scan // to stop /dev/md127 - I don't know where the number 127 even comes from mdadm --assemble --scan // to…
BreakPhreak
  • 990
  • 4
  • 12
  • 19
43
votes
4 answers

Is there a RAID 0 Equivalent for RAM?

With hard drives, you can put them in a RAID 0 configuration to split data between drives to increase read and write speed. Is there an equivalent of this for RAM? If I have 16 GB of memory, for instance, can I split it into 2 8GB sections and…
kloddant
  • 745
  • 1
  • 6
  • 10
34
votes
10 answers

How to get an inactive RAID device working again?

After booting, my RAID1 device (/dev/md_d0 *) sometimes goes in some funny state and I cannot mount it. * Originally I created /dev/md0 but it has somehow changed itself into /dev/md_d0. # mount /opt mount: wrong fs type, bad option, bad superblock…
Jonik
  • 5,700
  • 12
  • 46
  • 55
33
votes
5 answers

How does parity work on a RAID-5 array?

I'm looking to build a nice little RAID array for dedicated backups. I'd like to have about 2-4TB of space available, as I have this nasty little habit of digitizing everything. Thus, I need a lot of storage and a lot of redundancy in case of drive…
Naftuli Kay
  • 9,481
  • 19
  • 56
  • 88
33
votes
2 answers

Software RAID Windows 10

I have always had a hardware RAID 5, but recently lost tons of data due to a drive loss, even after recovery steps. I am trying to set up a RAID 1 on 3 drives, and I do not see the option "Add Mirror" which I saw on many How-tos. (Click images to…
c3cris
  • 398
  • 1
  • 3
  • 7
32
votes
6 answers

ZFS Beginner Setup with Different Size Drives

Sorry for the noobie questions, I've been Googling all sorts of walkthroughs to create my ZFS raid, but I can't seem to find the correct links for the answers I'm looking for. This is my first attempt for a RAID, and from all I've read, it seems…
ivandov
  • 433
  • 1
  • 4
  • 8
32
votes
2 answers

Can I set up a RAID 5 with a bunch of drives of different sizes?

I currently have 3 1TB drives, a couple 500GB ones and some 750GB ones. Can I put them all in a RAID 5 configuration or do they need to be of same size?
n0pe
  • 16,472
  • 18
  • 71
  • 102
31
votes
3 answers

Switch RAID to AHCI without reinstalling Windows 10

My Dell XPS 9560 uses RAID as a SATA controller mode. After I change it to AHCI, the Windows 10 will not boot. What should I do if I don't want to reinstall Windows 10? RAID = Redundant Array of Inexpensive Disks, wikipedia link. AHCI = Advanced…
qin
  • 577
  • 2
  • 6
  • 11
30
votes
6 answers

Does RAID1 increase performance with Linux mdadm?

I have a cheap 2-bay NAS with a 2TB HDD. To be robust against disk failure, I'm thinking of buying a second 2TB HDD and putting it in RAID1 with Linux mdadm. The file system is ext4. Will this increase or decrease the performance of the NAS? What…
Jesse
  • 795
  • 2
  • 9
  • 16
29
votes
10 answers

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to indicate both drives as active sync. Then, for…
Deltik
  • 19,353
  • 17
  • 73
  • 114
28
votes
3 answers

Intel Matrix Storage Manager vs Linux Software RAID

The chipset I'm using supports the Intel RSTe technology. It means that I have two options for RAID setup: Ordinary linux software RAID, using mdadm command. RSTe (either by the BIOS or, again, using mdadm command with -e imsm switch). Given that…
Leonid99
  • 383
  • 1
  • 3
  • 6
28
votes
4 answers

How-to change the name of an MD device (mdadm)

Here is the output from mdadm -Esv: ARRAY /dev/md127 level=raid0 num-devices=2 UUID=d89d9d45:9a420812:c44c77eb:7ee19756 devices=/dev/sdb8,/dev/sda8 This is a v0.90 array. The question is as follows: how does mdadm assign the name for an…
XXL
  • 1,469
  • 4
  • 20
  • 34
28
votes
7 answers

What's the point of having a RAID 1 configuration over incremental backups to a secondary drive?

I have a synology NAS and I don't understand the point of RAID 1 system. Why bother having a mirror? If I delete a file by accident it's deleted on both drives.
Fractale
  • 609
  • 2
  • 8
  • 19
27
votes
5 answers

Can a mirrored (RAID-1) disk be plugged into another system to be read?

If I have disks in a RAID-1 array, can I take one of them out and plug it into a different system to be read? This means, on the target system, treating the disk from the RAID array just like an ordinary disk, regardless of any controller/driver…
RichN
  • 447
  • 2
  • 5
  • 11
25
votes
5 answers

Which software raid modes does each version of Windows 7 support?

Being familiar with the software raid modes and dynamic disks from the server versions, I was wondering if there is a document or even just common crowd knowledge that indicated what software raid support was available for each version of Windows…
Goyuix
  • 6,511
  • 4
  • 37
  • 48
1
2 3
99 100