Skip to main content

All Questions

Tagged with
36 votes
10 answers
238k views

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 /...
Jonik's user avatar
  • 5,790
34 votes
3 answers
207k views

How do I reactivate my MDADM RAID5 array?

I've just moved house which involved dismantling my server and re-connecting it. Since doing so, one of my MDADM RAID5 arrays is appearing as inactive: root@mserver:/tmp# cat /proc/mdstat ...
Jon Cage's user avatar
  • 2,607
28 votes
4 answers
65k views

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 ...
XXL's user avatar
  • 1,469
11 votes
3 answers
16k views

mdadm RAID Fast Setup with Empty Drives?

I am recreating some RAID5 disks as RAID6 with mdadm. There is no data on the drives that I care about. Setting up RAID takes a while to setup the shape - I accept that when there there is data that ...
Paul's user avatar
  • 60.3k
9 votes
3 answers
4k views

Can I use an entire drive for as a software raid member?

Can I use /dev/sda and /dev/sdb for my RADI1 configuration? Or do I first have to partition both with a single Linux raid partition?
Kaurin's user avatar
  • 740
8 votes
3 answers
21k views

How do I mount a software RAID1 (mirror) created by Windows in Linux using mdadm?

I'm switching my Windows server to Ubuntu and am trying to get my software RAID1 (mirror) that I created in Windows to show up in Ubuntu. I have read that this is possible here using mdadm, but I'm ...
Grezzo's user avatar
  • 972
8 votes
3 answers
7k views

Raid1 with active and spare partition

I am having the following problem with a RAID1 software raid partition on my Ubuntu system (10.04 LTS, 2.6.32-24-server in case it matters). One of my disks (sdb5) reported I/O errors and was ...
Daniel Baron's user avatar
6 votes
3 answers
24k views

Creating a RAID1 partition with mdadm on Ubuntu

I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation. On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need ...
Jonik's user avatar
  • 5,790
6 votes
1 answer
504 views

mdadm: Win7-install created a boot partition on one of my RAID6 drives. How to rebuild?

My problem happened when I attempted to install Windows 7 on it's own SSD. The Linux OS I used which has knowledge of the software RAID system is on a SSD that I disconnected prior to the install. ...
swalog's user avatar
  • 191
5 votes
4 answers
15k views

New mdadm RAID vanish after reboot

I have problems with mdadm after reboot, I can't reassemble /dev/md0 . I work on debian wheezy. I have done the following steps:: sudo mdadm --create --verbose /dev/md0 --level=6 --raid-devices=4 /...
peon's user avatar
  • 51
5 votes
2 answers
11k views

Convert RAID 1 to RAID 10 in mdadm

In my current Ubuntu server, I have 2x 2TB Western Digital RED hard drives in a RAID 1, using mdadm. I would like to add 2 more 2TB RED drives, and convert it to a RAID 10. I realize I would have to ...
Canadian Luke's user avatar
5 votes
0 answers
2k views

mdadm RAID monitoring no DegradedArray email

So, I have a couple of MDADM RAID arrays and I want to set up monitoring with email notifications for drive failures through sSMTP but I can't seem to get it working. The system in question is a ...
Glader's user avatar
  • 171
4 votes
1 answer
4k views

MDADM RAID-0 does not increased size after grow on AWS Linux with EBS

I wanted to grew a Raid0 from 2 disks to 3 (each 1TB EBS on Amazon AWS) but the size did not change thereafter. The RAID started with two disks sdc and sdd and the new one was sdf. Here is the grow-...
Jörg Rech's user avatar
4 votes
1 answer
2k views

Can I create a degraded mdadm raid10-near (raid 1e) array?

I have three drives in my current system (all 1TB). The current setup is: sdb - raid0 member (failing soon) sdd - raid0 member sde - backup I'd like to change it so all three drives are part of a ...
Violet's user avatar
  • 191
4 votes
1 answer
13k views

Does mdadm record array event history?

I received an automated email from the mdadm daemon: A Fail event had been detected on md device /dev/md0. It could be related to component device /dev/sdh. I find the wording strange. "could be"? ...
superboot's user avatar
  • 358
4 votes
0 answers
3k views

How to prevent an mdadm array check from consuming excessive system resources?

Once a month I've been doing echo check > /sys/block/md2/md/sync_action in order to force a software raid consistency check. The problem is this is a 7.2T RAID 5. The consistency check takes ...
pgoetz's user avatar
  • 181
