A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

0
votes
1answer
21 views

Software RAID 1 does not extend on two new additional drives

I added two new devices two my software RAID 1 system. They are recognized by mdadm but I can't use the addition space. Here is how I proceed: I added the two new disk to my PC and created on each ...
0
votes
0answers
17 views

mdadm does not let me set --size manually, but grows to the same size later

I'm trying to make raid1 out of 2 disks the size of which differs a lot (ec2 provides iops based on disk size, so I want to have more iops, but don't care about losing some free space). However when ...
1
vote
1answer
34 views

Remove a drive from a 2-drive RAID 5 array using version 1.2 metadata?

My situation is nearly identical to "How to remove a drive from a non-standard 2-drive RAID 5 array?", except my 2 TB RAID5 is using mdadm super block version 1.2. According to the best answer, ...
0
votes
1answer
35 views

Resetting root password on Slackware (software RAID)

I'm trying to reset password to root account on Slackware server (with Intel Atom on Intel motherboard and two HDDs). There is software RAID set up (devices mounted during boot: md0 - /, md1 - /usr, ...
0
votes
1answer
29 views

Recover overwritten RAID5 array (XOR)

as I've mentioned in a recent question (RAID5 rescue with LVM2 running on it) I'm rebuilding an RAID5 array. Now, I think that the initial wrong mdadm --create ... command has started the ...
-1
votes
0answers
14 views

Data rescue for lvm-raid

i've had to change mainboard and CPU of my storage server consisting out of 6x1Tb devices. As it was operated by a Software RAID (dm-raid) i've thought plug and play. But then no bootsector was ...
1
vote
1answer
30 views

Shrinking LVM Volumes

We have a Synology RS3614rpxs NAS head containing (9) 3TB hard drives in a RAID 6 + 1 hot spare. The storage became exhausted and we added an expansion chassis where 5TB hard drivers were installed ...
-1
votes
0answers
23 views

Ubuntu Server 12.04. Software RAID1 state degraded with a spare drive [migrated]

After a disk failure, this is the output of mdadm --detail /dev/md2 in my Ubuntu Server 12.04: /dev/md2: Version : 1.2 Creation Time : Thu Dec 27 10:51:42 2012 Raid Level : raid1 Array Size : ...
2
votes
2answers
178 views

Can mdadm convert a RAID5 to a RAID1?

I have a RAID5 consisting of 3 disks, one of which is broken. I was wondering if it is possible to convert those two disks to a RAID1 without data loss and without having to back-up the data ...
0
votes
0answers
32 views

Software Raid: Array inconsistent state

I'm running software raid 1 with md on debian distro. One of the disks has failed, but not all of the raid arrays were at that time in a "fail" state. In order to bring them also in a fail state (in ...
0
votes
1answer
96 views

CoreOS on software RAID with EXT4 filesystem

I'm currently thinking about installing the CoreOS on a bare-metal server with two disks I want to put in a software RAID1. The latest CoreOS is now using EXT4 as their default filesystem and I'm ...
1
vote
1answer
36 views

Rescue mdadm RAID 6 array after three disk events

mdadm 3.2.5, 14 disk RAID 6 Had a drive failure Friday. Two more today in rapid succession. All drives seem fully operational. This is roughly 40TB array, I could use your help please to rescue ...
1
vote
4answers
136 views

mdadm 3-way RAID 1 - good solution for guaranteed 2-drive failure tolerance?

Is a 3-way RAID1 using mdadm a good solution to be able to sustain any two drives failing without the RAID failing? I know this costs extra in the sense of only being able to use 1/3 of the disk ...
0
votes
2answers
36 views

Grow individual drive size in RAID5 array

My array is built of 3 hard drive of 2TB, I have 2 more free space and I would love to start to grow my array with 4TB hard drives, if I start to put 2 4TB hard drives and eventualy replace the 2TB ...
0
votes
0answers
61 views

mdadm: activating spare and removing 'removed' disks

