A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

18
votes
9answers
28k views

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to ...
20
votes
8answers
98k 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 ...
25
votes
5answers
50k views

How can I make mdadm auto-assemble RAID after each boot?

I successfully created a RAID (mirroring) by utilizing mdadm. However, I must run the following commands after each boot: mdadm --stop --scan // to stop /dev/md127 - I don't know where the number 127 ...
2
votes
2answers
2k 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 ...
2
votes
1answer
2k 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 ...
2
votes
2answers
1k views

How to remove a drive from a non-standard 2-drive RAID 5 array?

There is some information available on shape changes in RAID arrays but I'm a little nervous and would like confirmation: Problem: I have 2 500GB drive as software raid 5 (mdadm). I would like to ...
6
votes
3answers
15k 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 ...
4
votes
1answer
364 views

HDDs occasionally “click” and dump this error

Every once in a while, my HDDs (6 1TB drives in a Linux md RAID-6 array) make a brief "click" sound, and I get this from dmesg. I don't really have any clue how to start diagnose this, or even how ...
2
votes
2answers
11k views

How to remove Linux software RAID MD device?

I'm trying to install openSUSE 12.3 on the new server. It is this machine. There are 2 HDDs connected to the SAS controller. What I want to achieve is a NON-RAID configuration where 1.HDD is used for ...
1
vote
1answer
75 views

How to proceed after creating software RAID 1 array on Linux

So, I've created a RAID 1 array using two 500 GB hard drives. I used a Linux Mint Boot Disk, and then used mdadm to create the RAID 1 array using 2 hard drives, each which has a single primary ...
1
vote
1answer
8k views

How can one setup RAID 1 in Linux Mint 13?

I am trying to setup a Linux Mint 13 system using mdadm, with 2 1TB hard drives for a software mirror. I have tried following instructions found for Linux Mint 12, but the instructions fail to mention ...
1
vote
1answer
6k 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 ...
1
vote
1answer
6k views

determine chunk size of an existing raid array

What should I do to determine chuck size of existing raid arrays. I'm using software raid created by mdadm. I've been probing around for a while and can't find the right utility to that job. mdadm ...