A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

1
vote
2answers
442 views

XFS in-memory corruption after hibernate

I am constantly getting the below errors with XFS filesystem present on software raid-1 which was then converted to 3-disk raid-5. Errors happen exclusively after hibernate, normally either ...
1
vote
1answer
800 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 ...
1
vote
2answers
426 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
1
vote
0answers
219 views

Create a mdadm raid mirror of an existing lvm

Hello I'm trying to figure out how I can create a pretty strange mdadm mirror of my lvm. I have 4 disks, (sda,b,c,d). Each disk has 2 partitions: 1Gb - physical volume 500mb - Swap My system lvm ...
5
votes
1answer
141 views

Is it safe to “use” to disk if extended smart check is in progress?

As simple as the title suggests. /dev/sda is a unit from /dev/md127 - RAID1 drive. I'm currently running a test - started a smartctl -t long /dev/sda. Afterwards, I started to copy files over ...
1
vote
0answers
45 views

erased md0, md1 and can't recreate them

I previously had a working RAID 1 array. I think as a result of running grub-install /dev/sdb and grub-install /dev/sdc I somehow wiped my computer of md0 and md1. I need to set them up again. When ...
3
votes
1answer
784 views

mdmda raid 1 - spare drive after SATA cable change

Yesterday my hoster 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] 4193268 blocks ...
1
vote
0answers
140 views

Is `dmsetup remove` safe with respect to contained data?

I have a "lost" SW RAID array as described in this question: http://askubuntu.com/questions/311024/raid1-array-lost-after-upgrade-from-ubuntu-11-10-to-13-04. I have now identified a way to mount one ...
1
vote
1answer
372 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 ...
1
vote
0answers
236 views

Upon reboot, Linux software raid fails to include one device of a RAID1 array

One of my four Linux software raid arrays drops one of its two devices when I reboot my system. The other three arrays work fine. I am running RAID1 on kernel version 2.6.32-5-amd64 (Debian Squeeze). ...
2
votes
2answers
1k 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 ...
0
votes
2answers
74 views

Writing to a specific drive with software RAID4 on Linux

Edited to reflect conclusions from comments: I want to construct a software RAID-like array with 2 storage devices plus one parity device, where the parity device maintains the XOR of the two other ...
1
vote
0answers
114 views

How to add extra sata drives to desktop server

I have an ubuntu 12.04 machine with a raid using mdadm. The motherboard has 8 sata ports which are all being used, and I would like to add more hard drives to it. What's the easiest/best way to add a ...
2
votes
2answers
8k 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
3k views

Bad superblock on /dev/md0

I have an mdadm RAID 5 array running on Debian Wheezy. It's comprised of 3x 2TB drives. I've obviously done something stupid, because now I can't mount it and it's throwing up the following error: ...
1
vote
0answers
343 views

blkid not returning the correct UUID/label for drive

I have 7 drives in my server (running Debian Wheezy as dom0 for a Xen hypervisor): An 80GB system drive, 3 x 2TB drives, a 1TB drive and 2x 500GB drives. The 2TB drives are all part of an mdadm RAID ...
7
votes
3answers
26k 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 ...
2
votes
0answers
611 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 ...
0
votes
2answers
257 views

Debian server intermittently fails to boot, possibly linked to MD/RAID - what can I do to investigate?