I added 1 disk to my raid array, started reshaping, and then remembered that I forgot to partition the drive. So I partitioned and readded the disk. I'd like to get rid of that 'removed' and activate ...
1
vote
1answer
172 views

Restore lost RAID1 volume on Synology with mdam

Several days ago I found my DS412+ in fatal state. Volume1 crashed, system volume too. Moreover, Volume2 disappeared from the system! It looks like Volume1 had no free space and cannot transfer data ...
1
vote
2answers
35 views

mdadm array keeps losing disks on separate SATA controller

My Ubuntu Linux server has an mdadm array (RAID 5) with four 2TB SATA disks that keeps "loosing" two disks from time to time. Rebooting and re-assembling the arrays has worked out fine up until now. ...
0
votes
0answers
117 views

How to setup Debian Jessie to boot from broken RAID1

I want to setup Debian Jessie in EFI-mode with a LVM on an LUKS on a RAID1. I tried it with the Installer but when i remove one of the hard drives the whole system isn't booting any more. What I ...
1
vote
1answer
47 views

mdadm: drive replacement shows up as spare and refuses to sync

Prelude I had the following devices in my /dev/md0 RAID 6: /dev/sd[abcdef] The following drives were also present, unrelated to the RAID: /dev/sd[gh] The following drives were part of a card reader ...
0
votes
0answers
50 views

Data recovery seems impossible after kernel upgrade. MDADM (Raid1) LVM2

I opened a question about rebuilding a bad partition My Problem that din't take me anywhere. Bad news is the company trying to rescue the data says it's finding huge inconsistencies they can see some ...
1
vote
1answer
28 views

How to rebuild Raid arrays after booting to a live cd?

