Questions tagged [mdadm]

a utility to administrate Linux Software RAID devices

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to install Ubuntu on an encrypted, error-correcting RAID 1 device with dm-crypt?

I would like to install Ubuntu on a two-disk RAID 1 with dm-integrity and LUKS2-encryption. Unfortunately, neither Ubiquiti, nor the textmode-installer offer such a solution. However, this seems ...
0
votes
1answer
40 views

Reassemble Intel RST RAID on another mainboard

I Solved it The solution is in my own answer (se my next post). This post only describes my original problem and what I've tried. The may be some pointers in it for you though... or not. I Solved ...
0
votes
0answers
12 views

Wrong recreating Raid 5 using mdadm --create instead of mdadm --assemble

On upgrading my Ubuntu machine from 18.04 to 20.04 I decided to install an SSD and reinstall Ubuntu from the scratch. Everything worked fine but … On recreating the Raid 5 mdadm --assemble --scan did ...
0
votes
0answers
12 views

mdadm raid 1 /md0 disappered after system reboot

at this point i am all out of hope and ideas. I installed qemu and kvm and the gui. then i reboot my system to find my drive names had changed. /sdb and /sdc are now /sdi and /sdh My /md0 is just ...
0
votes
0answers
286 views

Install Ubuntu 20.04 Focal Fossa with RAID 1 on two devices

I would like to install Ubuntu 20.04 Focal Fossa on a machine with two hard disks using RAID 1. Unfortunately it seems this doesn't work. If I use the "Create Software RAID (md)" option and select ...
0
votes
0answers
30 views

Install Ubuntu on a RAID from Live CD?

I'm thinking about setting up Ubuntu 20.04 in a new environment where 2 NVMe SSDs are installed. Is it possible to use them in a RAID1? Maybe even with ZFS? I thought about creating the RAID1 in a ...
0
votes
0answers
27 views

Ubuntu server 18 installer can't mount raid6 at /

I'm trying to install server 18.04.4 on my machine with existing raid1 (for /boot) and raid6 (for /) devices set up. I set the partitioner to format the raid1 ext4, and it seems fine. I set it to ...
0
votes
0answers
20 views

Cant mount RAID1 disk in Rescue Mode

At night my OVH dedicated server stopped working and its not reachable in hd boot, so I used recovery mode. I have this under fdisk -l Disk /dev/ram0: 50 MiB, 52428800 bytes, 102400 sectors Units: ...
1
vote
0answers
15 views

Maas custom curtin config failure on clearing disks at deployment stage

I've upgraded Maas to 2.7 and now we have this problem: An error occured handling 'mddevice0': OSError - [Errno Failed to remove holders from %s] /dev/sda2 finish: cmd-install/stage-...
0
votes
0answers
121 views

Ubuntu Server 18.04 LTS - Intel Rapid Storage Raid 1 Mirror Not Recognized during clean install

I've got a ASUS ROC motherboard that has an Intel Rapid Storage SATA Raid setup where I have two SATA drives in a Mirrored array. I've been able to boot an Ubuntu 18.04 server image and during the ...
0
votes
1answer
138 views

mdadm: error opening /dev/md0: No such file or directory

in the title is what I get when running: sudo mdadm --run /dev/md0 I build and configured a RAID 1 on Ubuntu 19.10 using mdadm not too long ago. Now it stop working. What do I need to do to get it ...
0
votes
2answers
713 views

18.04: “md” process on non-RAID laptop

In the MATE Desktop "System Monitor", I can see a process called md. But I'm a little unsure as to whether this actually is the "multiple device" (RAID) driver. First of all, it has an unusual icon. ...
0
votes
2answers
217 views

Mount disk from Synology/Xpenology with mdadm on Ubuntu

I am moving my data from my Xpenology NAS to new one. Years ago I had created a single partitions on my NAS and after couple years system informed me that one of disks have a problem and he was ...
0
votes
0answers
35 views

raid 1 array degraded after reboot for no obvious reason

I use a bcache setup with a software raid 1 as backing device. root@kkb:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 91,3M 1 loop /snap/core/8592 loop1 ...
1
vote
0answers
50 views

Recovering a RAID5 array

I have a raid5 array with 4 USB hard drives. One of the drives disappeared while the system was running, so I rebooted the computer but the drive didn't reappear. Then I checked the drives physically ...
0
votes
0answers
17 views

Failed OS drive, can I recover my software raid

I have a system that had a single, non raid, operating system drive, as well as 5 disks in a raid 6 array. The os drive died, and I re-installed 18.04. After the re-installation I ran 'mdadm --...
0
votes
1answer
41 views

Disk Size Issue after raid 10 to raid 5 Migration using mdadm

