A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

0
votes
1answer
16 views

mdadm --examine displays something different than --detail

Who should I trust to fill my /etc/mdadm/mdadm.conf ? mdadm --examine --scan returns /dev/md/0 while obviously it's /dev/md0 that is currently rebuilding What should I put in my /etc/mdadm/mdadm.conf ...
1
vote
1answer
44 views

Functional MD complex RAID10 suddenly marks all drives as spares

This morning during a long ~1.5TB read operation sending data to an NFS client, my md complex-RAID10 array spontaneously stopped, then dropped four members for being "non-fresh" and failed to start ...
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 ...
1
vote
0answers
37 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 ...
0
votes
1answer
42 views

mdadm: Reactivating RAID6 array after improper shutdown

I have a seven-disk RAID6 array on a file server. The server experienced a crash and a hard reset was required, resulting in an improper shutdown. Note that I/O activity was likely occurring on the ...
1
vote
2answers
64 views

Removing a disk from an Ubuntu mdadm RAID marks the array as inactive, instead of degraded

I'm setting up a mdadm raid 1 array on Ubuntu 14.10 under VirtualBox. Everything works fine: The raid 1 is set up with /dev/sdc1 and /dev/sdd1: Personalities : [linear] [multipath] [raid0] [raid1] ...
0
votes
1answer
40 views

How to link a linux system to an existing RAID1 on 2 external hard drives?

I installed Debian Linux (Wheezy) on a small HDD, added two identical large (2TB) HDDs, and built a RAID1 (without using lvm), using mdadm. I have stored a large quantity of files on the RAID. I run ...
1
vote
2answers
28 views

MDADM says can't assemble RAID5 because missing disks but all disks are there

To start this, I installed a SATA expansion card so I could get more Drives into the computer. I moved the RAID to the expansion card, after attempts failed to get the OS SSD onto them. There was a ...
1
vote
1answer
25 views

How to Create Virtual Block Devices

I want to create multiple virtual block devices like /dev/sda and then use them to create an md device for test purpose. I have mounted my root filesystem on /dev/sda1 and don't have extra space to ...
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 ...
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
1answer
36 views

How to proceed after creating software RAID 1 array on Linux

So, I've created a RAID 1 array using two 500 GB hard drives. I used a Linux Mint Boot Disk, and then used mdadm to create the RAID 1 array using 2 hard drives, each which has a single primary ...
4
votes
1answer
117 views

HDDs occasionally “click” and dump this error

Every once in a while, my HDDs (6 1TB drives in a Linux md RAID-6 array) make a brief "click" sound, and I get this from dmesg. I don't really have any clue how to start diagnose this, or even how ...
0
votes
1answer
71 views

Cloning md partitions for recovery

I have a failed software RAID5 (3x500GB disks) that I'm trying to recover. I don't want to try some of the more risky steps on the actual disks, so I want to clone them to new partitions on a new 3TB ...
0
votes
1answer
62 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 ...
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 ...
0
votes
1answer
90 views

MDADM RAID-0 does not increased size after grow on AWS Linux with EBS

I wanted to grew a Raid0 from 2 disks to 3 (each 1TB EBS on Amazon AWS) but the size did not change thereafter. The RAID started with two disks sdc and sdd and the new one was sdf. Here is the ...
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
2answers
249 views

New mdadm RAID vanish after reboot

I have problems with mdadm after reboot, I can't reassemble /dev/md0 . I work on debian wheezy. I have done the following steps:: sudo mdadm --create --verbose /dev/md0 --level=6 --raid-devices=4 ...
1
vote
0answers
111 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
1answer
144 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
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
2answers
79 views

Failed Software RAID0 on Linux - Attempting to recover data

I have a two disk RAID0 software raid (not hardware raid) that is reported to have failed during boot and my OS won't start. Using a Live CD, I get the following output : sudo mdadm -E /dev/sdc1 ...
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 ...
3
votes
0answers
141 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. ...
1
vote
0answers
219 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 ...
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. ...
1
vote
1answer
6k 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
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 ...
1
vote
1answer
1k views

Understanding /proc/mdstat [U_] VS [_U]

My server is set up with raid1. A few nights ago sda fell out completely and data was corrupted. I replaced the drive, cloned the partition table and added the respective arrays. While adding sda3 ...
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 ...
0
votes
1answer
2k views

How do I recover data from only a single drive in RAID 1 setup on Synology DS214+ NAS?

I'm doing this so I know how to recover my data in case the NAS itself dies out and I'm only left with just a single drive from the 2nd bay (or from the 1st bay). Setup Synology DS214+ NAS 2x 4TB ...
1
vote
1answer
41 views

Is there a way to show RAID details in a similar way to MDADM?

I find mdadm --detail <device> very useful when I need to know what is going on with the device (/proc/mdadm too). Example: /dev/md0: Version : 1.2 Creation Time : Mon Mar 4 ...
0
votes
1answer
155 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
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
1answer
81 views

mdadm large memory consumption

Hi i'm build mdadm RAID 6 (8 WD Red 3 Tb) on ubuntu 13.10x64 server with ext4 fs When i download torrent on the array, server RAM is filled for maximum cap (8 Gb) memory is free when i manualy enter ...
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
1answer
163 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 ...
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 ...
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
1answer
370 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
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
2answers
84 views

What are the risks of running a software RAID 1 array in degraded mode?

I'm replacing my workstation's system drive and would like to in the future be able to easily add a second drive to form a proper (although software) RAID 1 mirror. For the time being, however, I'm ...
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. ...
0
votes
1answer
238 views

RAID10 Recovery

I had a RAID10 array fail a few nights ago, I have to admit that I am fairly lost on all of this. I have googled this extensively and I don't understand what is going on. If anyone here can provide ...
0
votes
1answer
155 views

Adding sda1 vs. sda to a linux software raid

I'm running a Linux md software RAID 6 on several USB hard-drives. Each drive is partitioned to contain one partition of type fd (linux raid). My RAID is built on these partitions, i.e. it uses sda1, ...
0
votes
1answer
63 views

How do I prevent anacron from running certain scripts?

I am running RHEL5 and software RAID (mdadm). Currently I allow the 99-raid-check weekly cron script to run at the normal time (early Sunday morning). However, if the system is off during that time it ...
1
vote
2answers
409 views

XFS in-memory corruption after hibernate

I am constantly getting the below errors with XFS filesystem present on software raid-1 which was then converted to 3-disk raid-5. Errors happen exclusively after hibernate, normally either ...