A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

0
votes
1answer
845 views

Grub rescue, will not boot from mdadm RAID, no such disk or device — mduuid wrong?

I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode. Grub2 is dropping to a rescue shell complaining that "no such device" exists ...
0
votes
2answers
58 views

How can I force soft raid to read only from one disk?

I have quite a large IO wait showing in top. I suspect this is fault of SDA drive (on of 2 disks in RAID array), which was replaced about week ago. There are no errors visible, smart showing nothing, ...
2
votes
1answer
818 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 ...
1
vote
3answers
3k views

mdadm Boot Error, incrementally starting raid array Ubuntu SErver 14.04

i build a small Server with Ubuntu 14.04 for Samba, I has one SSD Drive (the ubuntu installation is on it) and 2 3TB SATA Disk, the sata disk are combined to a Raid 1 with mdadm. Now sometimes (no ...
1
vote
1answer
27 views

Remote system's filesystem disappeared after “mdadm --grow 2 /dev/md0”?

Yesterday, I added a second 500GB hard drive to a system. This system was installed as a RAID-1 system with only one drive, because I didnt have the other one on hand. After finally adding the second ...
2
votes
1answer
2k views

Unable to mount '/dev/sda'

My server has two 2 TB hard disk drives in soft RAID 1. I can't mount /dev/sda. Output of parted -l root@rescue:~# parted -l Model: ATA HGST HUS724020AL (scsi) Disk /dev/sda: 2000GB Sector size ...
3
votes
1answer
889 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 ...
0
votes
2answers
24 views

How do I list which drives are part of each RAID array?

I have a linux software RAID using md. I want to list all of my RAID arrays and each hard drive attached to them. Is there an easy way to do that?
1
vote
1answer
946 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 ...
6
votes
2answers
1k 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 ...
0
votes
1answer
1k views

How to delete removed devices from a mdadm RAID1?

I had to replace two hard drives in my RAID1. After adding the two new partitions the old ones are still showing up as removed while the new ones are only added as spare. I've had no luck removing the ...
0
votes
1answer
29 views

mdadm - diffference between metadata version

Can anyone tell the difference between all the metadata versions for mdadm? When I try the command mdadm --examine /dev/sda1, I can't seem to find preferred superblocks on version 1.2. Is there a ...
-1
votes
1answer
24 views

Can't mount raid 1 with different size disks

I have a EC2 instance with a an ssd on xvdm (20 gb, 60 iops) and another ssd on xvdb (16 gb, better iops - instance store). The xvdm contains a mysql database and I'm trying to join these 2 disks in a ...
3
votes
1answer
852 views

flashcache with mdadm and LVM

I am having trouble setting up flashcache on a system with LVM and mdadm, I suspect I am either just missing an obvious step or getting some mapping wrong and hoped someone could point me in the right ...
2
votes
2answers
309 views

How do I find out which disk in a multi-disk mdadm RAID1 triggered a rebuild?

I'm using mdadm for several RAID1 mirrors. md7 is an N-way mirror consisting of 3 spinning disks (all flagged write-mostly) and an SSD: md7 : active raid1 sdd1[0] sde5[3](W) sdf5[4](W) sdc1[1](W) ...
12
votes
3answers
2k 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 ...
0
votes
1answer
20 views

mdadm isn't rebuilding the array

I recently replaced a drive (/dev/sdb). All arrays have been rebuilt correctly except for one of them (/dev/md2). There is no problem with the new drive. Partitions are OK. mdadm says it's "spare ...
0
votes
0answers
25 views

mdadm/grub2/lvm boot failure if all drives are physically connected

Weird problem here. I've got a Debian 7 server (quad core, 32GB RAM) that runs a whole bunch of VMs. The main boot drive is a RAID 1, with an LVM volume group called System, which contains a bunch of ...
1
vote
1answer
46 views

Ubuntu server becomes unresponsive on hard disk issues despite raid setup

I am running a server on Ubuntu 10.04.4 LTS (Linux xxxx 2.6.32-67-server #134-Ubuntu SMP Wed Sep 24 18:55:00 UTC 2014 x86_64 GNU/Linux) with two hard discs in a software raid 1. I repeatedly had the ...
2
votes
1answer
631 views

Remove “faulty state” in RAID 1

I wonder if there is any possibility to remove the state "faulty" in a RAID 1 if (for example) someone failed the wrong hard disk. I already searched for answers with Google and found several ...
-1
votes
1answer
86 views

How to add software RAID-1 to an existing system?

I couldn't find any tutorials for converting a non-RAID Linux system (Ubuntu 14.04 in my case) into a disk-level RAID-1 system after installing a second disk (/dev/sdb) Is the following correct? ...
0
votes
1answer
36 views

Analyze SMART self-test for broken disks [closed]

I recently came home from vacation only to wake up the following morgon with two disks in my RAID5 array marked as faulty. I was able to start the RAID by forcing it to use the faulty disks and run, ...
0
votes
0answers
27 views

Increase space on RAID 10

I have a RAID10 with 7 working devices ,4 actives and 3 spares .I want to increase the RAID's space from 4 devices to 6 . i use this : sudo mdadm --grow --raid-devices=6 /dev/md0 but it gives me ...
1
vote
0answers
70 views

To write in mdadm.conf in initramfs prompt doesn"t not save changes after reboot

I made a mistake with my mdadm.conf with my debian backup server. I used this command : mdadm --detail --scan --verbose >> /etc/mdadm/mdadm.conf to add a raid5 (it works great). By using ...
0
votes
0answers
22 views

Order of execution: First file system, then array vs. first array, then file system

Suppose I have two HDDs, same manufacturer, same model, same attributes (volume, speed, cache, ...). Both are equally partitioned. I want to have a level one array of two disks with one ext4 ...
2
votes
1answer
62 views

mdadm RAID6 to RAID60

Is it easy to convert a RAID6 to a RAID60? Right now, I have an 8-drive RAID6. I'm looking to upgrade to a 3U 16-bay system and thinking of having a 16-drive RAID60. Is it possible to move my ...
2
votes
3answers
636 views

slow software raid

I've got software raid 1 for / and /home and it seems I'm not getting the right speed out of it. Reading from md0 I get around 100 MB/sec Reading from sda or sdb I get around 95-105 MB/sec I ...
2
votes
1answer
293 views

Cannot install grub, segmentation fault, unable to identify filesystem, superfluous RAID member, found two disks with same index — Debian 7

A server was recently transported from location A to B, a long journey that took six months. Things have gone wrong due to nothing being labeled prior to shipment. Yes, I know --- it was done by ...
0
votes
0answers
46 views

mdadm: can't remove broken drive from raid1

I have a ubuntu server Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-34-generic x86_64) that uses a software raid with 2 physical drives. Apparently, one drive is unresponsive, and I try to remove it from ...
1
vote
1answer
70 views

Disabling damaged RAID 1 to read from healthy HDD

One of the HDDs in my software RAID 1 on a dedicated server is damaged. The customer support is slow to respond. I would like to transfer all data I need to another server, but file access is ...
1
vote
1answer
28 views

MDADM - Raid 1 - Change a disk with a smaller one

I have a Ubuntu server with the operating system installed on a raid1 created with two 500GB devices. the second drive failed. I now how to replace it, but my goal now is to move the operating system ...
0
votes
0answers
31 views

mdadm - unable to reconstruct the raid1

When restarting my server, it (sometimes) fails to reconstruct my RAID-1 array (2 disks). My server, a 10-year-old computer, often changes sda into sdb or sdc which seems to annoy mdadm. When it ...
0
votes
0answers
41 views

Resizing a software RAID remotely, no LVM, / partition

I have a server that has a software RAID without LVM. That is only mdadm. There are the partitions /dev/sda2 and /dev/sdb2 which form /dev/md2. There is also a lot of space after both /dev/sda2 and ...
16
votes
3answers
8k views

Can you change the metadata version on an existing array?

So grub requires metadata version 0.90 I'm wondering if I can change my existing arrays to use that instead of the default which is 1.2. That way I don't have to go about a reinstall. If yes, how can ...
0
votes
0answers
159 views

mdadm RAID0 array recovery

I have a Linux file server with two 12-disk MD1000 disk arrays attached to a RAID controller. Unfortunately, a power blip has caused a loss of configuration data on the RAID controller and it is now ...
1
vote
1answer
58 views

Mdadm Raid10 - Files corrupt

I have a Raid10 array using software raid on 4*2-tb drives. My OS on this Raid array froze and when restarting my system via Ubuntu-CD i noticed the Raid array was gone. I assembled the raid array ...
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
0answers
51 views

mdadm reattached a failed drive all by itself

I have 2 drives setup in mdadm mirroring (3 partitions on each drive). Last week the second drive (sdb) dropped out of the array because of some I/O errors I am still investigating. After a server ...
4
votes
4answers
2k views

apt-get update mdadm scary warnings

Just ran an apt-get update on one of my dedicated servers to be left with a relatively scary warning: Processing triggers for initramfs-tools ... update-initramfs: Generating ...
0
votes
1answer
37 views

External bitmap concerns

I am considering adding an external bitmap to my mdadm RAID6. The benefits seem absolutely incredible in terms of rebuild time but I do have some concerns. I didn't plan for it so I don't have much ...
2
votes
1answer
159 views

mdadm raid10 or nfs performance issues?

I have a fresh mdadm RAID10 device which is healthy, built from 4 x 7200rpm SATA 3 drives: # cat /proc/mdstat Personalities : [raid10] [raid1] md2 : active raid10 sdc3[5] sda3[4] sdb3[1] sdd3[3] ...
0
votes
1answer
203 views

mdadm Build legacy array with 512-byte chunk

I'm attempting to build an array using mdadm. The array has 512-byte (not kibibyte) sized stripes. Because mdadm accepts arguments to chunk in kibibytes, not in bytes, I have been unable to build ...
1
vote
2answers
7k views

mdadm rebooted, array missing? can't assemble?

Not sure what is going on with my Array. I rebooted ubuntu 12.04.1 and got a error on startup that fstab couldn't mount the filesystem UUID I have for my mdadm array. After running a few commands a I ...
1
vote
2answers
85 views

Should I partition a RAID or just create a file system on it? [duplicate]

Given a RAID 6 created from 6 drives /dev/md0 which should be used fully for data (no booting from it, root and swap are on a different drive), should I create one partition on that device and then ...
3
votes
2answers
869 views

Mdadm won't create an array larger than 10TB

I have a server with six 4TB drives running Ubuntu 14.04 LTS. One of the drives is used for the system/OS I wanted to use the other 5 drives to get as close to 20TB of storage as possible It's a ...
1
vote
2answers
330 views

Ubuntu 12.04 Server Software RAID1 - Faulty Spare - Smart Output Passed - Confused

I think I'm having an issue with one of the hard drives on my array and I'm just trying to troubleshoot what's happening. Its saying Faulty Spare and then after reboot it just says removed: ...
-1
votes
1answer
86 views

mdadm reports faulty disk, but smart doesn't find problems

I've got a 9 disk raid 5 array. Today i got a mail from my server: This is an automatically generated mail message from mdadm running on Eldorado A Fail event had been detected on md device ...
2
votes
1answer
69 views

MD RAID sector repair

This article states that RAID controllers are smart about unrecoverable read errors, and try to rewrite such sectors with the redundancy of the component drives. If the sector is bad, the disk's ...
0
votes
0answers
132 views

mdadm: All RAID disks look good, but can't access devices

Now, granted, issues with RAID rarely come up (at least with the one that I have to deal with in my life), so I'm not the most experienced person in the world. However, I'm not seeing any issues with ...
0
votes
2answers
69 views

soft raid6 recover second disk fault

I had a disk failure in a hosted system and had the failed drive replaced. During recovery, a disk error on a different drive occurred. when the original error occurred: md2 : active raid6 ...