A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

1
vote
2answers
79 views

mdadm metadata: should i take precautions to prevent superblock overwrite?

Situation: I'm creating a new RAID1 array using mdadm. I won't be using additional layers, such as LVM or dm-crypt. I've noticed that metadata version 1.2 is now the default. I understand it's the ...
0
votes
2answers
160 views

Two arrays have slightly different array size with same size disks/partitions, why?

I created a software RAID 5 array one year ago using mdadm v3.2.x which shipped from CentOS 6.3, after few months, I moved/assembled the array to/in Fedora 19 (now Fedora 20). It had three 3TB disks ...
2
votes
1answer
71 views

Raid 5 rebuild with wrong stripe size & no failed disks - is data lost?

I'm curious if there are hidden complexities to RAID5 and RAID5 rebuilds. My understanding is that (in a 3 disk array) a rebuild would just directly compute the parity of disks 1 & 2 and write ...
1
vote
1answer
70 views

Missing mdadm raid5 array reassembles as raid0 after powerout

I had RAID5 array of three disks with no spares. There was a power out, and on reboot, the array failed to come back up. In fact, it the /dev/md127 device disappeared entirely, and was replaced by an ...
1
vote
1answer
196 views

Removing failed disk from raid 1

my server (Debian Wheezy) has a failed disk. I have sda and sdb and according to the support of my hoster, sdb needs a replacement. I send them this information with the mdstat: ...
0
votes
1answer
95 views

mdadm RAID 5 and parted unrecognized disk label

