Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
5
votes
3 answers

Convert a software raid volume from ext3 to ext4 (or ext2)?

I have an mdadm created software raid volume in my ubuntu linux 11 machine. It is NOT the boot drive. It is a software raid 5 configuration made from 3 large sata drives. When I created it initially, I made it ext3. I have since learned that I…
Scott Szretter
  • 1,882
  • 11
  • 43
  • 66
5
votes
2 answers

Would you recommend mdadm raid10 for EC2?

I read a blog article somewhere that RAID10 on EC2 cuts down performance by half compared to RAID0. But when you have critical database data on the volumes, how else do you prevent data loss in case a volume goes bad? (I just had a case where one…
sayeed
  • 394
  • 3
  • 8
5
votes
1 answer

Intel Matrix Storage RAID and Linux mdadm

I've got a 3-disk RAID 5 array that was set up under Windows that I'd like to get working in Linux using mdadm. I've done some basic fakeraid stuff before, but this was set up with the Intel Matrix Storage utility in the BIOS, and it's not working…
Bill Fraser
  • 231
  • 1
  • 2
  • 6
5
votes
4 answers

mdadm: Swapping out small hard drives for bigger ones in a RAID5, How to partition?

So I got the gist of swapping out smaller hard drivers for bigger ones in an MDADM RAID5: Fail and remove one drive. mdadm -f /dev/md0 /dev/sdd1 mdadm -r /dev/md0 /dev/sdd1 Shutdown, swap the hard drive, partition and add back to array mdadm --add…
JD Frias
  • 153
  • 1
  • 1
  • 7
5
votes
3 answers

slow software raid

I've got software raid 1 for / and /home and it seems I'm not getting the right speed out of it. Reading from md0 I get around 100 MB/sec Reading from sda or sdb I get around 95-105 MB/sec I thought I would get more speed (while reading data) from…
Jure1873
  • 3,702
  • 1
  • 22
  • 28
5
votes
3 answers

file corruption on read/write 2.6.32-22-server (happens across many kernels)

I'm having an issue where after the server has been up for a period of time (~week/few days) the server will start reading corrupt data. For instance when I run a sha1sum of a file after a fresh boot it remains the same. However after a while I will…
Jonathan
5
votes
1 answer

Why do I get a DegradedArray event with mdadm

Just so we're clear on what's happening: I bought 4 new sata 2 drives, with the intent of using them in a raid5 all drive are fully recognised by both my bios and my linux box (gentoo) I created a raid5 array, fiddled a bit with it to understand…
azera
5
votes
1 answer

Are my drives being utilized equally with Linux Software RAID 0 array?

I have four NVMe drives in a RAID 0 configuration. I am attempting to determine how many IOPS the array is handling. When I run iostat, it appears that one drive is handling more IO than the other three drives. Is this an error with the way that…
5
votes
4 answers

How to change the file system of a partition in a RAID 1?

First, sorry if the question has already been asked and correctly answered, I did not find anything that satisfies me. I rent a dedicated machine in a datacenter, the machine run with a Debian 10 and has two drives in RAID 1, there are 3 partitions:…
Taine
  • 51
  • 1
  • 2
4
votes
1 answer

RAID10 array check slow, and slowing

I run a new CentOS 7 machine. Linux runs on 2x SSD setup, and I also have 4x SAS drives setup in software RAID10. The RAID10 array is large, 4x 12TB drives, so 24TB usable. File system is: ext4 Now I finished copying some files to it, and I'm doing…
Mr.Boon
  • 1,471
  • 4
  • 24
  • 43
4
votes
2 answers

Is it possible to convert RAID1 to RAID0 without system reinstalation?

I bought the E3-SSD-3-32 server from the SoYouStart offer. There is a 3x120 GB SSD drive. Unfortunately, after some time, there was a lack of disk space. Is there any way to convert RAID1 to RAID0? The operating system is Debian 9. web1@ns510077:~$…
jogiboy
  • 51
  • 1
  • 2
4
votes
1 answer

TRIM issues with software RAID1 (mdadm) on two different SSDs (size and manufacturer)

I plan to do a server with 2 SSDs in RAID1 (for OS and boot) and 3 HDDs in RAID5 (for data). All Linux (CentOS7) with mdadm. We have in the office 2 leftover SSDs, but they are from different manufacturers and with different capacities (120G and…
Pavel Tankov
  • 376
  • 3
  • 16
4
votes
0 answers

Troubleshooting `Buffer I/O error` on software-raid/md-device

I've got a RAID-5 mdadm array that reliably causes Buffer I/O error on dev md0, logical block 1598030208, async page read to be written do dmesg when reading that block. Of course, the read also factually fails. This behavior is consistent across…
RQM
  • 141
  • 1
  • 3
4
votes
1 answer

Mixing mdadm RAID with partially power loss protected SSDs

I have created a mdadm RAID 10 with 4 SSDs. 2 of those SSDs are consumer models and does not have the power loss data protection feature. At the RAID creation i have put 1 SSD with power protection in every RAID 1 pair. So every RAID 1 pair has one…
user2933212
  • 197
  • 1
  • 6
4
votes
2 answers

Raid 5 Recovery Process

I just recently setup a 3 drive 4TB MDRAID 5 array for mirroring and an online backup of our server. I am preparing for a future hardware (drive) failure and wanted to mitigate a recovery failure from a URE. Typically I think of the process for…
Damon
  • 429
  • 2
  • 12