A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

2
votes
1answer
488 views

linux raid 1: right after replacing and syncing one drive, the other disk fails - understanding what is going on with mdstat/mdadm

We have an old RAID 1 Linux server (Ubuntu Lucid 10.04), with four partitions. A few days ago /dev/sdb failed, and today we noticed /dev/sda had pre-failure ominous SMART signs (~4000 reallocated ...
1
vote
1answer
182 views

Expanding raid 5 luks partition

I have just bought 2 new drives to my raid 5 array. I have successfully added them to the array and resynced. I now have a /dev/md4 drive that is 16 TB, but the crypt-luks partition md4p1 is still 12 ...
0
votes
0answers
94 views

Replace a slowly dying drive in Linux software raid5

I have the same problem as in Can I "atomically" swap a raid5 drive in Linux software raid? i.e. a Linux software raid with 3 RAID5 disks where one disk is showing smart errors but isn't ...
0
votes
2answers
1k views

Fedora, fsck fails at boot

I'm facing a problem in my server during the startup. This is my actual configuration: 320GB each. Raid1 -> /dev/md127. Working. /dev/sda /dev/sdc 1000GB each. Raid1 -> Use to be /dev/md126, ...
-1
votes
2answers
83 views

What is the correct way to create new raid5 in Linux?

I added some new disks, and tried to create new array, using: mdadm --create /dev/md/2 --level=5 -x 0 --raid-devices=4/dev/sd{a,b,c,g}2 It creates the array, but after reboot - it's gone. What ...
0
votes
2answers
359 views

Convert Raid 1 to Raid 10 with no new disks

I just got a new remote root-access server with 2 1TB disks in a Raid 1 configuration, running Debian (squeeze). Before installing my stuff on it, I'd like to switch to Raid 10 if I can. All the ...
1
vote
0answers
413 views

syncing mdadm event count

I had a disk die in my level 5 RAID and before I could replace it, my RAID crapped out while I was copying some data onto it. Reading the RAID kernel wiki on RAID recovery I've tried forcing an ...
13
votes
2answers
4k views

mdadm raid5 recover double disk failure - with a twist (drive order)

Let me acknowledge first off that I have made mistakes, and that I have a backup for most but not all of the data on this RAID. I still have hope of recovering the rest of the data. I don't have the ...
1
vote
2answers
422 views

M1015 pass-through and hot-swap in Linux with md raid (IBM x3620)

I'm setting up a small, but hopefully durable server for a student community, and the hardware is an IBM x3620 M3 with a builtin M1015 RAID card. To make the setup future proof and avoid vendor ...
0
votes
1answer
1k views

RAID Recovery on a QNAP TS-869U-RP

I've had my trusty QNAP NAS (T869-RU) fail on me over night with (apparently) two of the eight disks in the RAID5 MDADM array from /proc/mdstat: [/etc] # cat /proc/mdstat Personalities : [linear] ...
0
votes
1answer
430 views

Currently unreadable sectors on RAID 5 linux drive

I have every 30 minutes smartd messages on /var/log/messages: smartd[3588]: Device: /dev/sdc, 176 Currently unreadable (pending) sectors This drive (sdc) is part of RAID 5 configured with mdadm. ...
2
votes
1answer
1k views

How do I check if smartd and mdadm are running correctly?

I have a raid system on debian: Disk /dev/sda: 320.1 GB,... Device Boot Start End Blocks Id System /dev/sda1 * 1 2432 19535008+ fd Linux raid ...
2
votes
2answers
6k views

mdadm --zero-superblock on disks with other partitions on them

I have three disks which used to hold an MD RAID5 array. I have since removed (or so I thought) this array and created partions for btrfs and swap space. On rebooting the machine, MD still binds the ...
1
vote
0answers
253 views

How to disable MD RAID or prevent degraded arrays from starting. (Centos 6.4)

I am trying to disable software RAID at boot time. My ultimate goal is to prevent the system from starting raid arrays that are in a degraded state. rd_NO_MD is present on the kernel command line by ...
2
votes
2answers
637 views

Remake SW RAID1 from a new HDD and an old HDD with bad blocks

I have a SW RAID1 and I just replaced /dev/sda with a new HDD as the old one failed. Now, upon trying to recreate the RAID array I discovered that the "good" HDD (/dev/sdb) has bad blocks with prevent ...
0
votes
1answer
259 views

Saving data on a failing software RAID 1 setup

My CentOS 6 server is running a software RAID 1 configuration with two 1 TB disks. Yesterday trouble started happening when the server was very irresponsive. I checked the logs and noticed a whole ...
4
votes
1answer
671 views

Rebuild mdadm RAID5 array with fewer disks

I have a 4 disk RAID5 array, one of which is starting to fail according to smartd. However, since I'm using less than half the space on /dev/md0, I'd like to rebuild the array without the failing ...
1
vote
1answer
174 views

Re-mount EBS vol on EC2 instance

I am new to sysadmin. I am trying to launch a EBS-backed EC2 instance. I did the following based on mongodb docs: sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=1 ...
1
vote
1answer
2k views

Linux - dmraid (or mdadm) - Rebuild RAID 10

A while ago I had a raid10 config crap out on me, and am now just getting around to trying to salvage the array so I can rebuild and move on with my life. Basically a drive in each subset failed, ...
1
vote
2answers
697 views

Recovering RAID5 array after zeroing wrong superblock

I have a raid5 array on 4 disks, sda1, sdb1, sdd1 and sde1. sdd1 was removed but is a healthy drive. While attempting to re-add it, I accidentally zeroed out the superblock for sdb1. sdb1's data is ...
2
votes
2answers
86 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 ...
1
vote
1answer
200 views

mdadm raid6 array reports incorrect size in df -h after grow

I've recently grown a 5x 3tb mdadm raid6 array (8tb) with a sixth disc in fedora 18, and after full rebuild and check, "mdadm --detail /dev/md127" returns the below: Version : 1.2 Creation ...
2
votes
1answer
1k views

How to boot after RAID failure (software RAID)?

Previously I had a software raid set up using (mdadm) of drives sda and sdb. sdb failed and the only way to reboot the system was by unplugging the second hard drive. Now I've added fresh sdb and sdc ...
-5
votes
4answers
385 views

Hardware Acceleration for MD RAID?

Is it possible, or feasible, or even sensible to consider hardware acceleration for MD RAID? I am referring more here to RAID6 type levels where there is a computation overhead. My thinking is that ...
0
votes
1answer
593 views

Creating raid1 array with mdadm cuts space

I'm trying to create RAID1 mirrored disks on already deployed system (CentOS 6.4). I have two disks: source /dev/sda with the OS and /dev/sdb which will be the mirror. The disks are connected from ...
0
votes
2answers
332 views

HDD in RAID failure?

I received some alerts from mdadm. Further checking seem to indicate that some HDD's may be damaged. Could you please verify that? There is two SCSI drives which should work in RAID1 This is an ...
1
vote
1answer
1k views

LVM meta data missing from a device

Here is the situation. I have a MD device, /dev/md0, which is fully functional, but seems to have no LVM meta data. As far as everything I know how to do is concerned, it isn't part of a volume ...
2
votes
1answer
1k views

Recover mdadm RAID 10 array: listing all as spares

I'm a bad person and haven't backed up my RAID elsewhere. I now have a RAID10 array that won't assemble, and I'm hopeful I can save it. Here's the details: I have five hard drives set up as RAID10 ...
3
votes
1answer
2k views

Linux RAID mdadm: what does 'Events' mean?

When I type mdadm --detail /dev/md0 I get a lots of useful information most of which I understand. However I also get a line that reads: Events : 0.710 Where the number varies. Naively, I ...
0
votes
1answer
101 views

Growing mdadm raid1 live; metadata 1.1 and 1.2

I can find a lot of posts about growing a mdadm RAID1 array on a live system. After growing the partitions, everybody simply says to do: mdadm --grow /dev/md1 --size=max But that doesn't work, ...
2
votes
1answer
530 views

How to grow mdadm RAID5 into degraded state?

mdadm - v3.2.5 - 18th May 2012 Currently have: Version : 1.2 Creation Time : Tue Jun 25 19:03:31 2013 Raid Level : raid5 Array Size : 2930135040 (2794.39 GiB 3000.46 GB) Used ...
2
votes
1answer
224 views

missing files after reassemble of RAID-5

I had to open my file-server's housing on Sunday to replace a faulty fan. What I didn't see was that one of the sata-cables was not properly connected. The 1st thing I did after a reboot was a check ...
7
votes
2answers
284 views

Linux software raid fails to include one device for one 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. Every time I ...
0
votes
1answer
508 views

Grub2 w/ RAID5 and btrfs “error: unknown filesystem”

I have a Virtual Machine (in ESXi 5.1) running Ubuntu Server 12.04. When I try to boot my system I grub2 tells me "error: unknown filesystem". I've tried booting a Live CD then reinstalling grub from ...
2
votes
1answer
374 views

mdadm reassemble from spare disk crashed during resync

The server crashed while raid-1 /dev/md2 with /dev/sda3 + /dev/sdb3 was resyncing from /dev/sdb3 to /dev/sda3. sadly, /dev/sdb was lost completely due to a hardware fault. I'm now left with only ...
0
votes
2answers
308 views

Recovering a Raid1 array from a broken drive

I've been asked to look at a computer which had a Raid 1 Array in it until one drive failed 12 months ago without being picked up and has now been replaced but the other drive is also in a bad way and ...
1
vote
0answers
225 views

Resize a RAID 5 Partition

I'm moving my VG to a RAID, i have 3 disk 600GB, the VG is in the partition /dev/sdc2 /dev/sdc1 1G type linux <-- Boot partition /dev/sdc2 599G type Linux LVM One disk have the VG and with the ...
1
vote
1answer
926 views

Attempt recovery of MDADM RAID, on images created with dd

I have a software RAID5 array with 4 + 1 disks in which 2 of the disks have failed. I'm hoping that with some percussive maintenance, I might get one of the failed disks working again long enough to ...
2
votes
2answers
1k views

How to get notified of mdadm RAID problems?

I am running Ubuntu 12.04 LTS. Yesterday I found a message in my mailbox saying that my server was shut down. I proceeded to reboot the system, but it didn't come up after many minutes, and I didn't ...
0
votes
0answers
109 views

why cant I set the correct partition size in fdisk

I am currently attempting to setup a raid array. At this point in time I am setting up partitions of the same size on each hard drive that I would like to use in the array, although when I used fdisk ...
1
vote
2answers
761 views

Are ext4 RAID5 tuning options useful under LVM?

I'm setting up a system with a system with a mdadm RAID5 which is the sole PV for a VG which hosts 4 LVs. When I make the filesystem, would the mkfs.ext4 -E option be useful? Or is its effect not ...
2
votes
3answers
228 views

mdadm raid1, drive failure lost 14days worth of data?

I am rather confused. One evening I had a server which had died. I went to reboot it and noticed it was stuck on the "GRUB" boot screen. I then noticed a hard drive had failed. I put a new hard drive ...
1
vote
1answer
1k views

how can I set the data offset on an mdadm device?

I am trying to recover from a degraded RAID array. I stupidly used mdadm --create somewhere along the way, and now a couple of my devices have incorrect superblocks. Luckily I kept a copy of the old ...
5
votes
1answer
431 views

Linux mdadm --grow RAID6: Something wrong - reshape aborted

I have a RAID60 that I want to expand. The current is: 2 axles each having 9 disks + 2 spares. The future is: 4 axles each having 10 disks + 1 spare. So I need to do some --grow to reshape the ...
2
votes
1answer
99 views

Is my server toast?

Last night I received an e-mail from mdadm about the possible failure of two drives on my array. The raid array was set up as a 4 2TB drive raid5 with one hot spare. Is this system truly fried? Did ...
6
votes
2answers
2k views

Is it safe to interrupt a mdadm --grow operation?

I recently changed the disks in my RAID5 from 3x2TB to 3x3TB. I also wanted to change the chunk size from default 512k to 128k. I have added all new devices to the array and I run: mdadm /dev/md1 ...
2
votes
1answer
335 views

Replacement raid1 drive is one block smaller. What to do?

Apparently once should always leave a bit of empty space at the end of each raid1 partition. But if we're too late for that, what can be done if a replacement RAID1 drive is slightly smaller than the ...
1
vote
1answer
9k views

mdadm mdadm: cannot open /dev/sda1: Device or resource busy

I am having trouble going from a single disk to raid 10 The command issued is: mdadm --create /dev/md0 --level=10 --raid-devices=8 /dev/sd[abcdefgh]1 The output is: mdadm mdadm: cannot open ...
4
votes
1answer
1k views

Resize openSUSE 12.3 GPT ext4 partitions in a RAID1 disk array

I have a software raid configured (/dev/md2) which has assigned the partitions sda3 and sdb3 from two 3TB disks (sda and sdb). The partition types are GPT not LVM and file system is ext4. Now, the ...
3
votes
1answer
1k views

mdadm: Growing a RAID0 Array Weirdness

I have created 3 RAID0 arrays using mdadm on 3 Rackspace CloudServers using Rackspace's CloudBlockStorage as their devices. Each array has their own set of CBS volumes. RS-CBS has an upper limit of ...