I have three 3 TB drives that I am attempting to put together into a RAID 5 setup with mdadm, but I am running into some issues. (Actually, I have four 3 TB drives I will be using, but one of them ...
0
votes
1answer
104 views

“Spare” disk in a 2-disk mdadm RAID1 array?

I recently had a RAID1 volume fail. It had three primary partitions in it, all participating in separate, but similarly configured VGs. This configuration comes from the fact that the machine is ...
0
votes
1answer
49 views

Recovering a (not yet created) RAID5 with URE (Unrecoverable read errors)

I wan't to create a RAID5 array at home, the OS is Linux (Kernel 3.15.7) and the array will be created with mdadm. I wan't to create the array with eigth or ten 1TB discs. Let's assume a single drive ...
3
votes
0answers
72 views

RAID6 scrubbing mismatch repair?

You can initiate a scrub of a mdadm array with echo 'check' > /sys/block/mdX/md/sync_action, and if a bad sector is found, it'll rewrite it automatically (from a mirror or from parity information ...
2
votes
0answers
419 views

Disable RAID auto detect at runtime

In Linux, I'm partitioning two disks for RAID1 with fdisk. The first disk partitioning succedes, but the second fail because the raid starts automatically and occupy also the second disk (why? it ...
2
votes
0answers
317 views

Software raid checksumming slow

On my new 24 disk array I get 900 MB/s of raw read or write using dd to all the disks. When I set the disks up as a 24 disk RAID6 I get 400 MB/s write and 600 MB/s read. It seems to be due to ...
1
vote
0answers
43 views

Degraded RAID1 array boots with one drive, not with the other

UPDATE It seems initramfs fails to properly mount the array. If I stop and reassemble them, they works: mdadm --stop /dev/md124 mdadm --assemble --run /dev/md124 /dev/sda6 Maybe initrd tries to ...
1
vote
0answers
27 views

MDADM Array Detection Slowing Down Boot - Why?

I have an AMD64 Gentoo (running systemd) build with a RAID0 root and some other arrays (RAID1 boot, RAID1 home etc..). The boot process is being slowed down quite dramatically as mdadm searches the ...
1
vote
0answers
22 views

Is it reliable to assemble md from two machines at the same time

Say we have the same disks accessible from two machines. I want to do assembling md from two machines. Is it possible/reliable ? The disks are connected through SAS. All I need to have is reliable ...
1
vote
0answers
399 views

Help with lost software RAID5 on CentOS 6.5

I've been searching for hours and giving up / too scared to delete all my data. I have a file server running CentOS 6.5 which has 4 WD RED 2TB drives (all > 1 year old) in software raid 5 with mdadm, ...
1
vote
0answers
138 views

How do you migrate from dmraid to mdadm on a working 14.04?

I installed 14.04 LTS the other day on two Samsung 840 Pro's in RAID0 on my Intel FakeRAID BIOS setup (NO efi). It is running great, however during the initial boot the system seemed to have a broken ...
1
vote
0answers
291 views

mdadm raid 5 missing partitions after reboot

I had a working raid 5 array that had a whole debian install on it (I set it up during a debian install). I'd been using it a couple of days, all was fine, but since I created it during debian ...
1
vote
0answers
21 views

Linux software raid assembled “itself” with failed drive. Why?

I have two raid1 arrays: md3 (sda3 + sdb3) and md5 (sda5 + sdb5). I deliberately failed the sdb disks because I wanted to change the partition table: # mdadm /dev/md3 --fail /dev/sdb3 # mdadm ...
1
vote
0answers
145 views

RAID5 Arrary disappeard with no HW or SW changes made

I have a R-Pi running XBMC (Linux CaribNAS 3.10.24 #2 PREEMPT Mon Dec 23 05:18:12 UTC 2013 armv6l GNU/Linux) with a 3 disk raid 5 array that has been working up till yesterday when is stopped running ...
1
vote
0answers
146 views

How to blacklist bad blocks from a MD-raid + dm-crypt + ext4?

I have a ext4 partition, on top of a dm-crypt, on top of a MD-RAID 10. One partition (/dev/sdc1) dropped out of the array with a ton of read errors. I ran the manufacturer provided diagnostic tool ...
0
votes
0answers
20 views

Mdadm not adding all disks to raid

A couple of years ago, I installed a raid 5 with mdadm on a fedora box. The old hardware died recently, and I have put the boot disk in a newer desktop pc, and added the thee raid disks via usb. So ...
0
votes
0answers
19 views

File transfer between SSD and RAID array uber-slow

It's really simple: this server has an SSD for the main drive, and a RAID array (mdadm) for storage. Intermittently, it has a problem writing to the array: the write speeds slow down to the point ...
0
votes
0answers
314 views

How to make Intel fake RAID 0 volume appear on boot with Ubuntu 14.04 in a multi-boot environment?

I have a computer with a Gigabyte GA-Z97N-Gaming 5 mainboard, a 256 GB drive for booting and two 3 TB drives meant to use in a RAID 0 setup with both ext4 and NTFS partitions. We are planning running ...
0
votes
0answers
363 views

What are the steps needed to get Redhat/Centos 7 to boot from an mdadm RAID?

I've spent a day on this. Figured it was time to ask. In the end I couldn't get around "Bad magic number in super-block ..." On an average install, my sda exits setup as an EFI. I'm cool with that ...
0
votes
0answers
67 views

Moved Raid from NAS box to PC running Ubuntu hdparm shows drives frozen

So I had a RAID5 setup in a Partriot S4 Javelin (a NAS box). I'm now migrating it to a proper server running Ubuntu 14.04. NOTE: There are 4 drives. All the drives show up in Ubuntu. Two show ...
0
votes
0answers
276 views

Understanding iostat with Linux software RAID

I'm trying to understand what I see in iostat, specifically the differences between the output for md and sd devices. I have a couple of quite large Centos Linux servers, each with E3-1230 CPU, 16 GB ...
0
votes
0answers
58 views

Change Initramfs script

I made RAID 0 by mdadm'ing partition located on dmraid VIA VT6421 and Western Digital hdd. Installed Ubuntu on that RAID. Now, when I boot, I get (initramfs) ash prompt. There, I have to write mdadm ...
0
votes
0answers
2k views

Linux md RAID: /dev/md0 vs. /dev/md/0

On newer systems /usr/share/mdadm/mkconf (the script that is used to generate /etc/mdadm/mdadm.conf) tends to use the device name /dev/md/0 instead of /dev/md0: new-system ~ # /usr/share/mdadm/mkconf ...
0
votes
0answers
208 views

Tuning a CentOS VM running on an MDRAID-based XenServer storage repository

I've run out of ideas for tuning disk write speeds on a handful of CentOS VMs running on a lab XenServer 6.2 host. Running under the free license (so vendor support not a concern), the lab host is a ...
0
votes
0answers
53 views

Change numbers in the Number column to be consecutive from 0 for an mdadm RAID array

I have a RAID 1 array: # mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creation Time : Thu Oct 18 21:52:43 2012 Raid Level : raid1 Array Size : 1048564 (1024.16 MiB 1073.73 MB) ...