A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

3
votes
1answer
1k views

Need to find which drives are mirrored within RAID-10 array

I have a home media server running on openSUSE 12.2. I'm using eight 2TB drives in a RAID-10 configuration. I deliberately bought two different types of drives: four Seagate Barracuda Green and four ...
2
votes
1answer
633 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
200 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
24 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
195 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
813 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
4 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
36 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
3k views

Ubuntu Server 14.04 - RAID5 created with mdadm disappears after reboot

This is my first question on superuser, so if I forgot to mention something, please ask. I'm trying to set up a home server which will be used as file server and media server. I installed Ubuntu ...
0
votes
1answer
79 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 ...
0
votes
1answer
100 views

mdadm --assemble fails when /dev/sd[abcde]1 reordered

I am having trouble assembling a small RAID5 due to a recurring reordering of /dev/sd[a-f] on boot (Debian7). md0 was initially using sd[abc]1, it contains a LUKS device, which in turn contains a ...
3
votes
0answers
60 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. ...
3
votes
0answers
1k views

Does TRIM avoid the performance impact of mdadm RAID 1 on SSD?

It has already been mentioned in other questions that Red Hat recommends against using mdadm RAID 1 on SSD. Red Hat also warns that software RAID levels 1, 4, 5, and 6 are not recommended for use ...
2
votes
0answers
500 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
405 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
7k 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
47 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
26 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
49 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
201 views

XFS: Mount overrides sunit and swidth options

I have a 9TB XFS partition consisting of four 3TB disks in a RAID-5 array with a chunk size of 256KB, using MDADM. When I created the partition, the optimal stripe unit and width values (64 and 192 ...
1
vote
0answers
164 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
168 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
39 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
112 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
179 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
95 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
243 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
458 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
247 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
54 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
854 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
957 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
281 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
26 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 ...
0
votes
0answers
26 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
29 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
42 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
50 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
91 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
108 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
23 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
28 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
661 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
69 views

Raid drives missing filesystem

I recently had to do some troubleshooting with a RAID 5 on Ubuntu Server (a software raid). I ended up removing everything and start from scratch with 2 new drives. So I took out 2 out of 4 drives, ...
0
votes
0answers
93 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
219 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
546 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 ...