a utility to administrate Linux Software RAID devices
Questions tagged [mdadm]
496 questions
29
votes
4 answers
Why is my RAID /dev/md1 showing up as /dev/md126? Is mdadm.conf being ignored?
I created a RAID with:
sudo mdadm --create --verbose /dev/md1 --level=mirror --raid-devices=2 /dev/sdb1 /dev/sdc1
sudo mdadm --create --verbose /dev/md2 --level=mirror --raid-devices=2 /dev/sdb2 /dev/sdc2
sudo mdadm --detail --scan returns:
ARRAY…

mmorris
- 1,012
11
votes
1 answer
How do I repair my software RAID5 disks?
I accidentally unplugged my eSATA cable while rerouting some cables behind my desk and knocked my RAID array offline.
I believe the drives are fine, but they show up as state "removed" now, how can I reinitialize the array?
mdadm --detail /dev/md1…

Jorge Castro
- 71,754
5
votes
1 answer
Mdadm. Disk already part of an array
I am trying to delete my RAID array and start again because of some annoying error listing my gpt is corrupt. I used gparted to delete all the info off the disks, so they say "unallocated" on each drive. I then try to create an array using the…

john smith
- 3,033
3
votes
1 answer
MDADM Array help
I was running ubuntu 11.04 and my boot drive has become corrupt. This has stopped me from accessing my raid5 array.
The array was set up in MDADM and called MD0 i think. Can I install ubuntu 11.04 on a new os drive and pull back my array? If so…

Warren
- 31
3
votes
1 answer
MDADM: auto re-add dropped HDD
Sometimes hdd might drop out of my RAID, but after I fix HW problem - I have to manually find out which is device name of dropped HDD and manually re-add it.
Is there a way to let mdadm scan all HDDs and auto-read ones which belong to array?

BarsMonster
- 509
3
votes
1 answer
mdadm array, Error mounting system-managed device /dev/md0: can't read superblock on /dev/md0
Hi I'm having trouble with my 16Tb (5x4tb) mdadm array. It works fine untill i get a power cut or turn off the machine forcefully, and then upon restart and i try to access it i get the error message "Unable to access location - Error mounting…

Alex
- 91
2
votes
0 answers
When trying to create a raid array with mdadm it says it failed to open the first disk listed
When I try to set up raid in the terminal with mdadm it always comes up with this one problem,
"mdadm: failed to open /dev/sdb1 after earlier success - aborting"
Anyone know how to fix this?

Google_Vs_Games
- 21
- 2
2
votes
0 answers
how long should it take to create a raid 10 with 4 3TB disks?
I am trying to create a raid 10 with four 3TB disks on ubuntu 12.10 with mdadm. I was wondering how long should it take to create the raid. Right now when I look at /proc/mdstat it is showing 19107 minutes. That is more than 13 days. Is this…
2
votes
1 answer
Ubuntu 12.04 hangs on boot, won't mount mdadm array
I have two problems that I believe are related. One has been happening for years through multiple versions of Ubuntu (at least from 11.10 to 12.04), the other is new since I update the kernel.
First problem first, this is the one that's been…

jerussell
- 31
1
vote
0 answers
How did mdadm change from 14.04 to 16.04
I was using mdadm to spawn multiple copies and also backups of a degraded mdadm Raid1 "array", off which I ran my system. After do-release-upgrade to 16.04 (and even just halfway to 15.04 IIRC) this system stops booting to emergency mode, which is…

xubunuser
- 21
1
vote
0 answers
is it possible to undo convertion from raid5 to raid6?
I converted my 3-disk RAID5 to RAID6 with :
mdadm --grow /dev/md1 --level=6 --layout=preserve --force
The change was immediate, (no rebuilding - there was no extra device, it was still 3 drives), but now naturally the array will not assemble…

Andy
- 91
1
vote
0 answers
Ubuntu 14.04.2 LTS Boot fail after installing mdadm..."Incrementally starting RAID arrays..."
I am testing Ubuntu 14.04.2 LTS on Virtual Box. My ultimate goal is to build a real world RAID1 SAMBA home server. This is my first foray into a Linux distro. I have come a long way in the last 2 weeks though. I have a good understanding of…

toddk63
- 141
1
vote
1 answer
Windows broke my md RAID. (Unknown RAID level -1000000)
I did something very stupid today. Now I'm just hoping to find someone who is even more smart than I am stupid.
I have a couple of hot swappable disks. Since I'm going to screencast Ubuntu 12.04LTS next week, I thought I'd install a fresh copy on…

Jo-Erlend Schinstad
- 29,531
0
votes
1 answer
raid 1 with mdadm on whole disks
I successfully created a raid 1 array on my 3TB hard drives with the following command:
$ mdadm --create /dev/md0 -v -l 1 -n 2 /dev/sd[bc]
I created a luks crypt on that array and moved all of my precious data there and allowed it to fully sync.…

Al Hoo
- 121
0
votes
1 answer
Reinstall ubuntu from scratch while keeping mdadm raid
So I have been stuck on 11.10 for fear of doing a dist upgrade and breaking everything trying to go up multiple versions. It has come a time that I finally should move up to at least 14.04 and looking for some advice.
Currently I have the OS and…

Danny
- 101