A linux utility used to manage software RAID devices.
Questions tagged [mdadm]
844 questions
0
votes
1 answer
Software MDADM RAID 5 - Inactive MD0 showing
I have Linux (Crunchbang 8.10) set up with 3x1TB Hard drives set up as software RAID5.
It has recently suddenly stopped working.
cat /proc/mdstat shows the following:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4]…

iali
- 103
- 1
- 3
0
votes
2 answers
Linux raid with a flaky usb drives (bus?)
I have a raid with two USB drives in a mirroring setup. It works pretty well, but the USB bus is pretty flaky and about once a week, for reasons unknown to me (apparently nothing relevant in the logs) a drive will disappear and come back on a…

jettero
- 135
- 1
- 5
0
votes
2 answers
ubuntu raid problem - different arrays configured, defferent mounted
I've just finished setting up my new ubuntu server 10.4 machine, with 2x500 GB SATA disks - which I intended to configure in raid1; specifically, that's what I did during the instalation process:
partitions:
disk 1 - sda:
sda1 - 500mb primary
sda2…
donwito
0
votes
3 answers
mdadm raid1 fails to resync
I'm trying to solve this problem I'm having with an mdadm raid1.
I have an ubuntu 9.04 server running on a software 2-drive raid1 with mdadm. Yesterday, one of the drives failed, and so I replaced it with a brand new drive of the same size. I…

0x6A75616E
- 661
- 3
- 10
- 24
0
votes
1 answer
mdadm cron job sends email that cron has run
I've got an Ubuntu 8.04 server using mdadm to create several RAID1 arrays. I created /etc/cron.hourly/mdadm as follows:
#! /bin/sh
set -e
mdadm --monitor /dev/md0 /dev/md3 /dev/md4 --oneshot
(Yes, the array numbers are not sequential, and I'm not…

Andrew
- 8,002
- 3
- 36
- 44
0
votes
2 answers
raid 5 creation (using mdadm) lots of read/writes on creation: is this normal?
I created a software raid 5 disk using:
mdadm -C /dev/md2 -l5 -n4 /dev/sd[i-l]
at the same time I'm using dstat to see io-activity:
dstat -c -d -D total,sda1,md2,sdi,sdj,sdk,sdl -l -m -n
and notice that disks sd[i-k] are all read from and sdl is…

Gbrits
- 683
- 1
- 7
- 9
0
votes
0 answers
Mdadm Raid5 kicking non-fresh drive from array
I set up a mdadm raid5 with 3 drives initially: sdc1, sdd1, sde1. They array creation was successful without issues. Later I decided to extend the array using one more drive. After proper partitioning, I added the device sdf1 to the array and…

ricardo3889
- 1
- 2
0
votes
0 answers
mdadm copy superblock from drive to drive
i have an RAID5 consisting of 7 HDDS. One Drive is only partially accessable anymore.
Unfortunatly i used the create command which resetted the superblocks of the 6 healthy drives.
is there a way to access a superblock backup, save it to a file and…

JJSCH
- 1
0
votes
0 answers
setup Raid1 on running system
I have 2 disk sda and sdb with several partition. I have to make a raid1 of the running system. I managed to setup raid1 with md0 on root but there are 2 more partition which are mounted on /home and /var which i cannot add to raid. Below are the…

codelearner1029
- 1
- 4
0
votes
1 answer
Reassign drive index number of mdadm software raid devices
My RAID 1 array has two disks as stated by # mdadm --detail /dev/md0
...
...
...
Number Major Minor RaidDevice State
5 8 32 0 active sync /dev/sdc
4 8 16 1 active sync …

razor7
- 135
- 10
0
votes
1 answer
Convert MDADM RAID disk to non-raid disk
I have an existing RAID1 disk that is my boot & root drive locally. I want to convert this disk to a non-RAID disk and allow boot & root to be mounted without mdadm. What is the best way to do this?! I am having a tough time getting this…

Derek Edwards
- 33
- 6
0
votes
1 answer
Cancel `md --grow` operation
I added drives to an md RAID5 array, and quickly realized that I forgot to create a partition as is best practice (something I’ve also learned from bitter experience). How can I cancel this operation and re-add them?
Right now I froze the rebuild.…

Aleksandr Dubinsky
- 147
- 2
- 10
0
votes
0 answers
/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error
I recently had issues with a raid filesystem I created and had some bad luck.
I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one spare to migrate from an ntfs windows to linux…

noje89
- 1
- 3
0
votes
1 answer
Temporary disconnect of HDD in RAID 0 array
I have a blade server on Rocky Linux 8 with 5 18TB WD Gold HDDs in a software RAID0 built with mdadm. I will accept all the lectures on this and change my ways if you all can help. I needed coffee while I was investigating what appeared to be an…

alchemist
- 11
- 1
0
votes
0 answers
Why is existing RAID1 boot array not working in new PC
This question maybe related to this: https://askubuntu.com/questions/1347710/disappeared-raid-1-array-after-replacing-motherboard
I created a software RAID1 array with 2 SSDs on an HP Z800 and configured it as my boot device. Everything worked.…

Ben
- 123
- 6