4 votes
1 answer
758 views

Raid Spare Spin Down

I have a software RAID 5 array (mdadm under Debian Linux) that has been up for the better part of a decade and has seen it's fair share of drive failures. I've always been leery about setting up a "...
julienj's user avatar
  • 183
3 votes
4 answers
10k views

MDADM reshape really slow

To sum up : My raid reshape with mdadm is really slow. The complete story : 3 days ago I realized that one of my disks from a raid 5 array was faulty. I removed it and replaced it with a brand new ...
Okeur's user avatar
  • 63
3 votes
1 answer
2k views

mdadm RAID 1 - spare drive after SATA cable change

Yesterday, my hosting provider changed a SATA cable of one of my HDDs. When my server came back up again, cat /proc/mdstat showed this: Personalities : [raid1] md124 : active raid1 sda1[0] ...
supernova's user avatar
  • 275
3 votes
0 answers
3k views

Synology DiskStation: How to stop/interrupt a running reshape (RAID5 -> RAID6)

The short of it: I have a running reshape from RAID5 with 5 disks to RAID6 with 6 disks which needs to be stopped, so I can power off the system. I do not care if the reshape needs to start fresh once ...
synouser's user avatar
3 votes
0 answers
1k views

mdadm RAID 1 not activating spare after replacing faulty drive

Have issue with mdadm similar to Simple mdadm RAID 1 not activating spare: have replaced faulty HDD in RAID 10 fdisked and added new hdd to mdadmn mdam resynced array After that I see following: ......
user2650367's user avatar
3 votes
0 answers
185 views

Metadata of the assambled raid inconsistent with the metadata of the individual drives?

We have a raid 10 with two failed drives, with one drive from each set still functional. When booting into rescue system the metadata seems to be fine and consistent with the expected state. The ...
user910763's user avatar
3 votes
1 answer
2k views

Documentation for mdadm bad block support

I've read a bit about that mdadm (and the kernel) now have bad block support but I am having a hard time finding any useful documentation on this subject. Is the bad block list for disk X duplicated ...
Waxhead's user avatar
  • 1,260
2 votes
2 answers
20k views

How do I tell mdadm to start using a missing disk in my RAID5 array again?

I have a 3-disk RAID array running in my Ubuntu server. This has been running flawlessly for over a year but I was recently forced to strip, move and rebuild the machine. When I had it all back ...
Jon Cage's user avatar
  • 2,607
2 votes
1 answer
4k views

Assemble 3 drive software RAID5 with one disk missing

Is it possible to assemple a three drive software RAID5 with only two disks? I have one failed disk in my setup which i could not read at all but the two other disks are fine. So i created a dump of ...
Maximilian Ruta's user avatar
2 votes
2 answers
3k views

Removing a disk from an Ubuntu mdadm RAID marks the array as inactive, instead of degraded

I'm setting up a mdadm raid 1 array on Ubuntu 14.10 under VirtualBox. Everything works fine: The raid 1 is set up with /dev/sdc1 and /dev/sdd1: Personalities : [linear] [multipath] [raid0] [raid1] [...
reljam's user avatar
  • 63
2 votes
2 answers
1k views

Why make a partition at all for mdadm/raid?

i have 4 disks, sd[a,b,f,g] of various sizes that I want to 'merge' together. I am using mdadm to achieve this. my question is, what's the difference between -- mdadm --create /dev/md0 --level=...
Hari Sundararajan's user avatar
2 votes
1 answer
5k views

Degraded RAID5 and no md superblock on one of remaining drive

This is actually on a QNAP TS-509 NAS. The RAID is basically a Linux RAID. The NAS was configured with RAID 5 with 5 drives (/md0 with /dev/sd[abcde]3). At some point, /dev/sde failed and drive was ...
ark1214's user avatar
  • 23
2 votes
1 answer
6k views

Assembling an mdadm array with "possibly out of date" disks

I've recently moved house and have had some power problems after switching on my file server that's using a mdadm RAID5 set up. The file system I'm using is ext4. It seems that at some point two (of ...
Travis's user avatar
  • 21
2 votes
1 answer
3k views

Auto-rebuild RAID6 with MDADM

I have an openSUSE 11.3 Linux computer with 5 disks of 1TB (WD enterprise disks) in it. With mdadm I configured a RAID6 device. Now, after a lot of thorough testing, I've noticed that when the ...
user65632's user avatar

15 30 50 per page