A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

2
votes
1answer
990 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 ...
2
votes
1answer
202 views

Gentoo Linux -> Ubuntu: Can I Preserve My LVM/RAID Devices, Or Do I Need To Reformat?

I've got a Gentoo box that I'm interested in switching over to an Ubuntu box. I currently have the partitions laid out using a mixture of RAID (mdadm) and LVM2, as specified in this document [1]. ...
1
vote
1answer
122 views

move mdadm raid to new system

Have a 4-drive Ubuntu mdadm raid in a system whose motherboard (ASUS N1996) failed permanently. I tried putting the 4 drives in another system with a different motherboard, but when it came up it ...
1
vote
1answer
28 views

Non Raid - Symbolic links

I have 3x 3TB drives and 2x 1TB drives. I want to use all drives without RAID, but to be shown as a single volume. So that if a drive fails only the information on that failed drive will be lost. ...
1
vote
1answer
238 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
1answer
1k views

degraded mdadm RAID5 array

My /dev/md0 array just died last night. I got this email This is an automatically generated mail message from mdadm running on A Fail event had been detected on md device /dev/md0. It ...
1
vote
1answer
864 views

Recover Linux software RAID5 array after server upgrade

I recently upgraded a server from Fedora 6 to Fedora 14. In addition to the main hard drive where the OS is installed, I have 3 1TB hard drives configured for RAID5 (via software). After the upgrade, ...
0
votes
1answer
11 views

Error RAID1 but can't seem to find where the error is?

I'm having trouble figuring out where the problem is. I'm seeing my two drives... I removed a failed drive and installed an empty one. Thought I added it to the raid and it said it was rebuilding. ...
0
votes
1answer
19 views

Linux soft RAID5 array with mismatched events won't assemble

The last three nights, one of my USB controllers has gone offline in the middle of the night, knocking 4 of my 8 disks offline. The first two times, I was able to get it working again with mdadm -A ...
0
votes
1answer
58 views

Recovering software raid

I have a 3-disk software raid 5. Two disk appear to have failed at the same time; their number of Events is the same, while other third disk's is higher. I have copied all three disks into new ...
0
votes
1answer
102 views

I reinstalled ubuntu and now I don't see my RAID drive

I originally had a Ubuntu 12.04 system with RAID5 array that I built using mdadm. Due to issues with graphics drivers, the 12.04 system crashed and I had to reinstall the operating system. After ...
3
votes
0answers
186 views

mdadm: Win7-install created a boot partition on one of my RAID6 drives. How to rebuild?

My problem happened when I attempted to install Windows 7 on it's own SSD. The Linux OS I used which has knowledge of the software RAID system is on a SSD that I disconnected prior to the install. ...
2
votes
0answers
104 views

how to trim the SSD disk of an hybrid Linux soft RAID?

We are considering implementing an Hybrid Linux Raid with SSD+HD by using the "writemostly" flag that supposedly makes the raid write further to the HD than to SSD while maintaining the benefits of ...
2
votes
0answers
273 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
2
votes
0answers
653 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 ...
2
votes
0answers
480 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 ...
2
votes
0answers
9k 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] ...
1
vote
0answers
46 views

Growing an encrypted RAID5 array without causing alignment issues

Question Is there anyway to tell mdadm to make sure a certain logical sector on the RAID-device stays aligned to the beginning of a stripe when growing a RAID5 array? Problem My RAID5 is encrypted ...
1
vote
0answers
34 views

Safe to blank MBR of a disk after adding it to an RAID1 array with mdadm?

I created a RAID1 array of two disks, /dev/sda and /dev/sdb, using mdadm. After several booting problems related to the BIOS and SATA/RAID controller of the board, I accidently created some new ...
1
vote
0answers
167 views

Linux MD software raid stripe cache size

From what I can piece together the /sys/block/md0/md/stripe_cache_size is for raid5 and 6 set at a very low default value to avoid starving machines for memory. By increasing this value you can get a ...
1
vote
0answers
196 views

mdadm partiton not large enough to join array

I've used Linux on and off for the last many years, mainly as dual boot or as Virtual Machines, but when I decided to build a Dev Laptop I though I'd bite the bullet and put Linux on as the base OS. ...
1
vote
0answers
37 views

Is there a safe way to move a partition beneath a linux software RAID5 using mdadm?

Suppose, for example, that you have a RAID5 across multiple disks and you would like to retire the oldest of the disks and replace it with something from this decade. I know I can fail the partition ...
1
vote
0answers
101 views

Checking if Luks header is damaged

Is there any way to check if the Luks container header is damaged? My luks container is refusing to be opened with its keyfile, saying No key available with this pass-phrase. History of what ...
1
vote
0answers
258 views

