A linux utility used to manage software RAID devices.
0
votes
0answers
32 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
0answers
33 views
Restore mdadm/lvm2 raid after overwriting partition table
I made a stupid mistake! I have an Ubuntu 11.10 and there I have 3x2TB disks in a RAID5 -> 4TB usable. I wanted to install a new 4TB disk in the computer. I opened gparted and created a GPT partition ...
0
votes
1answer
52 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
25 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 ...
1
vote
1answer
50 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 ...
2
votes
0answers
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 ...
3
votes
1answer
156 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
76 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
68 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
0answers
117 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
125 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
175 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
72 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 ...
0
votes
0answers
38 views
Accessing data on a 2-of-3 mdadm RAID1
I have a mdadm device md1 which was composed of sda2, sdb2, and sdc2. One of sda or sdb has vanished on my latest boot, and now I cannot use md1.
/proc/mdstat has:
md1 : inactive sdb2[2](S) ...
1
vote
2answers
363 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 ...
0
votes
0answers
33 views
Want to swap a spare with an active/clean device in raid5
I have a clean raid5 array running on Ubuntu 12.10 with 3 disks. Several months ago, mdadm marked one drive as faulty so I ran an extended SMART test and everything came back fine. I then forced it ...
2
votes
0answers
161 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
146 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 ...
1
vote
1answer
324 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
86 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
39 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
194 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
172 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
61 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 ...
2
votes
0answers
614 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
365 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
218 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
41 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
57 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
82 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
110 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 ...
1
vote
0answers
131 views
At what point does RAID 0 stop being fast and just become dangerous? [closed]
I have an interesting RAID setup across 2 harddrives on my home computer. I have /tmp and a mount point(/home/machines) for virtual machines (along with a few other mount points). These partitions I ...
0
votes
1answer
3k 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
2k 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] ...
4
votes
2answers
739 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
107 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 ...
1
vote
1answer
873 views
mdadm: superblock on /dev/sdd1 doesn't match others - assembly aborted
OS: Debian Squeeze
Kernel: 2.6.32-5-amd64
mdadm version: 3.1.4 (31 August 2010)
mdarrays
md1 = raid1 (this is working) (devices: /dev/sd[fg]1)
md0 = raid6 (previously raid5, ...
1
vote
2answers
212 views
Migrate mdadm raid array from 32bit to 64bit debian squeeze
I have a raid5 array running on Debian Squeeze 32bit (x86) and I plan to upgrade to Debian Squeeze 64bit (amd64).
To keep my raid5 array and ext4 filesystem I simply keep a copy of my mdadm.conf ...
1
vote
1answer
466 views
Take one disk of external mdadm data raid 1 to travel
I have a mdadm software raid 1 on external disks with media data.
For travel I want to take the data with me.
I imagine to set the raid and the underlying filesystem in readonly mode and take just ...
2
votes
3answers
1k views
mdadm Ubuntu 12.04 fails to assemble RAID6 during boot
I will try to keep this short.
I have a mdadm RAID 6 with 11 drives. This has for years "just worked" across reinstalls and such, without any issues. I have not even had the need for configuring ...
1
vote
1answer
110 views
How to grow an EBS mdadm raid 10 array?
Is it possible to grow a RAID 10 array? Can I take it offline and grow it? Or do I have to make an entirely new array, and copy all the data onto it?
1
vote
1answer
1k 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 ...
0
votes
1answer
467 views
How do I reinitialise a failed RAID 5 drive using terminal on Ubuntu Server
I've currently put together a new system and part of that has been creating a software RAID 5 using 'mdadm' in Ubuntu Server.
I successfully got to the point where I create the array using:
sudo ...
4
votes
2answers
1k 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 ...
12
votes
7answers
9k 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 ...
0
votes
0answers
382 views
mdadm recognizing array incorrectly how can I recover the data
So I formatted both disks sd[cd], each as a big ext4 partition, and then used mdadm to create a raid0 array sd[cd]1. This worked fine, and I mounted the device and started storing data on it. Prior to ...
0
votes
1answer
496 views
Getting advanced format drives to like new?
I have 5 2TB WD Green (WD20EARX) drives that I eventually want to put into software RAID 5. I can't seem to find a complete guide on getting these drives prepared for use with Ubuntu (mdadm) that ...
0
votes
1answer
505 views
Safety of Truecrypt for Large Raid5 using ubuntu, mdadm, lvm, ext3?
I'm planning to set up a large (probably 6-9Tb) raid-5 array on ubuntu using mdadm, lvm and ext3. Does anyone have any opinions or suggestions on the safety of using a Truecrypt volume for that amount ...
0
votes
1answer
455 views
Adding Space to RAID5 using mdadm, lvm and ext3
I have seen a few descriptions about using mdadm with lvm to create an easily expandable raid, such as this question, but I still think I'm missing something. Say that I create the raid using mdadm ...
1
vote
3answers
418 views
Linux software raid robustness for raid1 vs other raid levels
I have a raid5 running and now also a raid1 that I set up yesterday. Since raid5 calculates parity it should be able to catch silent data corruption on one disk. However for raid1 the disks are just ...

