Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

How to add extra mirror drive to existing raid array using mdadm?

I created an array with: mdadm --create --verbose /dev/md3 --level=mirror --raid-devices=2 /dev/sdc1 /dev/sdd1 The above has now completed succesfully. Now I want to add an extra drive to end up ...
0
votes
0answers
9 views

Boot Message after “RAID: Clean”-Message: “Failed to send exit request: Connection refused”

I just installed Manjaro on a (md-adm) RAID10 consisting of two Samsung 970 Evo Plus NVMe M.2 SSDs. During boot, the following message flashes up twice. What could it mean / what does it tell me? ...
4
votes
0answers
40 views

Why do 5 drives disappear when I scan for them?

I am trying to diagnose why my raid6 array of 20 hard drives stopped working on my ubuntu installation. I noticed that when I tried to force it to start, several drives simply stopped being listed in ...
1
vote
1answer
65 views

mdcheck_start Service Fails to Start

I've got a brand new Ubuntu 20.04 machine built out which is using a mdadm RAID5 configuration (3x 10TB). The system is throwing an error every time I log in. I can see from systemctl that the ...
0
votes
1answer
22 views

mdadm raid resync

i have a raspberry pi with two USB thumb drives that are in a mirror raid array and store my data that I share using Nextcloud. Now randomly, I caught today that one USB drive LED was flashing without ...
0
votes
1answer
35 views

MDADM with Encryption without losing files

Current setup is two 4TB hard drives in a RAID 1 setup using MDADM in Debian. Would like to encrypt the MD0 mount with whatever encryption is good. I was going to use something like this: sudo ...
0
votes
1answer
21 views

Problems with mdadm after resizing

I've had the same array for nearly 10 years and have been replacing disks with larger disks as the prices come down. After my latest upgrade of 4 6TB disks in RAID 5 I have been having a strange ...
0
votes
1answer
32 views

Accidentally executed luksFormat instead of luksOpen

I have two disks as RAID-1 encrypted via LUKS: # blkid ... /dev/md0: UUID="x-x-x-x-x" TYPE="crypto_LUKS" Accidently I executed cryptsetup luksFormat /dev/md0 instead of cryptsetup luksOpen /dev/md0 ...
0
votes
1answer
30 views

Access to N4100pro RAID array fails with message “unknown file system type LVM2_member”

