A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

1
vote
0answers
11 views

mdadm RAID10 - change broken disk

Tonight my server stopped answering to ssh, ping, so I drove to the server room. Server did not respond to keyboard (even Ctrl-Alt-Del), there was no data on screen (it was black, no symbols on it), ...
2
votes
1answer
32 views

RAID mdadm virtual disk too small

sudo mdadm --build /dev/md0 --level=linear --raid-devices=3 /dev/loop0 /dev/sda1 /dev/sda2 After running the above command, /dev/md0 is smaller than /dev/loop0 + /dev/sda1 + /dev/sda2. Why is that ...
2
votes
2answers
23 views

Replacing a disk to RAID5 failed

I removed a faulty disk from my RAID5 with mdadm --manage /dev/md0 -r /dev/sdd1 and replaced it with a new one. I tried to add it with mdadm --manage /dev/md0 -a /dev/sdd1 but it's only added as a ...
4
votes
1answer
41 views

Is it sensible to use multiple LVM layers with mdraid

I'm building up a home server that will be used for a handful of different things. I'd really like to try a Btrfs raid 1 array for a large data store, but I'm using CentOS 7 (older kernel although ...
1
vote
0answers
18 views

Boot GRUB2 with Degraded RAID5

I am building a custom NAS with Debian Jessie. Has three 4TB hard drives in a software RAID5 configuration. Works perfectly when all three drives are present. I am trying to test what happens when if ...
1
vote
1answer
36 views

mdadm raid filesystem differs from disk filesystem

I have created a raid 5 using mdadm on Debian. I used 2 new and 1 "old" disks. The old one had ext3 before. Using "parted -l" I noticed the raid has ext4 as filesystem but the old disk has ext3. I ...
0
votes
1answer
27 views

RAID boot drive not found after mdadm upgrade

I was having trouble getting a new RAID array to assemble on startup, and before anyone responded to that post, I tried updating mdadm, but this ended up taking a very long time because of all the ...
1
vote
2answers
66 views

New RAID array will not auto assemble, leads to boot problems

I had just asked this question where I was unable to boot after installing a new RAID1 Array. I was able to get to the terminal, but once I sorted that out I realized that my problem isn't so much an ...
2
votes
3answers
52 views

mdadm refuses to add second identical disk to array

I have a RAID 1 array which is in a degraded state and want to add another drive to it. # mdadm --detail /dev/md1 /dev/md1: Version : 1.2 Creation Time : Fri Mar 21 17:23:00 2014 Raid ...
1
vote
0answers
17 views

mdadm arrays referencing the same devices

I've a software RAID setup for one of my servers. Now there are two arrays that reference the same devices (md126/md127 - see below) where one of them is marked inactive. I want to understand what ...
2
votes
1answer
90 views

Data Recovery from a 4-Disk NAS RAID 10

I know there are similar questions to this but none specific to RAID 10 extracted from a NAS, so any help is greatly appreciated. So, basically the NAS is kaput but the drives are ok. Following the ...
2
votes
1answer
68 views

proper way to stop software RAID before system shutdown

This should be straightforward, but I have been unable to find a direct answer by searching. I find that if I unmount an mdadm-managed array and then either (1) unplug the array, (2) power off the ...
2
votes
1answer
85 views

Centos 7: /dev/md/root instead of /dev/md0

I have in mdadm.conf the following: ARRAY /dev/md/root level=raid1 num-devices=2 UUID=331de03d:8ba39777:3b664baf:36366f33 But here is mdadm.conf example with the following: ARRAY /dev/md0 ...
0
votes
2answers
108 views

Raid devices are mounted with different UUID

Centos 7.1 64. This is what I have: Two raids, but not md0 and md1 [root@localhost]# cat /proc/mdstat Personalities : [raid1] md126 : active raid1 sdb2[1] sda2[0] 974711616 blocks super 1.0 ...
5
votes
2answers
174 views

mdadm - Can't Remove Components In RADI1

I have my /boot partition in a RAID 1 array using mdadm. This array has degraded a few times in the past, and every time I remove the physical drive, add a new one, bring the array being to normal, ...
0
votes
1answer
223 views

Required GRUB modules for booting on mdadm RAID1

