Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
0
votes
0 answers

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 mounting or mdadm --examine. To add to my woes, one…
0
votes
0 answers

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 mdadm RAID5 This system is running 12 virtual…
0
votes
0 answers

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 (Debian 11). The partitions on the drive…
0
votes
0 answers

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 span of about 1h it slows down to 0K/sec. I…
0
votes
0 answers

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 in range 204340616-204340624 Dec 03 07:20:53…
MrCalvin
  • 354
  • 1
  • 6
  • 18
0
votes
1 answer

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 can't see the bad disk I got an error saying it…
The Tech Guy
  • 21
  • 1
  • 1
  • 3
0
votes
1 answer

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 via GUI but it is possible according to the…
TylerDurden
  • 191
  • 1
  • 3
  • 14
0
votes
0 answers

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 after reassembling by commands. But if I manually fail a…
sin4ez
  • 1
0
votes
0 answers

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 underperforming until it ends. Is there a way to…
0
votes
0 answers

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 only about 70mb/s. and still fast traditional HDD…
Trweb
  • 1
  • 1
0
votes
1 answer

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 ubuntu 20.04 to 22.04 (everything was still working…
0
votes
1 answer

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 formatted it to mount in /media. mdadm /dev/md0 --fail…
maP1E bluE
  • 163
  • 8
0
votes
0 answers

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. Its can't be mounted as xfs because the…
0
votes
2 answers

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 that I end up having? Will the speed of this…
0
votes
0 answers

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) Raid Devices : 5 Total Devices : 5 Persistence…