A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

4
votes
1answer
494 views

EC2 disk goes to 100% util, but fine after reboot

We've been running some production services on Amazon EC2 for a while, using mainly t1.large and t1.xlarge instances (non-EBS). Every so often one of the attached (ephemeral disks) will get into a ...
3
votes
1answer
165 views

MDADM Rebuilding

I'm currently rebuilding a RAID6 MDADM array from 5 devices to 9. cat /proc/mdstat: Personalities : [raid6] [raid5] [raid4] md0 : active raid6 sde1[0] sdg1[9](F) sdh1[8](F) sdi1[6](F) sdj1[7](F) ...
2
votes
0answers
65 views

RAID1 disks “forked”, now duplicate

I have got a server hosted by OVH, which is configured to have a soft RAID1 array, /dev/md0, that holds a LVM PV. There is another /dev/md1 array, which was supposed to be the /boot, but which is ...
2
votes
0answers
534 views

Very poor disk performance on KVM node - mdadm raid10

For a long period of time, i'm experiencing performance issues on CentOS servers that are used for KVM virtualization. I'm running software RAID-10 with 4 disks (Seagate ST2000DM001, 2TB, 7200rpm ...
2
votes
0answers
203 views

mdadm error: found two disks with the number 0

Im running a server deep in the forest , and after a hard disco failure i got this error. error: found two disks with the number 0. It a server with 2, 1 TB disc in raid 1 with mdadm 0.9 SDA failed ...
2
votes
0answers
202 views

Restore LVM if VG is not consistent (XenServer 5.6.1)

i have a VG that uses the PVs /dev/md1 and /dev/md2. Now one hdd failed in /dev/md1: [root@xenserver1 ~]# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] 382320128 blocks ...
2
votes
0answers
172 views

raid 5 mdadm drive dropped whilst growing

I have a 4x 2tb raid 5 mdadm array which I had begun to grow onto a 5th disk. ~# mdadm --add /dev/md1 /dev/sdb ~# mdadm --grow /dev/md1 --raid-devices=5 midway through the grow I recieved this in ...
2
votes
0answers
116 views

Debian squeeze server hangs when accessing md raid 5 over network

My debian squeeze server ha begin to hang/freeze when I try to access my md raid 5 over network (via samba or afp/netatalk). This behavior started when I installed netatalk, libgcrypt11 from wheezy. ...
2
votes
0answers
1k views

Calculating correct stripe size for Linux mdadm RAID10 arrays in “far” layout

I'm creating RAID10 array from 6 drives. When created in near layout, e.g. mdadm --create /dev/md2 --chunk=64 --level=10 --raid-devices=6 --layout=n2 /dev/sda1 ... Checking stripe size as ...
2
votes
0answers
322 views

MD Raid can't be assembled

I was running a Raid5 with 3 disks at on my homeserver. But had some problems with the back-plane for the disks. The disks weren't detected reliable. So I replaced the back plane and the disks are now ...
2
votes
0answers
427 views

How do I create a RAID10 array using EBS on Amazon?

Basing this question on information I got in Why does df shows only half the size of a RAID10 array?, how should I create a RAID10 array using EBS volumes on Amazon, in a way that will not be ...
2
votes
0answers
144 views

mdadm LBA mapping

I am trying to write a script similar to mdtrim (https://github.com/Cyberax/mdtrim) for a raid 0 software raid through mdadm. The mdtrim is for raid 1 only at the moment, and it works by writing a ...
1
vote
0answers
199 views

Ubuntu 14.04 mdadm issues on boot

I have a 14.04 Ubuntu machine which has: 2 x SSD in RAID 1 (md0) 3 x Sata HDD in RAID 5 (md1) The machine is set to boot from the md0 device. This machine has been running fine for a month or so, ...
1
vote
0answers
59 views

Upgrade Raid 1 to Raid 0+1 and bootloader issue

I am trying to convert my current RAID 1 to RAID0+1 and facing issue in installing bootloader - please have a look what i am doing. My current configuration is RAID1(2*10GB): [root@localhost ~]# ...
1
vote
0answers
55 views

shrink live mdadm partition with LVM

My goal is to shrink an mdadm RAID 1 partition while the system is running. I have to disks sda and sdb, which build my two RAID partitions md0 and md1. On md1 I use LVM, md0 is the /boot partition. I ...
1
vote
0answers
90 views

calculating optimal chunk size for Linux software-RAID

Am I correct that optimal chunk size is average file read/written to disk divided by number of block devices in RAID array storing the data? For example if the average file size is 1024KiB and I have ...
1
vote
0answers
932 views

How to recover an mdadm array on Synology NAS with drive in “E” state?

Synology has a customized version the md driver and mdadm toolsets that adds a 'DriveError' flag to the rdev->flags structure in the kernel. Net effect - if you are unfortunate enough to get a array ...
1
vote
0answers
263 views

grub on debian wheezy doesn't recognise mdraid

We're having a really strange problem when trying to boot from an mdraid on Debian Wheezy. All references online that I can find tell me that grub 1.99 (which is part of Debian Wheezy) should have no ...
1
vote
0answers
93 views

expanded 8 drive RAID 6 fails to assemble in new server, 5 original devices show no md superblock

I am in desperate need of you help. Neil Brown does fantastic work, and I have relied on mdadm for years to run very stable server systems, never had major problems I could not solve. This time its ...
1
vote
0answers
28 views

mdadm confused on minor number

Recently replaced a faulty disk in my Raid 6 group. All went as expected, no problem. After getting everything rebuilt using a new /dev/sdi1 as a replacement for the failing /dev/sde1 I decided to ...
1
vote
0answers
182 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 ...
1
vote
0answers
147 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 ...
1
vote
0answers
129 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
0answers
570 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 ...
1
vote
0answers
78 views

Expanding raid5 software raid

I have recently bought 4 2TB drives to expand my existing 4*2TB raid5 setup, using mdadm software raid in debian. As a initial step, I have created a raid5 on the four new drives and created an ...
1
vote
0answers
81 views

Fresh debian squeeze software raid install wont boot

I am following these instructions: http://www.iprobot.net/linux-tutorial/how-to-setup-software-raid-in-debian-ubuntu/ (I used debian-live-6.0.6-amd64-gnome-desktop.iso and DD'd that onto a usb key, ...
1
vote
0answers
134 views

mdadm drive UUIDs chanaged, can they be changed back?

So I ran into this trouble and I believe I lost all my data..However I found an old mdadm --examine --scan file I made a month ago and an old mdadm.conf....Is it possible to use these two items to fix ...
1
vote
0answers
186 views

Raid1 disk degraded after reboot

I'm testing a Rackspace cloud server and have two Cloud Block Storage volumes set up in a Raid1 configuration. There are no system files on these volumes, they're purely for storage. Everything ...
1
vote
0answers
203 views

RAID disk not booting

my hosting facility replaced disk /dev/sda for me and I've added it to the RAID via sgdisk -R /dev/sda /dev/sdb mdadm /dev/md0 -a /dev/sda1 mdadm /dev/md1 -a /dev/sda2 mdadm /dev/md2 -a /dev/sda3 ...
1
vote
0answers
169 views

four-disk md raid10-far can be assembled and ran as “clean, degraded” with only 2 disks. Bug or i'm missing something?

Today i was solving raid failure on raid10-far with four disks. One disk failed and another wasn't re-added after a hard reboot. The mdadm -D was reporting it's clean and running with only two out of ...
1
vote
0answers
836 views

mdadm raid1, [1/2] disks failed, safe to reboot?

I am seeing the following under /proc/mdstat Personalities : [raid1] md1 : active raid1 sda2[0](F) sdb2[1] 976554876 blocks super 1.1 [2/1] [_U] bitmap: 4/8 pages [16KB], 65536KB chunk md0 : active ...
1
vote
0answers
269 views

After upgrade to SLES11 SP1 - LVM on top of software RAID5 not working anymore

On a system where I have been running OpenSuSE11.1 for some time I performed a fresh installation of SLES11 SP1. The system used a software RAID5 system on top of which an LVM was setup with a single ...
1
vote
0answers
235 views

Reassemble RAID 10 array without losing data

I have a RAID 10 array created from 4 iSCSI devices. This morning I temporarily lost connectivity to 2 of those drives. And it was long enough for mdadm to take them out of the array. Unfortunately ...
0
votes
0answers
22 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
0answers
33 views

Did mdadm --create destroy my data?

I think I messed up pretty bad. On my old system, I had 2 identical drive that were assembled with mdadm as a MD RAID 10 with a "far" layout. When building my new system and migrating the two disks, ...
0
votes
0answers
218 views

Optimizing disk performance on KVM VM configuration

I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
0
votes
0answers
16 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 ...
0
votes
0answers
101 views

Software RAID: file system becomes read-only, mdadm fails with SEGFAULT

I have software RAID1 on Ubuntu 10.10 (Linux ubuntu 2.6.35-32-generic-pae). It is dedicated server I control via SSH. Yesterday datacenter people changed one HDD which was crushed. I did not run ...
0
votes
0answers
84 views

confused by iostat reporting striped mdadm more tps than aggregate volumes

I've got an mdadm striped device (/dev/md0) from /dev/sdm{1..4}. Here is an output of iostat 30 and then mdadm --detail on the mdadm device # iostat 30 Linux 2.6.32-309-ec2 (ip-xx-xx-xx-xx) ...
0
votes
0answers
96 views

mdadm array fails to start at boot, bad superblock on component drive

At boot my mdadm raid5 array fails to start, saying that one of my disks (sdi) has a bad superblock. However, once I log in, I can start the array no problem with mdadm --assemble /dev/md0 ...
0
votes
0answers
21 views

Harddrive check going-on?

I have a server that has suddenly become unusable (responds very slowly to requests). It seems to be related to some on-going RAID check. Here is what I get when I run cat /proc/mdstat : ...
0
votes
0answers
41 views

Software (md) raid does not reuse new drive

I have software raid6 array, which failed today. I've removed failed disk. Here is status: /dev/md0: Version : 1.2 Creation Time : Sun Nov 4 04:26:03 2012 Raid Level : raid6 ...
0
votes
0answers
77 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
0answers
90 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 ...
0
votes
0answers
124 views

Disaster recovery for RAID and mdadm

I´m having a software raid 5 with 5 2TB members. After partitioning with gparted, my RAID doesn´t work any more... How can I check the consisty of each member? What would be my options, if the ...
0
votes
0answers
38 views

Software Raid mounts random partition

I have mounted Ubuntu server 12 on 2 drives with software raid. I have raid 1 on 4 partitions and raid 0 on swap. Every time I reboot the system now a different partition from the 2 appears as active ...
0
votes
0answers
2k views

How to boot with RAID 1 in GRUB rescue?

Basic working system details: I used the Ubuntu 12.04 server CD to install a server. I have 2 disks. I made a raid 1 array just like in ubuntu server guide : ...
0
votes
0answers
989 views

Can't mount logical volume, RAID/MD/LVM problems

I have a file server with 48 2TB HDDs split across 2x 3ware 9650SE-24M8 RAID cards. Both cards have 24 drives in RAID 1+0. MD softraid is setup in raid 0 with the two RAID 1+0s making RAID 100. LVM2 ...
0
votes
0answers
500 views

Rebuilt md raid 6 array now showing xfs errors. How bad is it?

We had a storage server with performance starting to be poor. When I installed Linux's smartutils, it found Device: /dev/sdm, 2 Offline uncorrectable sectors Since this was a rather large raid6 ...
0
votes
0answers
580 views

Cryptsetup device /dev/md0 is not a valid luks device

After reinstallation of my OS, I decide to manually assemble a RAID6 array. # mdadm --assemble --auto=yes --scan=auto /dev/md0 I don't exactly remember a message but programmdadm return a resizing ...