I have Expanded my Raid 10 to a Raid 5 using the mdadm utility. I have expanded the raid using the "sudo resize2fs /dev/md0" I then checked the file system using "sudo e2fsck -f /dev/md0" I also ran "...
0
votes
0answers
77 views

RAID 1 - mdadm or btrfs?

I want to create a RAID 1 array of two (inexpensive) HDDs, in order to keep some rarely accessed data. I have thought about two main ways to create it: using mdadm using btrfs I've read about ...
0
votes
0answers
30 views

Mount a former MDADM RAID1 partition to backup data - Ubuntu 19.10

Morning, Team! After a crash, lost mdadm RAID 1 and need to backup sdc3 partition to another disk. How should be correct steps to make it done without pain? No longer using RAID 1 on this fresh new ...
0
votes
0answers
34 views

mdadm: can't boot after restart

https://paste.ubuntu.com/p/ZRVwhKHkyD/ I have 4 disks in RAID1 and I want to reassemble it to RAID5. Everything is fine until I restart server. Am I missing something? My fstab looks like: /dev/md3 ...
0
votes
0answers
30 views

Mdam Raid Is fine but Primary GPT Table is corrupt

Im running mdadm raid one with two drives of different sizes. I have a partition on the bigger drive that is the same size as the smaller drive and then mdadm uses the partition and the whole smaller ...
0
votes
0answers
20 views

Understanding what is happening under the hood when trying to make a mdadm raid1 array from an existing drive where both are bootable

I'm trying to get a decent feel for mdadm before jumping in, and I've had a lot of success with other questions I've posted here and on super user. I've read enough raid horror stories to know that I ...
0
votes
1answer
41 views

UnicodeEncodeError when attempting to create a RAID-1 Ubuntu Server

I'm attempting to create a home NAS(Plex) using Ubuntu. I have two 8tb Seagate Ironwolf drives I'll be using in RAID-1 for the storage portion and I've also got a random 500gb drive that'll be used ...
0
votes
0answers
27 views

Ubuntu 18.04 - Raid 0 - VERY low iops

I currently am experiencing a very low count of 2.3kB/s when using software raid 0. The setup is an asrock z87e with 2x New disks Seagate Barracuda 5400 4TB in raid 0. ubuntu@ubuntu:~$ sudo dd if=/...
0
votes
0answers
34 views

Installing with RAID1 configuration

I am trying to install UBUNTU 18.04.3 version in HPeproliant DL20 Server. Configuring RAID1 using smart storage array. Connected Media and boot from install media. Selected required options and when ...
0
votes
0answers
44 views

Boot error: attempt to read or write outside of partition and fdisk also says that the GPT table is corrupt

I'm running Ubuntu 18.04 and have been trying to use mdadm to convert to RAID 1. I got the RAID working, but after a reboot I'm getting: error: attempt to read or write outside of partition. ...
0
votes
1answer
47 views

How does Mdadm recovery and partitioning work when considering the operating system and a potential fault?

I'm considering building a server with Ubuntu for Plex, a (small) webhost for my research, a private cloud service (NextCloud) for research and personal files, and frankly I've been wanting to learn ...
0
votes
0answers
119 views

Can't install Ubuntu server on raid 1 drives using intel interface

I have set up a raid 1 using a built-in intel program (accessible by crtl-i) on two identical 2TB drives. Upon using the installer I found that both drives are shown and appear separate. If raid 1 ...
0
votes
0answers
77 views

Added new larger disks to mdadm raid 5 array

Found a cracking deal on two wd red 12tb disks the other day. Purchased them with the intention to add to my raid 5 mdadm array. My current array is made up of 6 drives, 1 4tb the rest 2tb the array ...
0
votes
0answers
56 views

Ubuntu 18.04 - Fake RAID: A Fail event had been detected

within a dual boot environment with Windows 10 and Ubuntu 18.04, I am using an Intel Fake RAID. After booting Ubuntu, I always get the following message from mdadm: A Fail event had been detected on ...
0
votes
0answers
51 views

System sometimes goes dead after `systemctl suspend`, doesn't come back up even after pulling power cord

I have a machine which is running Ubuntu 16.04 LTS in a light server role (workload predominantly Apache, Docker, GitLab, MySQL and Samba). This machine is running a 3-disk RAID5 mdadm array of ...
0
votes
0answers
40 views

Recover Raid 5 after two disk failes

I ran into a problem with my RAID5. The RAID has 4 hard drives (4TB each). A week ago, I discovered that one of my drives had physically been unplugged for some time. So naturally I plugged it back, ...
0
votes
0answers
26 views

Raid6 becomes Raid0 !!!??? :|

I have very strange situation. Server runs two RAID's. Raid1 from 2x SSD drives for OS + Raid6 from 5x HDD drives for data. I was trying to create emergency situation by removing on of the drives ...
0
votes
1answer
61 views

