Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 views

RAID1 drive vanished, but could be re-added after reboot. Should I be worried?

I am running Debian 12 with an MD RAID1 array (2 drives) for my personal data (no system files on array). Today I got a mail from mdadm about a DegradedArray event, during a time where my drives are ...
HighDraw's user avatar
1 vote
1 answer
311 views

Really slow FIO random 128 MB read values for a RAID 10 XFS

I've just installed two Samsung 970 EVO Plus drives, and configured the biggest partition as RAID 10 (far 2 layout). The problem is FIO only reports a read speed of 72 MB/s. I used the following ...
James's user avatar
  • 113
0 votes
2 answers
60 views

MDADM Chunk values

I've a RAID 10 array made up of two SSDs using mdadm on linux, I created it with mdadm --create --verbose --level=10 --metadata=1.2 --chunk=512 --raid-devices=2 --layout=f2 /dev/md/MyRAID10Array /dev/...
James's user avatar
  • 113
0 votes
1 answer
22 views

mdadm raid1 showing removed disk

I have a dedicated server which consists of two hard drives with 5 partitions each. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 1M 0 part ...
ProfGhost's user avatar
  • 145
0 votes
1 answer
32 views

How do I get my raid array back and mounted after reboot

I had created a raid-1 array for two drives (sde and sdf) using the normal mdadm process and had created it under md1 and mounted it to /mnt/storage. After a reboot md1 no longer exists. My /mnt/plex ...
Adam's user avatar
  • 1
1 vote
3 answers
100 views

mdadm --zero-superblock for all devices of a mdraid?

