Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mdadm]

a utility to administrate Linux Software RAID devices

0
votes
0answers
5 views

Recent instructions for mdadm RAID-1 and LUKS setup on UEFI systems

I have been trying to find a recent document on installing Ubuntu (18.04 preferred) using mdadm RAID-1 mirrors and LUKS underneath mdadm. The main point of using LUKS under the mdadm layer is that ...
1
vote
0answers
54 views

Speed of software RAID 0 with 4 SSD drives is strange

Situation: I have a server working on Ubuntu Server 16.04. I created software RAID 0 array that contains 4 SSD disks. When I checked the speed of the RAID array on my server I was confused. I was ...
0
votes
0answers
28 views

BCache + MDADM running extremely slow

I have 3x 14TB toshiba drives MDAdmin (/dev/md0) raid 5'd together that are setup as a bcache back. I have a 256GB fast SSD as the front of the bache. writeback is enabled. After a few days, the ...
0
votes
0answers
38 views

Boot a 2-drives mdadm RAID1 server with a physically disconnected drive

Here is the context: a friend and I have a project for which we would like to create a server based on old components. First of all, I spent some time reading what solution would be the best including ...
0
votes
0answers
6 views

Raid 1 created subpartition automaticallly

I have been making software raid1 with 2 2T hdd. Each hdd has two partition of /dev/sda1(18G),sda2(1.8T) and /dev/sdc1(18G),sdc2(1.8T) I used command mdadm --create /dev/md0 --level=raid1 --raid-...
0
votes
0answers
27 views

How can I recover a raid 5 single disk or entire array?

I have three disks that where part of an array on a debian box that will no longer boot. Im have installed them in a ubuntu 18.04 box and am attempting to mount them but get the error "can't read ...
0
votes
0answers
26 views

Migrating RAID to Ubuntu 18.04

I have a RAID 1 array with two disks, running on Ubuntu 14.04. I am planning on installing Ubuntu 18.04 onto the system partition (sda1), and once the new OS is installed, i need to reassemble or ...
0
votes
0answers
8 views

looking for a utility that can check/fix an ARRAY (mdadm) that throws an “Invalid Argument” error when attempting to assemble

I have a HDD with a partition that had(has?) a valid ARRAY on it. Before altering the partition size I could assemble this ARRAY (RAID1=clean,degraded) and access the data. I needed to shrink the size ...
1
vote
1answer
37 views

Upgrade instructions if using software mirroring from 16.04 LTS to 18.04 LTS

I'm on Ubuntu 16.04.5 LTS ... I think I'd like to jump to 18.04, but I'm not sure what (if anything) I need to do with my mdadm array(s) I have two RAID 10 devices... one is a 35 GB swap (md0) and the ...
0
votes
2answers
40 views

How can I configure postfix to send emails via gmail (2FA problems)?

I have a new Ubuntu 18.04 system and want to have mdadm, smartd, et al. to send warning emails through my gmail account. I have followed the guides in How can I configure Postfix to send all email ...
1
vote
0answers
22 views

Fix damaged GPT on mdadm software RAID array

I have a RAID array setup with two member disks sda and sdb. I am using mdadm along with Intel RSTe (for OS compatibility purposes). I have the following errors. sgdisk -v /dev/md126 Warning! Disk ...
1
vote
0answers
14 views

RAID5 (md0) isn't mounting (Ubuntu server 16.04)

Background: I'm not a total newbie, but Linux is not my thing. Current hardware is an old Atom box running 16.04 (It's just a file server). It has a small system disk and 3 larger disks running in ...
1
vote
0answers
24 views

Mount a linux_raid_member (level 1)

Original topic: https://unix.stackexchange.com/questions/78804/how-to-mount-a-disk-from-destroyed-raid-system I did it by the "hard way": (first if its possible clone this disk before you do ...
0
votes
1answer
26 views

Old Raid1 working on new Ubuntu Server install?

I recently did a fresh install of Ubuntu Server 18.04 over my old 16.04 install. I had a Raid1 config in my old setup, which I administered through mdadm. It seems as if my Raid1 config is still ...
0
votes
0answers
25 views

Moving /home while also specifying mdadm (/etc/md0) in fstab?

I believe I'm supposed to ask a new question, as the previous one was incorrectly marked as a duplicate. I'm new and not sure how to justify it's unique context. I've added this below. This is in ...
1
vote
0answers
38 views

Not able to create file system, mount or delete for my RAID

This is my first time building my own RAID and I think something is messed up and I have no idea what to do next. I have looked all over the interwebs and have not found any solutions that help. I ...
1
vote
0answers
53 views

RAID inactive and new md127 was somehow added as raid disk

