A linux utility used to manage software RAID devices.

learn more… | top users | synonyms

0
votes
0answers
23 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
1answer
32 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
19 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
154 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
0answers
13 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
44 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
12 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
23 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
18 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
40 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
180 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
28 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
71 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
112 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
43 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
20 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
119 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
0answers
59 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
1answer
92 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
45 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 ...
0
votes
0answers
124 views

mdadm RAID1 on OS drive by cloning, then changing the UUID on 2nd disk?

Ok, I've been doing some research into installing ubuntu server onto an mdadm raid1 setup and ive come across a couple ways: 1) install it onto two drives by using the "manual" method on the cd ...
1
vote
1answer
157 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 ...
1
vote
1answer
263 views

Assembling an mdadm array with “possibly out of date” disks

I've recently moved house and have had some power problems after switching on my file server that's using a mdadm RAID5 set up. The file system I'm using is ext4. It seems that at some point two (of ...
1
vote
2answers
256 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
1
vote
0answers
133 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 ...
5
votes
1answer
100 views

Is it safe to “use” to disk if extended smart check is in progress?

As simple as the title suggests. /dev/sda is a unit from /dev/md127 - RAID1 drive. I'm currently running a test - started a smartctl -t long /dev/sda. Afterwards, I started to copy files over ...
0
votes
0answers
21 views

Madm scan less uuid's than drives

I have a raid6 array with 5 disks(was started with 4 and then added on on-the fly - without rebooting). I have noticed something a bit strange when i was preparing to add a new drive : mdadm ...
1
vote
0answers
34 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 ...
3
votes
1answer
455 views

mdmda raid 1 - spare drive after SATA cable change

Yesterday my hoster changed a SATA cable of one of my hdds, when my server came back up again cat /proc/mdstat showed this Personalities : [raid1] md124 : active raid1 sda1[0] 4193268 blocks ...
1
vote
0answers
85 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
1answer
133 views

Documentation for mdadm bad block support

I've read a bit about that mdadm (and the kernel) now have bad block support but I am having a hard time finding any useful documentation on this subject. Is the bad block list for disk X duplicated ...
1
vote
0answers
148 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
2answers
273 views

Convert RAID 1 to RAID 10 in mdadm

In my current Ubuntu server, I have 2x 2TB Western Digital RED hard drives in a RAID 1, using mdadm. I would like to add 2 more 2TB RED drives, and convert it to a RAID 10. I realize I would have to ...
0
votes
2answers
59 views

Writing to a specific drive with software RAID4 on Linux

Edited to reflect conclusions from comments: I want to construct a software RAID-like array with 2 storage devices plus one parity device, where the parity device maintains the XOR of the two other ...
1
vote
0answers
82 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
2answers
3k views

How to remove Linux software RAID MD device?

I'm trying to install openSUSE 12.3 on the new server. It is this machine. There are 2 HDDs connected to the SAS controller. What I want to achieve is a NON-RAID configuration where 1.HDD is used for ...
1
vote
1answer
585 views

Bad superblock on /dev/md0

I have an mdadm RAID 5 array running on Debian Wheezy. It's comprised of 3x 2TB drives. I've obviously done something stupid, because now I can't mount it and it's throwing up the following error: ...
1
vote
0answers
171 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 ...
3
votes
2answers
5k views

How do I reactivate my MDADM RAID5 array?

I've just moved house which involved dismantling my server and re-connecting it. Since doing so, one of my MDADM RAID5 arrays is appearing as inactive: root@mserver:/tmp# cat /proc/mdstat ...
0
votes
0answers
140 views

How do I convert an existing RAID60 to use global host-spares with mdadm?

I currently have a raid 60 using mdadm. There are 3x RAID6, each with 14 disks + 1 hot spare. I want to change it so the 3 spares are global rather than bound to the individual arrays. I've edited ...
2
votes
0answers
383 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 ...
0
votes
0answers
121 views

Restore mdadm/lvm2 raid after overwriting partition table

I made a stupid mistake! I have an Ubuntu 11.10 and there I have 3x2TB disks in a RAID5 -> 4TB usable. I wanted to install a new 4TB disk in the computer. I opened gparted and created a GPT partition ...
0
votes
2answers
181 views

Debian server intermittently fails to boot, possibly linked to MD/RAID - what can I do to investigate?

Occasionally (1 in 60 boots), one of our debian (2.6.32-45) servers fails to boot: The output from the failed boot ends here: ... [ 7.831991] raid6: using algorithm sse2x4 (11665 MB/s) [ ...
0
votes
1answer
215 views

Adjusting mdadm priority on Ubuntu

I have Ubuntu 12.04 running on my new server, and it is setup to run off of one drive, then 2 drives that are mirrored using mdadm. When streaming files or media from it, it is extremely slow. I was ...
0
votes
1answer
729 views

mdadm disk partition type : Linux RAID Autodetect mandatory or 83 Linux ok?

Main question : Q1: i would like to know when using mdadm, the "Linux RAID Autodetect" type is mandatory for my disk, or a "83 linux" type is ok ? Sub question : Q1_1 : What are the differences ? ...
2
votes
1answer
82 views

Why make a partition at all for mdadm/raid?

i have 4 disks, sd[a,b,f,g] of various sizes that I want to 'merge' together. I am using mdadm to achieve this. my question is, what's the difference between -- mdadm --create /dev/md0 ...
3
votes
2answers
1k views

mdadm: safest way to grow RAID 5 (4x2TB) with 2x4TB

My situation:I am currently running a RAID 5 with 4x2 TB disks and would like to grow the array with 2 x 4 TB disks. The goal would be that there is a RAID 5 with 4 x 4 TB (the two 4 TB disks and two ...
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 ...
1
vote
0answers
321 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
205 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 ...