mdadm: faulty Array, how to get recover as much as possible?

I have a RAID5 with 4 Disks in my PC. All of them were healthy (and the RAID itself) until before. I tried to install windows 8.1 which automatically creates this "SystemReserved"-Partition. The ...
1
vote
0answers
232 views

Create a mdadm raid mirror of an existing lvm

Hello I'm trying to figure out how I can create a pretty strange mdadm mirror of my lvm. I have 4 disks, (sda,b,c,d). Each disk has 2 partitions: 1Gb - physical volume 500mb - Swap My system lvm ...
1
vote
0answers
45 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
0answers
143 views

Is `dmsetup remove` safe with respect to contained data?

I have a "lost" SW RAID array as described in this question: http://askubuntu.com/questions/311024/raid1-array-lost-after-upgrade-from-ubuntu-11-10-to-13-04. I have now identified a way to mount one ...
1
vote
0answers
257 views

Upon reboot, Linux software raid fails to include one device of a 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 (Debian Squeeze). ...
1
vote
0answers
116 views

How to add extra sata drives to desktop server

I have an ubuntu 12.04 machine with a raid using mdadm. The motherboard has 8 sata ports which are all being used, and I would like to add more hard drives to it. What's the easiest/best way to add a ...
1
vote
0answers
356 views

blkid not returning the correct UUID/label for drive

I have 7 drives in my server (running Debian Wheezy as dom0 for a Xen hypervisor): An 80GB system drive, 3 x 2TB drives, a 1TB drive and 2x 500GB drives. The 2TB drives are all part of an mdadm RAID ...
1
vote
0answers
716 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
367 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
100 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 ...
1
vote
0answers
1k views

mdadm: hot remove failed

My RAID1 is degraded and I need to replace /dev/sdb. However, I could mark /dev/sdb5 (in /dev/md1) as failed and removed it, but I can't do the same with /dev/sdb1 (/dev/md0 which is mounted on /): ...
1
vote
0answers
1k views

mdadm raid5 read error not correctable

I have a software raid5 setup existing of 4 disks. sda, sdb, sdc, sdd Since everything was up and running I wanted to test the array. To do this I pulled the plug on one of the disks (sdd). Everything ...
1
vote
0answers
294 views

Lots of fun problems with RAID and SATA controllers

I bought a used 3ware raid card off of ebay a few months back and set up four 1TB caviar blacks in RAID5. The hardware raid could only manage about 5MB/s writing without write caching, and I don't ...
0
votes
0answers
5 views

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

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 : ...
0
votes
0answers
142 views

Reboot causes DegradedArray event on Raspberry Pi

I tried to setup a RAID1 with two external SATA drives connected over USB to my Raspberry Pi (Model B+ running Raspbian Wheezy). The disks are both new Western Digital WD20EZRX drives with 2TB ...
0
votes
0answers
27 views

Updated CentOS kernel to 2.6.32, system won't boot because mdadm array can't be checked/isn't mounted

Just updated a FreePBX system, kernel is now at 2.6.32. Have two RAID 0 arrays that mdadm arranges in RAID 1. Worked fine up until this update, now I get fsck.ext4: No such file or directory while ...
0
votes
0answers
122 views

mdraid 512/4096 sector confusion

I created a new mdraid array on 3TB disks, connected via USB (because the internal SATA ports were used for the old array). $ fdisk -l /dev/sdb Note: sector size is 4096 (not 512) Disk /dev/sdb: ...
0
votes
0answers
38 views

Build one logical drive from hdd and ssd drives (with a tweak!)

How is it possible to build one logical drive in linux from two physical drives, hdd + sdd with the below rules: All writes are replicated to both drives (Kind of RAID 1). All reads are only ...
0
votes
0answers
121 views

mdadm raid 6 stuck on rebuilding

I have a raid 6 running consisting of 9 1TB drives. Some time in the last couple of days, one of them became faulty and the raid startet rebuilding. But apparently it is stuck ... This is the raid: ...
0
votes
0answers
82 views

How to set boot disk after disabling mdadm raid 1?

I had two disks in raid 1. The device contained the whole system. Disabled it from a rescue disk with: (there were three partitions) mdadm --stop /dev/md1 mdadm --stop /dev/md2 mdadm --stop /dev/md3 ...
0
votes
0answers
195 views

Hybrid Raid-1 HDD + SSD — Write Intent Bitmap

I am currently running a laptop with 1 HDD and 1SSD. I currently am using mdadm to put some partitions in a raid 1 configuration with --perfer-write set on the HDD. I have this working correctly ...
0
votes
0answers
2k views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
0
votes
0answers
103 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
224 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
0answers
50 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
0answers
605 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 ...