md_update_sb keeping boot RAID 1 busy

I installed Ubuntu 18.04 LTS on 4 hard drives in a RAID 1 configuration. Something is keeping the hard drives busy and they never spin down. Things I did: - mapped frequently accessed directories (/...
0
votes
1answer
48 views

Unable to Create Raid 5 Array

I'm trying to create a new Raid 5 array on my system using 3 12TB Seagate Exos drives on a Ubuntu Server 18.04 install. At first I just tried to use Webmin and created a GPT partition on each of the ...
0
votes
0answers
43 views

mdadm - delete one specific /dev/mdX device?

I have follow sw-raid configuration: Personalities : [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb2[1] sda2[0] 136448 blocks [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] ...
0
votes
0answers
118 views

Install Raid 10 on Ubuntu 18.4

Trying to install RAID 10 on Ubuntu 18.4. Never done this in Ubuntu before, but done it many times on CentOS. No matter what I do it fails for different reasons. Gone through all (I believe) ...
0
votes
1answer
70 views

Luks2 on top of RAID5 not mounting correctly

System: Ubuntu 18.04 64-bit. I have a raid-5 array (md0) consisting of 4 devices (sdb1,sdc1,sdd1,sde1). I encrypted /dev/md0 as a luks2 volume (crypt0), and I formatted /dev/mapper/crypt0 as an lvm ...
0
votes
2answers
41 views

Strange write speed for mdadm RAID0

I have just set up mdadm for RAID0 with two 5400rpm 2.5'' HDDs. By performing a write speed test using dd: dd if=/dev/zero of=./largefile bs=1M count=3000 I get: 3000+0 records in 3000+0 ...
0
votes
0answers
17 views

How to install on a laptop with lvm, encryption, raid1 and efi support? [duplicate]

I would like to make a fresh install of 18.04 LTS on my laptop computer. It has 2 hard drives so I would like to have mdadm RAID1 on the drives (so even if one fails, I could still boot). I also need ...
0
votes
0answers
261 views

Raid setup in Ubuntu Server 18.04.3

I am trying to setup Ubuntu Server 18.04.3 LTS on a clean system that has two 4TB disks using RAID1. I am in the partitioning section of the installation. I am following the instructions posted here. ...
1
vote
2answers
379 views

How do I correctly set up and use a mdadm RAID1 device with dm-integrity?

I would like to set up a two-disk RAID1 mdadm device with the dm-integrity function for redundancy. I know how to partition and add drives to a RAID1 device with mdadm, but I don't know how to make ...
0
votes
0answers
30 views

Trying to install Grub to an external hard drive that has Ubuntu installed

Im trying to install Grub to an external hard drive that has Ubuntu installed using steps: How to install Grub in an external hard drive? As you can see on ptetteh227's answer, one of the commands ...
1
vote
0answers
116 views

Recovering Synalogy NAS Data using Ubuntu

I have a Synalogy DS1515+ with 5 Drives and we have been told by Syanlogy to use Ubuntu to access the Drives externally. The drives use Raid 5 but for some reason we are unable to mount them when we ...
0
votes
0answers
186 views

Why is MD RAID 0 slower then either backing drive alon

I created a MD RAID 0 array using two NVME drives. I realize using two different drives, rather than identical drives is not optimal, but when I just bought the new one they are all faster than my 1 ...
1
vote
0answers
42 views

Unable to write large files to raid after adding a new disk

I have a RAID 0 setup with 2 2TB drive that has been running fine for years. I typically copy large files from a couple of windows machines to it. It is now low on space (100GB left) so I purchased 2 ...
0
votes
0answers
144 views

mdadm raid10 not enough devices to start the array after 1 disc failure

I have a SW RAID10 array with 4 discs. One disc died and after a reboot it is impossible to start the array again, it should be possible with 3 functional disc. mdadm -E /dev/sda1 /dev/sda1: ...
4
votes
1answer
85 views

Raid 1 failed, disk not in mdadm.conf

I'm having a bizarre issue and all the pages that I've searched don't quite match my problem. Basically, I can't access my small raid 1 array that comprises two 1TB WD Red disks (sdb and sdc in the ...
0
votes
0answers
93 views

Boot Ubuntu 18.04 from a software raid array?

Is it possible to boot Ubuntu 18.04 from a software raid (containing all our system and data)? We have a Lenovo P71 with a regular hard drive and 2 M.2 SSD modules that all work fine and what we want ...
1
vote
1answer
75 views

mdadm not using all the disks

I can't find the exact answer for my question so I decided to post it here. Few years ago I did a RAID0 mdadm for my home server, mostly for data hoarding. I used 4 drives of 3 tb each one, today I ...

1
2 3 4 5
9