I found no way to remove a mdraid from a server with one command. I can stop it via mdadm --stop /dev/md0 But the superblock is still in the devices. mdadm --zero-superblock DEVICE needs every device (...
guettli's user avatar
  • 3,583
1 vote
0 answers
24 views

Ubuntu 22.04.3 LTS running mdadm 16 x 8TB Raid 6 - Is it possible to upgrade individual disks and use the space immediately without using LVM?

Some more background... I have 4 realtime arrays (always running for me to use) - the 2 big important arrays (40TB [20TB used] and 112TB [105TB used] are being backed up onto a 16 x 8TB Raid6 array (...
PerryCS's user avatar
  • 151
0 votes
0 answers
38 views

Mdadm Raid5 kicking non-fresh drive from array

I set up a mdadm raid5 with 3 drives initially: sdc1, sdd1, sde1. They array creation was successful without issues. Later I decided to extend the array using one more drive. After proper partitioning,...
ricardo3889's user avatar
0 votes
0 answers
25 views

mdadm copy superblock from drive to drive

i have an RAID5 consisting of 7 HDDS. One Drive is only partially accessable anymore. Unfortunatly i used the create command which resetted the superblocks of the 6 healthy drives. is there a way to ...
JJSCH's user avatar
  • 1
1 vote
1 answer
51 views

Replacing a single SSD in 4 disk mixed software RAID 1 & RAID10 system

I'm about to replace a single SSD in a 4 SSD RAID 1 & RAID10 system. My webhoster will only do the drive replacement, but not help with adding it back to the array after. I've not done this before,...
Mr.Boon's user avatar
  • 1,471
0 votes
0 answers
55 views

setup Raid1 on running system

I have 2 disk sda and sdb with several partition. I have to make a raid1 of the running system. I managed to setup raid1 with md0 on root but there are 2 more partition which are mounted on /home and /...
codelearner1029's user avatar
0 votes
1 answer
41 views

Reassign drive index number of mdadm software raid devices

My RAID 1 array has two disks as stated by # mdadm --detail /dev/md0 ... ... ... Number Major Minor RaidDevice State 5 8 32 0 active sync /dev/sdc 4 ...
razor7's user avatar
  • 135
0 votes
1 answer
165 views

Convert MDADM RAID disk to non-raid disk

I have an existing RAID1 disk that is my boot & root drive locally. I want to convert this disk to a non-RAID disk and allow boot & root to be mounted without mdadm. What is the best way to ...
Derek Edwards's user avatar
1 vote
2 answers
216 views

Restore 4-Drive RAID5 array after accidentally reinitializing last 2-Drive as RAID0

I have an Asustor NAS with RAID 5 4-Drive running, after system update it reboot into the initialize page in web console, I think it's part of the upgrade process so I started the initialize progress, ...
Charles Chou's user avatar
0 votes
1 answer
69 views

Cancel `md --grow` operation

I added drives to an md RAID5 array, and quickly realized that I forgot to create a partition as is best practice (something I’ve also learned from bitter experience). How can I cancel this operation ...
Aleksandr Dubinsky's user avatar
1 vote
1 answer
156 views

RAID arrays failed, now will not restart; mdadm --examine shows drive healthy but --assemble fails missing two disks

This is a Mint 21.1 x64 Linux system, which has over the years had disks added to RAID arrays until we now have one array of 10 3TB and one array of 5 6TB. Four HDs dropped out of the arrays, two from ...
tsc_chazz's user avatar
  • 1,183
0 votes
0 answers
1k views

/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error

I recently had issues with a raid filesystem I created and had some bad luck. I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one ...
noje89's user avatar
  • 1
0 votes
1 answer
142 views

Temporary disconnect of HDD in RAID 0 array

I have a blade server on Rocky Linux 8 with 5 18TB WD Gold HDDs in a software RAID0 built with mdadm. I will accept all the lectures on this and change my ways if you all can help. I needed coffee ...
alchemist's user avatar
0 votes
0 answers
33 views

Why is existing RAID1 boot array not working in new PC

This question maybe related to this: https://askubuntu.com/questions/1347710/disappeared-raid-1-array-after-replacing-motherboard I created a software RAID1 array with 2 SSDs on an HP Z800 and ...
Ben's user avatar
  • 123
2 votes
0 answers
103 views

Transferring RAID1 to a new motherboard after HDD failure, and no "Superblock" found

First an OS SDD failure followed by a mobo failure, new mobo/cpu/ram later, and I have a RAID1 with a single working disk, and I am trying to get it remounted so that I can add in a new replacement ...
Aslan French's user avatar
0 votes
0 answers
89 views

Raid6 mdadm reshape operation interrupted - now cannot mount or examine

Edit: Once the reshape finished the drive became fully accessible again. I had a power failure while a raid6 array was being reshaped, and now certain operations cannot be run against it, including ...
Jonathan Cremin's user avatar
0 votes
0 answers
73 views

qemu virtual machines slow during RAID5 check

Operating system: CentOS 7.9 (on both host and guests) Host specs: CPU - AMD EPYC 7502P 32-Core Processor RAM - 250 GB (only 22G used by all VMs) Disk - Four Samsung SSD 870 QVO 4TB, grouped in a ...
William Seligman's user avatar
1 vote
0 answers
88 views

Recreation of mdadm RAID backing store for drbd yields *The peer's disk size is too small!*

Some years ago, I've set up a storage cluster with stock Debian Linux using mdadm RAID as backing store by using the Debian provided drbd 0.8. Currently there are two RAID6 volumes, comprised of some ...
PoC's user avatar
  • 236
0 votes
0 answers
135 views

mdadm RAID1 degraded but shows active partition on non-present drive

I ran into an issue with a degraded mdadm RAID1 array on a server I inherited: The server has two identical M.2 SSD drives with 256GB capacity each in a RAID1 config via mdadm for the operating system ...
heeeresjohnny's user avatar
1 vote
1 answer
105 views

md Raid6 array disapeered on reboot

my raid6 array disappeared on reboot after I grew it. I believe the issue was growing 2x with the full disk not partition. It has been suggested a possible other reason the drives were not correctly ...
tjgrillz's user avatar
0 votes
0 answers
57 views

mdadm resync slows down to 0K/s over time

I have a problem with resyncing my raid1. Everything worked fine until now and I don't know what the problem is. When I reboot my machine the speed of the resync is at about 100000K/sec but over the ...
ojn06031's user avatar
0 votes
0 answers
261 views

mdadm RAID5 mismatch, which file(s) on ext4 filesystem are affected?

After a scrub of my 4-disk RAID5 mdadm array I got these log entries: Dec 03 07:20:53 srv10 kernel: md1: mismatch sector in range 204340608-204340616 Dec 03 07:20:53 srv10 kernel: md1: mismatch sector ...
MrCalvin's user avatar
  • 374
0 votes
1 answer
32 views

Removed failed disk from

I have a problem with a software raid running mirror. One disk is dead and the server cannot find it. Normally I would have removed it as well. mdadm --manage /dev/md0 --remove /dev/sda1 But after it ...
The Tech Guy's user avatar
1 vote
1 answer
605 views

Growing a RAID-10 on Synology NAS?

I was hoping to add two additional disks to my Synology NAS. Currently it is configured as a four disk RAID-10, no SHR, BTRFS, single volume system. Unfortunately extending a RAID-10 is not possible ...
TylerDurden's user avatar
-1 votes
1 answer
163 views

mdadm array state not fully active - faulty device

I use 4 drives as a raid 5 on my Raspberry Pi. I shutdown my Pi every night and start the next morning. Sometimes the array appears to be faulty. Maybe the Pi doesn't properly mounts the drives ...
RandomGuy's user avatar
0 votes
0 answers
67 views

Can I make hotremove/add on raid5 with mdadm?

I created and assembled software RAID5 array (mdadm), 15 SSD disks. If I physically remove several disks and add them back, RAID doesn't assembles back. Disks stays in "spare" mode. Even ...
sin4ez's user avatar
  • 1
0 votes
0 answers
26 views

Mdadm syncs disks on reboot and performance drops

I have a server debian 11 with 3 disks in raid, it happens that I have to restart it to do an update or other maintenance, when I restart it after days or months it synchronizes the disks and becomes ...
A. Neodizzi's user avatar
0 votes
0 answers
1k views

MDADM Nvme raid Slower than traditional HDD, need enlightenment

I have setup server about 20 days ago with new nvme, before setup raid mdadm the two Nvme samsung 980 pro 1TB i test bench have IO speed average 1.5G/s each nvme, but after creating raid 1, IO nvme ...
Trweb's user avatar
  • 1
1 vote
0 answers
736 views

mdadm RAID10 disks layout

I've been trying to understand how disks are distributed in a mdadm RAID10, but i'm not completly sure. AFAIK, a native RAID10 is similar to RAID0+RAID1, i.e. data splitted in two chunks, each one ...
Roberto Iglesias's user avatar
0 votes
1 answer
350 views

LVM "not starting" after upgrading physical disks in underlying RAID6 mdadm array

Before: separate SSD boot drive RAID6 4 x 2TB -> /dev/md0 LVM PV /dev/md0 LVM VG built on the PV above LVM 2 data partitions formed in the VG mounted at /home and /mnt/data I upgraded from ...
James Addison's user avatar
0 votes
1 answer
533 views

How to convert mdadm raid1 to single driver and keep the data?

I have a raid1 created by mdadm in the root partition on /dev/nvme1n1p2 and /dev/nvme0n1p2, efi boot partition is on /dev/nvme1n1p1. Then I followed some commands to remove one of the disks and ...
maP1E bluE's user avatar
0 votes
0 answers
68 views

Added wrong drive to raid1 via mdadm, partition recovery

My raid is functioning fine, but I accidentally added a USB drive to what is a sata RAID1 with mdadm. I noticed this pretty quickly and removed the drive from raid, it was synced about half a percent. ...
loserspearl's user avatar
1 vote
1 answer
45 views

mdadm using double disk space

My mdadm raid1 2 disks array seems to work good. It is a 2 500GB array, shared over samba as proxmox bkup disk serving 2 nodes. By the way, even if the size of the sum of the files is actually about ...
Nik Rubblers's user avatar
1 vote
1 answer
240 views

DegradedArray event after removing raid with mdadm

My new server (ubuntu22) from hetzner has 2 ssds and and an additional big hdd that is intended to be used for back-ups only. Initially 3 raids were preinstalled, and the biggest part of an hdd was ...
Kasheftin's user avatar
  • 131
0 votes
2 answers
439 views

raid 0 made of drives of unequal sizes with mdadm

I want to create a raid0 array with mdadm from 3 physical drives: 8TB and 8TB and 16TB. Is it okay to create 2 8TB partitions on the 16TB drive and simply create the raid0 array from 4 8TB partitions ...
ThomasHunter's user avatar
1 vote
1 answer
648 views

Creating a RAID 1 via mdadm ends with completely filled one of drives after sync

I have a server with 2x 1TB NVMe drives and I want them to work in software RAID 1 (mdadm) as a system drive. After creating and waiting for sync of the array I'm ending with one of the drives in ...
janopano12's user avatar
0 votes
0 answers
22 views

Added drives to raid array, and changed it from 5 to 6 but it looks like I forgot to add a filesystem to them

mdadm --detail output Version : 1.2 Creation Time : Tue Jul 21 15:52:43 2020 Raid Level : raid6 Array Size : 29298912768 (27941.62 GiB 30002.09 GB) Used Dev Size : 9766304256 (9313.87 GiB 10000.70 GB)...
average650's user avatar
3 votes
1 answer
128 views

Migrating on-premise server with RAID1 to EC2

I have an on-premise physical server running Debian 10 that I would like to migrate to AWS EC2. The server storage consists of two 1TB HDD drives on /dev/sda and /dev/sdb that have been set up as a ...
Kaivosukeltaja's user avatar
0 votes
0 answers
306 views

How to solve a system freeze when mounting a mdadm raid-5 array?

I recently set up a raid-5 array with 4 disks on Ubuntu 22.04. When I try to mount the array using sudo mount /dev/md0 /mnt/md0 the entire system freezes. I can see the desktop but the mouse doesn't ...
oh_cripes's user avatar
0 votes
2 answers
97 views

System auto restart during the FIO stress test on a RAID0 array(6x SSDs) created by mdadm under Yocto OS

I met a problem when executing FIO stress test on a RAID0 which built from 6x SSDs thru mdadm under Yocto OS, below is the information: 6x PCIe NVMe SSD are the same vendor and model which is with 1....
Jacky Lee's user avatar
14 votes
1 answer
3k views

When adding a new disk to RAID 1, why does it sync unused space?

I recently set up RAID 1 on Linux with mdadm. When adding a new HDD to RAID 1, data started to sync between my drives which is expected. I didn't expect that it started syncing the entire drive, ...
idunnololz's user avatar
0 votes
1 answer
148 views

Why do md array rebuilds start?

I've recently made mdadm report about the events and yesterday I received a number of rebuild events. Why was the rebuild started? I don't see anything relevant in the journal. Also I'm concerned ...
x-yuri's user avatar
  • 2,175
0 votes
1 answer
781 views

mdadm raid1 irregular degraded without reason

My raid1 went to degrade state from time to time. Then my application crashes, because the raid is in read-only mode. After a reboot the raid is working fine again. Now I want to find out whats the ...
Mark's user avatar
  • 13
0 votes
0 answers
727 views

How to recover file system (ext4) on raid5?

I have an ext4 file system on a raid5 array, /dev/md0 built from mdadm. I found it wasn't mounted after I reboot once. And I ran a fcsk on it but get a superblock error. So I was going to run mke2fs -...
Programus's user avatar
  • 101
1 vote
0 answers
939 views

Removing removed disk from Raid-1 in MDADM

I have a server where 2 disks were in Raid-1. Disk-1 went faulty and due to some reasons I had to take reboot of the server and below is the current status after that. Now, I am unable to remove the ...
Prince220888's user avatar

1
2 3 4 5
18