A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

2
votes
1answer
9 views

re-assemble out-of-date raid5?

I need help with my raid5 after it crashed through bad sectors. Previously I could re-assemble it with # mdadm --assemble --force -v /dev/md0 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 but ...
0
votes
0answers
37 views

OwnCloud - storing data on RAID array

I have a server running Ubuntu Server 14.10 LTS 64bit. It has an O/S drive, and then a data RAID-1 array mounted under /srv/storage I've installed OwnCloud server using the default sqlite DB. I've ...
0
votes
0answers
12 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
1answer
13 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
24 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
47 views

upgrade (software) RAID 1 capacity

I am upgrading a software RAID 1 array (/dev/md0) from 2TB drives (sda and sdb) to 4TB (sdc and sdd). Straight forward; ext3, single partition, no MBR, no LVM. In the end, I would like to have two ...
0
votes
0answers
155 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 ...
2
votes
0answers
113 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 ...
0
votes
1answer
66 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
95 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
32 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
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 ...
0
votes
1answer
81 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 ...
2
votes
2answers
258 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
96 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
129 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
53 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
60 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
35 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
62 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
320 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
215 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
115 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
132 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 ...
2
votes
1answer
385 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
240 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
889 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
179 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
251 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
130 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
2answers
147 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
127 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 ...
3
votes
0answers
197 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
277 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
205 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. ...
2
votes
1answer
8k 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
204 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
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 ...
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
68 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
275 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
129 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
1answer
247 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
107 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
572 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
267 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 ...