I have a mdadm-managed RAID1 with a single EXT4 partition on it (having both the OS files and GRUB's files in /boot/grub), and I'd like to know what modules and what configuration do I need for GRUB ...
3
votes
1answer
136 views

Resize MDADM/Software RAID underlying partition and filesystem

I am running out of space on my root partition and would like to steal some from a different partition. The drives are 2x120GB with mdadm software RAID. I am using CentOS 6.5 64-bit. I used the centos ...
1
vote
1answer
144 views

Revert btrfs to ext4 on mdadm raid

I have a Raid 5 setup using devices rather than partitions. I recently converted the ext4 fs on the md device to btrfs. I was initially happy with btrfs, but to be short, it's eating up CPU cycles ...
2
votes
1answer
196 views

Can BTRFS stripe RAID arrays?

I've been using an Ext3/4+lvm2+mdadm file system setup for about 5 years on a file server. This has grown (and moved processors a couple of times) and I've moved disks between systems ...
3
votes
1answer
60 views

How to restore RAID5 Array

I have a RAID5 array consisting of 3 identical 2TB drives. Suddenly GRUB wouldn't boot anymore and gave the error out of disk. Eventually booted a livecd and ran some mdadm commands: mdadm --examine ...
1
vote
1answer
143 views

How to assemble a specific RAID array without using /etc/mdadm.conf

Is it possible to assemble a specific RAID array using mdadm and its scan-functionality, but without the need for a configuration file? Background: I'm using a custom-made initramfs to setup my ...
4
votes
1answer
237 views

How mdadm recognizes which device is right one to sync others with

Imagine you have mdadm raid1 with 2 disks. Then you turn off the server, split the disks each one to different machine and boot both of them, so they will become slightly inconsistent Now you turn ...
1
vote
1answer
97 views

mount mdadm disk without partition table

I've a debian installation and during the installation I had made 3 mdadm raid disk: swap, root and home. I had done it with partman and it had made the mdadm disk without partition table. Now I want ...
2
votes
2answers
53 views

challenging failed raid5 recovery

I have a personal raid 5 array that is in rough shape. The failed array has eight 2 TB drives that were built up over time in my n-2 desktop machine. The array is from an in-house computer that ...
1
vote
1answer
52 views

Rebuild linux raid array?

I'm going to be building a media server soon and I want to know how hard it would be to rebuild an array in the event of an ssd failure. Here's what I'm doing. I'm going to have a 128GB SSD boot drive ...
0
votes
0answers
186 views

Grub multi-disk/RAID configuration not booting

I have a system with 2 SSDs configured in BIOS as a Raid 0 volume. The system came with Windows 8 pre-installed. I would like to multi-boot Windows 8 and Debian 7. The Debian installation disk ...
1
vote
2answers
347 views

How to map a sata device name to a physical sata interface for RAID systems

I have a system with 10 SATA ports, and another SATA as the boot disk. The 10 SATA ports make up 5 software RAID1 arrays. The RAID disks may be removed between boots, and swapped in with arbitrary ...
3
votes
1answer
215 views

Unable to check a mdadm RAID1 array, says the file system's read only?

I recently migrated a RAID1 from a CentOS 5 system to a CentOS 6 system and ever since when I attempt to perform a check I get the following: $ echo 'check' > /sys/block/md127/md/sync_action ...
5
votes
1answer
2k views

Grub-install: embedding is not possible in Bios/GPT

I am struggling with setting up an encrypted NAS for some days now. The basic plan is to have btrfs on lvm on luks on raid1 with lvmcache in writeback mode thrown in for the root partition to reduce ...
0
votes
1answer
127 views

An existing mdadm RAID5 is not mounting, Either a problem drive or Superblock

I have 4 x 3TB NAS setup as RAID5 which has been working great for almost a year. After a recent abrupt shutdown (had to hit the power button) the RAID will no longer mount on boot up. I've run: ...
0
votes
1answer
71 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
5
votes
3answers
257 views

Shrinking LVM physical volume on top of mdadm degraded RAID array, adding a spare and rebuilding it

I have a Debian Wheezy system with a couple of 500 GB HDDs in RAID-1 (mdadm mirror), on top of which sits LVM logical volumes with 5 partitions (boot, root, usr, var and tmp), total size of 47.15 GiB. ...
3
votes
1answer
644 views

RAID-1 doesn't Assemble, elements listed as SPARE, how to recover?

I recently moved my Kubuntu 12.04 workstation to a new location. It was shutdown normally but when I rebooted it in its new home the RAID-1 array /dev/md0 was GONE! The Elements of the array are ...
3
votes
2answers
87 views

Raid 5 not starting

I had a raid 5 with 3 disks in my old computer, but the motherboard died. I put all the disks in a New computer, but the raid doesn't want the start anymore. When booting the pc, i can see all ...
0
votes
1answer
709 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
0answers
40 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 ...
1
vote
0answers
116 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 ...
3
votes
1answer
2k views

Grub fails to install - Debian Wheezy with mdadm RAID1 and GPT partition table

I've been trying all day to get my new Wheezy install completed but it fail to install Grub every time. I'm using x64 netinstall iso. Here is my partition table: Model: ATA ST3000DM001-1CH1 (scsi) ...
1
vote
1answer
341 views

Can't boot from RAID array - arrays not assembled at boot

On my lubuntu 13.10, I created a degraded RAID array, copied all the contents of the "main" disk and tried to boot from the array. I mostly followed these instructions. At boot the system does not ...
1
vote
2answers
238 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 ...
0
votes
1answer
1k 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 ...
1
vote
1answer
55 views

mdadm - What's the difference between --detail --scan and --examine --scan?

From man mdadm: -E, --examine Print contents of the metadata stored on the named device(s). Note the contrast between --examine and --detail. --examine applies to devices which are ...
1
vote
2answers
195 views

Spanning RAID over SSD and Mechanical HD

Currently I have my root (/) directory on my ssd, and my home directory on my mechanical drive. Wanting to utilize more of the ssd and hopefully get a speed benefit, I was considering spanning across ...
0
votes
1answer
67 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 ...
2
votes
1answer
389 views

A SparesMissing event had been detected on md device /dev/md0

I'm getting the following mail every day on a server: This is an automatically generated mail message from mdadm running on <host> A SparesMissing event had been detected on md device ...
1
vote
3answers
57 views

Linux SW RAID and physical volumes

In each guide about software RAID in Linux, I could find online I see that people usually create/assemble RAID devices using partitions, like: mdadm --create --verbose /dev/md0 --level=5 ...
2
votes
3answers
2k views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
0
votes
0answers
698 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
1answer
77 views

Data integrity after GPT restore on Mdraid configured disk

I've restored backup GPT headers on previously GPT partitioned disks that are member of a Linux software raid (mdraid). This was done because partprobe reported corrupted headers. Now actually ...
1
vote
0answers
91 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 ...