I'm currently trying to get our RAID working again after the server crashed. The setup is: one RAID with 2 hard drives and a second one with 7 hard drives. But apparently after I tried to start it ...
0
votes
0answers
29 views

RAID0 will not assemble on boot, not able to assemble manually

our lab's RAID0 array has seemingly stopped working. The system knows there are drives there, but I haven't been able to assemble them no matter what I try googling around in these forums. I've ...
0
votes
0answers
25 views

Why won't mdadm add a disk to an array when it says nothing is wrong with it?

My raid setup is booting into a degraded state. In dmesg I see an error that the disk does not contain a v1.2 metadata super block. But mdadm --examine says that it does. Two questions really: How ...
0
votes
0answers
499 views

unable to use RAID disk during ubuntu 18.04 server installation (curtin installer)

I create a RAID 5 Volume with 5 Hard Disks by Hardware RAID, and intend to install ubuntu-server 18.04 by USB. First I encounter MODSIGN: Couldn't get UEFI db list, unable to open /dev/sda after few ...
0
votes
0answers
67 views

Following upgrade from 16 to 18 boot erroneously requires mdadm initialization

I've recently upgraded the packages found in 16.04 to 18.04 via updating apt/sources.list as explained for example here. This process failed several times because of conflicting dependencies for ...
0
votes
0answers
10 views

Attempting reassembly of broken Raid1 array, added 1st drive, mounted, shows 2016 files only?

So, I resolved a booting-to-Busy Box (initramfs) issue with FSCK /dev/sda, but on successfully rebooting, found my 5TB RAID1 array on /dev/md0 (2 drives) was INACTIVE. No apparent reason as nothing ...
0
votes
1answer
322 views

“mdadm: Duplicate MD device names in conf file where found."

Problem: When I boot my Ubuntu 16.04 (Server) box. I'm dropped to a Busybox V1.22.1 (initramfs) prompt I receive a message “mdadm: Duplicate MD device names in conf file where found.” Good to know ...
0
votes
1answer
682 views

Ubuntu 18.04 server and RAID - fakeRAID or hardware or mdadm

I'm unclear what my best option is to install Ubuntu 18.04 server onto a new machine. I initially thought I'd be able to set up a RAID 1 mirror on my 2 SSDs in the UEFI menu and use that. Following ...
0
votes
1answer
353 views

Ubuntu Server 18.04 Intel RAID (RST) can't detect the RAID

I've created RAID10 in BIOS (Intel RST). In 16.04 everything was OK. And in 18.04 I can't see my raid at all. I choose: Active MDADM containers (Intel/DDF RAID) => "yes" Activate Serial ATA RAID ...
0
votes
0answers
15 views

mdadm create speed has decreased massively, faulty drive? Will it speed up again?

I'm trying to set up an array in RAID 5 with 5 4TB HDDs, I'm using mdadm and to begin with things seemed fine, here is the first progress report. Personalities : [raid6] [raid5] [raid4] md0 : active ...
0
votes
1answer
22 views

Dismissing a RAID1

I've a task in mind that sounds simple, but I'm not sure it would be possible to complete. I'm dismissing a server, on which I've all partitions (boot partition and others!) mirrored as RAID1 through ...
2
votes
0answers
45 views

Can't create LVM on RAID1