Problem: Botched kernel upgrade left me with an unbootable system (don't ask me how it also made my backup kernel unbootable) where boot and root are on mdadm raid 1 arrays (with metadata 1.0/1.2 ...
-1
votes
1answer
122 views

Disaster recovery. MDADM/LVM2 Some advance but stuck on final mount

We made a stupid upgrade on a running server using wrong repositories and the system became totally unbootable. The system, a SLES 11 we used a openSuse repository to upgrade, and everything went ...
0
votes
3answers
40 views

In a software RAID1, why does tune2fs -c 0 /dev/sda1 not throw an error but change is not seen in tune2fs -l /dev/sda1?

The Title pretty much says it all. Turn off mount count fsck seems to succeed: tune2fs -c 0 /dev/sda1 tune2fs -c 1 /dev/md0 But listing out via tune2fs -l /dev/sda1 shows mount count is set back ...
0
votes
1answer
52 views

How to have automatic file system checks for Linux Software Raid?

In a Linux Software raid, what is the best practice for periodically having the filesystems checked? With single drive or hardware raid, tune2fs -c 5 -i 1w /dev/sda1 means check the filesystem every ...
0
votes
1answer
79 views

ThinkServer RD440 raid mess

Does anybody have experience dealing with raid config on these new Thinkpad servers? My problem is the following: In order to be able boot this server I must put the drives to RAID1 to create an SCM ...
0
votes
0answers
55 views

Can't rebuild a linux RAID array after replacing disk, “mdadm: Cannot open /dev/sdb1: Device or resource busy”

I have replaced a failed drive in my server with a new one, and wish to add it back to the array. I am getting the following error, what can I do to resolve this? [root@la ~]# cat /proc/mdstat ...
2
votes
0answers
326 views

CentOS 7: GPT and software RAID 1 without 'biosboot' partition

I have a CentOS 6 server with software RAID1 (2x3TB): - sda # parted /dev/sda unit s print Model: ATA TOSHIBA DT01ACA3 (scsi) Disk /dev/sda: 5860533168s Sector size (logical/physical): 512B/4096B ...
2
votes
1answer
33 views

what is the purpose of mdadm's check command?

I discovered one of my servers running slower than usual today because of the checkarray launched by a cronjob installed by default on the server. This is Ubuntu 14. In this particular case, I have ...
2
votes
1answer
145 views

mdadm: Convert RAID10 to RAID1

The machine in question is equipped with 4x ssd, and running Debian wheezy 7.8, linux kernel 3.2.0-4, mdadm v3.2.5. Currently I'm using a RAID10 consisting of all these ssd. I've to increase the ...
0
votes
1answer
68 views

Repairing RAID6 with two drive issues mdadm

I have had two disk failures on my RAID6 array. I have added two new disks and did the following: I ran mdadm /dev/md1 --remove on the two disks I set up my RAID on the 1st partition of each disk ...
3
votes
1answer
113 views

Best way to RAID 4 x Intel SSD 910 for PostgreSQL

I have a Linux (debian/ubuntu) server with 4 x Intel SSD 910 800GB pcie that I need to RAID together. The biggest problem with these card is that they give you 4x200GB drives that you cant ...
3
votes
0answers
45 views

Why is my HDD partition a character special device?

I have a bunch of old 1T disks with an mdadm array on them. They had been out of commission for awhile, but yesterday I slotted them into a server running an up to date Debian Jessie. Eventually I ...
1
vote
0answers
70 views

How to best use Amazon's “ephemeral” SSD devices under Linux? [closed]

Amazon attaches "ephemeral" SSD device(s) to most of the instace-types -- these are included in the cost of VM, are fast, but any data on them is lost, when the VM is shut down. How to make the best ...
0
votes
1answer
34 views

How to Mounting RAID0 EBS Volumes after reboot on EC2?

I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they ...
0
votes
2answers
17 views

Move an ext3 fs to a larger mdadm array in one step

I have an ext3 fs on an mdadm array of 1TB disks on an openSUSE system, and I want to move the fs to a new array of (the same number of) 3TB disks. I can have the system running with this fs ...
2
votes
1answer
77 views

Linux: Rebuilding software Raid 1 fails when adding partition

I had an issue yesterday with a software Raid, where one disk had to be replaced. I removed the partitions from the array using mdadm /dev/mdx -r /dev/sdbx After the failed drive has been replaced ...
-2
votes
1answer
34 views

Raid-5 Linux Software array, 3 drives “removed”

I have a raid array with several drives marked as removed. I want to add them back in, but am not sure how to do so. [root@tera2 ~]# mdadm --detail /dev/md3 /dev/md3: Version : 1.2 ...
0
votes
0answers
26 views

Not sure how to change primary partition size and add a new partition on a software RAID1 using mdadm, as well as parted or fdisk?

I'm trying to create a /data partition to run drbd. However the drbd guide only shows steps for an fdisk on a normal disk, and not mdadm software raid. So I have sda3/sdb3, which are holding ...
0
votes
0answers
30 views

Transient errors on Linux RAID1 and RAID10

On the Arch Linux wiki you can read: Due to the fact that RAID1 and RAID10 writes in the kernel are unbuffered, an array can have non-0 mismatch counts even when the array is healthy. These non-0 ...
1
vote
1answer
266 views

Mounting device from degraded RAID 1

I am trying to mount device form raid 1 (created on other device), because I need to copy data from this disk. When I am trying to assemble new array i get a message: foo@bar# mdadm -A -R -v ...
0
votes
1answer
106 views

Ubuntu Software RAID 1 with NTFS weird volumes on RAID Array

I'm trying to mirror two secondary 2TB HDDs with RAID 1 with 1 big NTFS partition and am coming cross something that looks weird to me, although it could just be my complete ignorance because this is ...
6
votes
1answer
274 views

RAID rebuilding seems to have stopped

My server was running a RAID 1 array with two disks. One of those disk failed today and was replaced. I've copied the GPT partition to the new hard disk (sda) with: sgdisk -R /dev/sda /dev/sdb ...
0
votes
2answers
103 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, ...
1
vote
1answer
67 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 ...
0
votes
2answers
28 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
votes
1answer
54 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 ...
0
votes
1answer
38 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
83 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
87 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 ...
-1
votes
1answer
338 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? ...