My old NAS Thecus N4100pro NAS unfortunately broke down. Now I try to access the NAS via the Knoppix Linux live CD (http://www.knoppix.org/). I connected the hard drives via USB using an UGREEN USB3 ...
0
votes
0answers
22 views

Is it possible to shrink raid5 software array in a safe way?

Is it possible to shrink ext4 filesystem and the underlying raid5 array in a safe way? I would like to shrink my 15 TB / 6 drive raid array that contains an ext4 filesystem. Before I do that on live ...
0
votes
2answers
21 views

raid 2 smaller drives with one larger drive

I have to re-setup my RAID array and I'm faced with some different sized disks. I'd like to do raid 1 mirror w/ 2x 5TB and 1 8TB drive. I'm not sure the best way to do this. Two options I thought of ...
1
vote
2answers
38 views

Can the Volume Group be resized if I put LVM on top of mdadm and the md device size changes?

Due to my increasing amount of important data, I need a software RAID5 array for redundancy, flexibility and cost effectiveness. ZFS is not an option for me, since my distro (OpenWrt) does not ...
0
votes
2answers
122 views

fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/md0

I have a raid5 which is inaccessible after unexpeted power outage. Details: # cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] md0 : active ...
0
votes
1answer
17 views

find why mdadm dropped a disk

I have had mdadm drop a disk twice in the last month or two. I re-added it last time and it ran fine for a while, then I noticed it was running in degraded mode again. I wondered how I find the "...
1
vote
1answer
15 views

How to track the start and end time of a raid5 rebuild?

This is my first post on the forum, so bear with me. I am new to the linux environment and also new to raid configurations. I am doing a work project where for part of this project I am measuring ...
0
votes
1answer
42 views

fstab issue on mounted drives

I am running Ubuntu 18.04 and recently installed two new hard drives running a RAID 1 that I set up using mdadm. But when I shut down and unplug the computer, plug back in the power, then turn the ...
0
votes
1answer
20 views

Linux raid suddenly not assembling when rebooting

I had a very simple RAID0 set up with just two disks, and it was assembling fine for a long time after rebooting. Then suddenly it is not loading anymore. mdadm.conf: DEVICE partitions ARRAY /dev/...
1
vote
0answers
50 views

mdadm: How to create RAID50 on Ubuntu 16.04

I am unable to create a RAID50 with mdadm on Ubuntu 16.04. Every time I reboot the server, the RAID0 will disappear. Here is how we proceeded to create the RAID50 : Create two RAID5 (8 disks each) : ...
1
vote
1answer
20 views

Help me understand the recovered file system

So I had a Synology machine that went bottoms up (motherboard). I built a debian system myself and installed the hard disks today. After some twiddling with mdadm I was able to mount the both hard ...
2
votes
0answers
31 views

Mdadm Raid6 Re(assemble|build|create) from 6x disk images of original array

I have 6 1TB drives from several years ago. There was a problem with the Seagate drives's microcode, so I updated it. Unfortunately, this reset the UUID of two drives and the RAID6 array was broken....
2
votes
0answers
126 views

How to recover journal superblock on mdadm RAID5 array

Yesterday my raid5 array with 3 disks was suddenly unmounted. After examining it, it seemed it had become degraded and one of the disks had a much lower event count than the rest. I started running: ...
0
votes
0answers
30 views

How can I change the name of an unencrypted LUKS partition mounted as the root filesystem?

When I installed Linux, the block-device-path of my root LUKS device was /dev/md125 and the unencrypted partition was /dev/mapper/md125_crypt. I have since renamed the MD device to /dev/md0, and now I'...
0
votes
1answer
26 views

Added space to LVM, shows up in Size, but as Used

My root partition is XFS on LVM. Before I did anything, I had two physical disks which were combined using md as /dev/md126 into a PV. That PV was the only member of a VG centos_x5backup, and there ...
0
votes
1answer
194 views

Simple mdadm RAID 1 setup for booting degraded and reverting upgrades?

I have searched extensively for this answer and cannot find it... might anyone please know how to set up a linux software mdadm RAID 1 array, such that the computer will still be bootable and ...
0
votes
0answers
24 views

Investigating a failed drive in a raid array

Is there any way to determine what may have happened in the following scenario? We have a RAID5 that should have been originally built with 5 drives. As it stands, this is some of the state that I'm ...
1
vote
1answer
121 views

What are the md partitions under a mdadm array?

I'm setting up two RAID 1 arrays using mdadm, it seems to be working fine but when I do a check in lsblk I see the following: sda 8:0 0 5,5T 0 disk └─md127 ...
1
vote
1answer
44 views

mdadm create raid 5 stopped after ony few hours

I'm trying to setup a raid 5 for my Nextcloud but when I run the mdadm --create command it stops. Here is my configuration : Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 732566646 sectors Units: ...
1
vote
0answers
148 views

Slow write speed on encrypted drive, while benchmark shows much higher encryption / raw disk write rates

I currently setup a NAS with Ubuntu 18.04 on a Netgear ReadyNAS 102device. The machine has a Armada Marvell 370/XP SoC with a hardware encryption accelerator called "CESA". The kernel drivers for CESA ...
0
votes
0answers
31 views

How to mount a RAID1 drive?

I have a 2TB drive from my two-bay Synology NAS that I want to access via Linux Mint. fdisk shows: root@HUB:/# fdisk -l Disk /dev/sda: 111.8 GiB, 120033041920 bytes, 234439535 sectors Units: ...
1
vote
1answer
62 views

Getting an error “appear to have very similar superblocks”. Ways to fix it?

So something strange is with my partitions. root@rescue ~ # mdadm -A --scan mdadm: WARNING /dev/sdb1 and /dev/sdb appear to have very similar superblocks. If they are really different, please --...
1
vote
0answers
75 views

How create RAID 1 on working Slackware 14.2?

I use Slackware 14.2 (with kernel 4.4.14-smp) on sda and I'm trying to create the RAID 1 with additional sdb. I'm using the VM VirtualBox. First, I have cleaned the sdb: dd if=/dev/zero of=/dev/sdb ...
0
votes
0answers
14 views

Soft Raid5 failed, bad sectors

I have a Soft Raid 5 managed with mdadm on a ubuntu 16.04.02. 3 disks WD Red 3TB, for data only (system is on ssd). sdb, sdc and sdd Last week, after reboot, the system did not startup, after a while ...
0
votes
0answers
74 views

Fix mdadm RAID1 inconsistencies using btrfs/zfs checksums

I prefer mdadm RAID1 vs btrfs RAID1 because: With btrfs, all read requests from the same PID go to the same device bcache coverage is doubled using a single mdadm RAID1 device vs btrfs with 2 ...
3
votes
1answer
63 views

RAID5 repair froze on NAS, trying to restore with mdadm now

I am running a Zyxxel NAS540 with 4x4TB Hard Drives. A few days ago the NAS started beeping and I saw that the RAID is in a degraded state. Since one of the drives had really bad SMART values, I shut ...
0
votes
1answer
76 views

Can't create filesystem on a freshly made raid5 using mdadm

I connected a 4-bay enclosure with 4 new 8TB disks to my rPi. This disks appeared in lsblk as sda to sdd. Following this tutorial I created the array doing mdadm -C /dev/md0 --level=raid5 --raid-...
0
votes
1answer
187 views

mdadm RAID1 array - is it required to partition?

I've been using an mdadm RAID1 array with 2 2TB disks for a few years without issues. Recently I needed to upgrade it to 4TB so I bought 2 new disks of 4TB and plan to replace one, wait for the ...
0
votes
0answers
46 views

Moving RAID5 to new system

I have a RAID5 with 3 drives currently running on a 14.04 install. Everything is ok, but the system is a bit underpowered. Therefore I have gathered together some new hardware and installed 18.04 on ...
0
votes
0answers
58 views

RAID device won't mount in OpenWRT

I'm trying to get my RAID 1 device to work after I upgraded my router's OS (based on OpenWRT). The RAID device is listed as /dev/md0: # lsblk -o NAME,SIZE,MOUNTPOINT,STATE,FSTYPE,MODEL,SERIAL,UUID,...
1
vote
1answer
130 views

can not shrink raid1 size with mdadm

I want to reduce a soft raid1 disk size, but the following cmd shows an error, root@GalensSynology:~# mdadm --grow /dev/md2 --size=83886080 mdadm: Can't read enough disk from md2 mdadm: component ...
1
vote
0answers
65 views

Recreating a RAID4 / RAID0 array

At first, there was a RAID0 array, to which I've added a new disk by issuing mdadm --add but when I've done that, the drive started to fail because of the power issues and the array has not started ...
1
vote
1answer
172 views

Linux md config changes after reboot

My Ubuntu RAID configuration changes during a reboot and I don't understand why. Problem 1: /dev/md/host:name device is not created at boot. I don't understand how, when, or why the descriptive names ...
0
votes
0answers
35 views

Error with Vagrant creating 2 HDDs and installing mdadm for the later configuration of a RAID1

WHAT I WANT TO DO Raid1 configuration on debian buster, with 2 HDDs of 1GB. Also, I want to automatically install mdadm so then I can access the machine and configure the RAID1. IMPORTANT The RAID1 ...
1
vote
1answer
40 views

mdadm software raid question

Hoping someone can help! Never used software raid before and I've noticed the 2 disk RAID 1 is showing as degraded [U_] : # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] ...
0
votes
0answers
37 views

How can I speed up mdadm integrity check stuck at USB 2.0 speeds?

I have an array (/dev/md2) that is constructed with mdadm as a RAID5. The drives are connected in an external enclosure over USB 3.0 and when tested with hdparm show a read speed of 225MB/s. However,...
0
votes
1answer
174 views

How effective is a Linux mdadm RAID 1 against silent data corruption?

Assuming I've stored an image file on a regular hard drive. Years later, I may not be able to fully display this image file because of a hardware error. Would a Linux RAID 1 disk array created with ...
0
votes
0answers
58 views

mdadm RAID5 to RAID6 migration thrown exceptions, access to data lost

After a dozen of hours waiting for my array reshape to move on I think it's finally the right time to ask you for some advice. Recently I bought 4th WD Red 4TB drive to migrate my 3-disk RAID5 setup ...
0
votes
0answers
57 views

mdadm RAID arrays missing devices

I am running a home server with three RAID1 arrays, each with two drives: md0, md1 and md127. After an accidental reboot, md0 and md1 are running on one device only, and I cannot add back the ...
0
votes
1answer
35 views

RAID1 recovery process skipping bad blocks

I have a RAID1 array with one sligtly damaged disk /dev/sdb. I put a fresh hard disk /dev/sda into this array in order to mirror sdb (then I’m gonna replace sdb with a fresh HDD). # cat /proc/mdstat ...
0
votes
1answer
144 views

MDADM creates additional block devices

I noticed a strange issue when creating RAID array with mdadm. As far as I see, it creates additional devices of md type. According to the kernel.org documentation, the md device type is Metadisk (...
5
votes
1answer
978 views

MD device name changing to include “HOSTNAME:” after first reboot. How do I get a consistent name?

On Ubuntu 18.04 I create a RAID 1 array like this: mdadm --create /dev/md/myarray --level=1 --run --raid-devices=2 /dev/sdc /dev/sdd I then add the output of mdadm --detail --scan /dev/md/myarray to ...

1
2 3 4 5
9