I have issue creating LVM on RAID1. I have formatted two HDDs for Linux RAID Disk /dev/sdg: 9.1 TiB, 10000831348736 bytes, 19532873728 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (...
2
votes
1answer
55 views

Adding Disk to Degraded RAID1 Array

I am trying to add a disk (sdc1) to a degraded RAID1 array (md126), but I don't know how to proceed. Any help will be appreciated because I don't want to lose any of the data on the drive. Output isn'...
0
votes
0answers
17 views

Ubuntu Server MDADM Raid 6 Is lost on reboot

I am setting up my first software RAID for a Plex Server. I was able to create the array, set up samba file share and transfer data to and fro. But every time I reboot the system I lose the array. ...
1
vote
1answer
65 views

unable to mount raid 1

I have Ubuntu 16.04.4 LTS I have a set of identical HDD. I have created a raid 1 array but i can not seem to mount it. cat /proc/mdstat md126 : active raid1 sde[1] sdd[0] 24412992 blocks super ...
0
votes
0answers
65 views

Issue setting up RAID on Ubuntu Server 16.04.3

I followed this guide to set up a RAID 1 array on my installation of Ubuntu Server. Here's a summary of the steps I took to set it up: # NOTE: All of this was done with a fresh installation of the ...
1
vote
0answers
3k views

RAID support in Ubuntu 18.04 Desktop installer?

I want to install Ubuntu 18.04 Desktop using a software RAID 1 configuration. I don't see any RAID option in the installer. I have found a question about RAID support in the server installer, but no ...
0
votes
0answers
60 views

Xubuntu 16.04 mdadm problems

So I am trying to setup RAID-6, first I tried with Ubuntu Server and kept having problems, so then I tried it on Xubuntu. I have followed this guide. How To Create a Software RAID 5 in Linux Mint / ...
0
votes
0answers
20 views

mdadm will not reassemble

I am having difficulty reassembling my swap partition on my RAID. All three reassembled without errors, but the superblock is missing from sda5: mdadm --misc --examine /dev/sdb5 /dev/sdb5: ...
0
votes
0answers
43 views

Ran mdadm on a hardware RAID - Fixable?

Context: home system with Ubuntu 16.04, two SATA disks in hardware RAID 0 act as a single disk for the system (boot/home/swap). Non critical, but I'd like to avoid reinstalling/re-configuring the ...
0
votes
1answer
17 views

no authority to raid10 array linux ubuntu

I have just created a Raid10 array with mdadm out of 3 X 1TB hhd, named md0. I followed these instructions: https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-...
0
votes
1answer
136 views

Recovering a RAID array

I accidentally corrupted my build of Ubuntu 17.10 through a forced reboot (on a 5th hard drive). In my system I had 4 other hard drives part of a RAID5 array. Now that I've installed Ubuntu 17.10 ...
0
votes
0answers
57 views

Cache and sync a directory using RAM for faster access

Are there any apps or any ways to cache and sync a hard disk directory with RAM? Currently I'm making a fake disk and RAM RAID. Firstly, I make an .img file on hard disk: qemu-img create -f raw /...
0
votes
0answers
21 views

RAID issues on installing Ubuntu

This is baffling the hell out of me. I have a server (s5400SF) with an Intel Raid Controller 2. I have set up a RAID 0 RAID between 2 2TB drives. I am trying to install Ubuntu 16.04 on it, during ...
0
votes
1answer
430 views

Raid array missing after reboot

While I see that there are multiple other questions that seem to be about the same (or similar) issue, none of them have a difinitive answer. Hence, I ask it again. I am following the guide here (...
0
votes
0answers
38 views

RAID10 controller failed - trying to recover files from good RAID10 in Ubuntu - Can see the RAID but cannot mount it

I've been using Ubuntu for a few years but I'm not an expert. I have a bit of a pickle. I'd been using a Qnap NAS to store my media collection and family pictures. The Qnap's motherboard failed but ...
0
votes
0answers
169 views

How to access a software RAID1 array (not Fake RAID) composed of 2 GPT disks in both linux and Windows7

Is it possible to access a software RAID1 array (NOT fake RAID) composed of 2 GPT (WD 4TB drives) disks in both linux and Windows7. I have done a lot of searching and what I have come up with is ...
0
votes
0answers
52 views

How to setup bitrot protection with ext4 on 2 SSD workstation?

I'm surprised at the lack of documentation on this. Most bitrot protection schemes seem to be oriented at NAS. I'm thinking of doing the following: format a raid1 with mdadm install ext4 (64bit?) ...
1
vote
0answers
79 views

Recreate RAID1 after upgrade to 16.04--mdadm help

I recently upgraded my system from 14.04 to 16.04. I stuck the DVD in the drive and chose Upgrade. The upgrade appears to be good. Before upgrading my system I had 4 drives in the computer. /dev/...
0
votes
0answers
21 views

Does btrfs raid1 protect against failed rebuilds?

Afaik. by regular raid1 (I guess hardware raid and md software raid) when another disk develops a bad block, then the whole array will be lost. I read somewhere that by btrfs raid1 in the same ...
0
votes
0answers
71 views

Will my mdadm reshape operation complete?

I was adding an additional new drive to 4 drive raid 5 mdadm array. During the process that new drive was marked as faulty, along with one of the original 4 working drives. From looking at logs I see ...
0
votes
0answers
57 views

Which device name I should use when I want to add one disk into my RAID5 array with mdadm?

I want to add one more hard disk into my RAID5 array. But I found there are many device names in the ubuntu file system which are the MD devices I could config. Now I list them as following: /...
0
votes
0answers
174 views

Overwrote GPT partition table on RAID 1 drive

The command fdisk -l was showing was showing the following error on 1 of the 2 drives in my raid 1 setup: The primary GPT table is corrupt, but the backup appears OK, so that will be used. So after ...
0
votes
1answer
97 views

raid 1 with mdadm on whole disks

I successfully created a raid 1 array on my 3TB hard drives with the following command: $ mdadm --create /dev/md0 -v -l 1 -n 2 /dev/sd[bc] I created a luks crypt on that array and moved all of my ...