A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

2
votes
1answer
810 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
201 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
60 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
213 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
850 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
56 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
60 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 ...
0
votes
1answer
109 views

mdadm one disk sometimes is missing after reboot

On a debian system my home directory is on a raid1 md array. After creation it worked fine for some time, but once the second drive disappeared from the array. # cat /proc/mdstat Personalities : ...
0
votes
1answer
141 views

Can I pass disks through Hyper-V to a Linux VM for md RAID on any hardware?

I toyed with the idea in the past few months of virtualizing a workstation machine (with ESXi/Xen/etc), basically having it run some very basic server stuff behind the scenes; this was more of an ...
0
votes
1answer
154 views

Recover software RAID

I built a RAID-1 with two hard drives using mdadm. Command used was: mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc it went fine, I create partition table and partitions in ...
3
votes
0answers
139 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
580 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
438 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
8k 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
36 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
19 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
108 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
218 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 ...
1
vote
0answers
31 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
77 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
205 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
196 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
44 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
133 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
223 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
105 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
325 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
615 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
320 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
99 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
955 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
291 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
9 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
85 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
36 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
92 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
75 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
183 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. ...
0
votes
0answers
176 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
27 views

install mdadm with out user input in debian

I am switching to debian from ubuntu and setting up RAID0 on my AWS boxes using user-data. Things were working fine on ubuntu but on wheezy apt-get -y install mdadm --no-install-recommends throws ...
0
votes
0answers
30 views

mdadm always degraded on reboot - how to solve?

Whenever I reboot, my RAID6 array is always degraded, and I have to force add two drives (seen here after re-adding): Personalities : [raid6] [raid5] [raid4] [raid1] [raid10] [raid0] [linear] ...
0
votes
0answers
1k 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
98 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
222 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
49 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
575 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 ...