Occasionally (1 in 60 boots), one of our debian (2.6.32-45) servers fails to boot: The output from the failed boot ends here: ... [ 7.831991] raid6: using algorithm sse2x4 (11665 MB/s) [ ...
0
votes
1answer
350 views

Adjusting mdadm priority on Ubuntu

I have Ubuntu 12.04 running on my new server, and it is setup to run off of one drive, then 2 drives that are mirrored using mdadm. When streaming files or media from it, it is extremely slow. I was ...
0
votes
1answer
2k views

mdadm disk partition type : Linux RAID Autodetect mandatory or 83 Linux ok?

Main question : Q1: i would like to know when using mdadm, the "Linux RAID Autodetect" type is mandatory for my disk, or a "83 linux" type is ok ? Sub question : Q1_1 : What are the differences ? ...
2
votes
1answer
95 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 ...
3
votes
2answers
1k views

mdadm: safest way to grow RAID 5 (4x2TB) with 2x4TB

My situation:I am currently running a RAID 5 with 4x2 TB disks and would like to grow the array with 2 x 4 TB disks. The goal would be that there is a RAID 5 with 4 x 4 TB (the two 4 TB disks and two ...
4
votes
3answers
2k views

Need to find which drives are mirrored within RAID-10 array

I have a home media server running on openSUSE 12.2. I'm using eight 2TB drives in a RAID-10 configuration. I deliberately bought two different types of drives: four Seagate Barracuda Green and four ...
1
vote
0answers
673 views

Unable to reassemble md raid on drives pulled from ReadyNas Duo v1

I'm toying with a ReadyNAS device that I've recently acquired. It is a SPARC-based box, and it runs linux. As device is pretty slow, I've pulled one drive out of array, hoping to populate it with ...
1
vote
0answers
351 views

Broken mdadm RAID after hard drive firmware update

I updated the firmware on the two hard drives in my raid array, and now the raid array does not seem to work. I'm running Kubuntu 12.10. Here is the output of some things I tried: sudo mdadm ...
2
votes
1answer
912 views

Mounting a raid1 device - no suitable drives found

I'm having some problems with my disks; long story.. but right now I'm trying to mount a device that was part of a 2-disk raid1. For that, I tried to assemble it into a new array, but... % mdadm -Av ...
0
votes
2answers
1k views

In mdadm's /proc/mdstat, what does [U_U] mean?

I just set up a raid 5 array for my media server. I set got 2 new disks, and set up an array with one missing drive, to copy the data from the old single drive to the new array, and later I will add ...
5
votes
2answers
373 views

ext4 on mdadm reverting data

I have a problem with my home server setup. The problem is that sometimes, but really rarely, it reverts (for a lack of a better term) all my data back to an earlier state (somewhere between months ...
0
votes
0answers
101 views

Disaster recovery for RAID and mdadm

I´m having a software raid 5 with 5 2TB members. After some work with gparted my RAID doesn´t work any more... How can I check the integrity of each member? What would be my options, if the partition ...
2
votes
1answer
1k views

Optimal raid array on Centos 6

I have 4x2TB disks and I want to create a well-performing RAID5 array (server is HP N40L microserver with 8GB RAM, booting from a 64GB SSHD). The OS is Centos 6.3, x86_64. I created the raid array ...
2
votes
0answers
454 views

Cloning Ubuntu mdadm RAID1

I would like to clone a pair of RAID1 drives created with mdadm. I've tried Clonezilla, but there's no native support for mdadm, so it resorts to using dd which is incredibly slow. I've looked for ...
1
vote
1answer
521 views

Linux raid10 on btrfs

I've read that BTRFS requires at least 4 disks (https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices). Indeed, Linux mdadm raid10 requires only 2 disks ...
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 ...
1
vote
1answer
227 views

how to boot without assemblying raid arrays (or assembling them correctly)

I had one debian 6 system with two harddisks on raid1 set up via mdadm. built on simple partitions (/dev/sdb3, /dev/sdc3). at least on the old system, everything is tied up via UUIDs. then i inserted ...
1
vote
0answers
57 views

Software RAID 1 resync's on SATA cable switch?

I made a mistake when I opened up my desktop removed a 2 disk RAID 1 and reconnected them, but with the SATA cables switched, such that sda became sdb and viceversa. On boot, the RAID array started ...
0
votes
0answers
224 views

Post raid5 setup reboot shows single hard drive failure on ubuntu 12.10?

I just set up raid 5 on linux using three HDDs as per a guide. It all went fine until when I rebooted I got the following text: http://i.stack.imgur.com/Zsfjk.jpg. Does this mean one of my HDDs has ...
0
votes
1answer
641 views

Linux system cannot find RAID 10 md device after reboot of the system

I ran these commands: $ sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=4 /dev/sdh1 /dev/sdh2 /dev/sdh3 /dev/sdh4 $ echo 'DEVICE /dev/sdh1 /dev/sdh2 /dev/sdh3 /dev/sdh4' ...
0
votes
1answer
107 views

How to create physical and logical volumes on system reboot

My system is set up so that I take four devices, create a RAID 10 array out of them, create a physical volume, a volume group, and then three logical volumes, and lastly I create filesystems out of ...
5
votes
1answer
1k views

Does TRIM avoid the performance impact of mdadm RAID 1 on SSD?

It has already been mentioned in other questions that Red Hat recommends against using mdadm RAID 1 on SSD. Red Hat also warns that software RAID levels 1, 4, 5, and 6 are not recommended for use ...
1
vote
1answer
670 views

SSD lifetime in software RAID 1 [closed]

We're looking at use two SSD in a software RAID 1 raid on CentOS. We have tested performances and it is the same as a SSD alone. But we fear that because of mdadm, lifetime of the SSD will shorten. ...
2
votes
4answers
726 views

Solution for storing sata drives outside of case

I have a system that has 8 sata disks in a software raid 5 array using mdadm. My issue is that I want to move the drives from inside of the computer case in order to cool more efficiently. I have ...
0
votes
0answers
49 views

Do a Re-Build During a Re-Shape?

On my Linux software RAID 6 array, I'm currently mid-reshape and 2 drives have been marked as failed. I've swapped them out and added new ones to the array, which are currently marked as spares. The ...
0
votes
1answer
87 views

Linux RAID Re-Shape Stopped

For the past 8 hours my mdadm re-shape process has been stuck. The output is: Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid6 sdo[11] ...
1
vote
0answers
99 views

How to add new partition to RAID-1 array on Redhat FC10?

I have a RH FC10 system with RAID 1 partitions, here is mdadm.conf: # mdadm.conf written out by anaconda DEVICE partitions MAILADDR root ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 ...
0
votes
1answer
159 views

Disable writing RAID degraded mode

I have a RAID5 with 5 disks on my machine and suspect the motherboard chipset to fail at some points and make my raid going in degraded mode. Last time it happened I noticed it on the failure of the ...
0
votes
1answer
7k 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 ...
2
votes
0answers
9k views

How to force mdadm to stop RAID5 array?

I have /dev/md127 RAID5 array that consisted of four drives. I managed to hot remove them from the array and currently /dev/md127 does not have any drives: cat /proc/mdstat Personalities : [linear] ...
5
votes
2answers
3k views

Resize underlying partitions in mdadm RAID1

I have a home built NAS, and I need to slightly reconfigure some of my drive usage. I have an mdadm RAID1 composed of two 3TB drives. Each drive has one ext3 partition that uses the entire drive. ...
3
votes
2answers
129 views

Can a non-redundant RAID5 cause any serious problems (compared to RAID0)?

I used to have a three-disc RAID5 (mdadm) in my computer for personal media storage (music, videos, photos, programs, games, ...). It had three discs with 750 GB each, resulting in an array capacity ...