Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

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

Assemble raid6 array from spares only

This question is related to Managing raid6 device with pacemaker, but nothing in the question linked is relevant to this question, except the fact that Pacemaker is involved. For the purpose of this ...
Nykau's user avatar
  • 51
0 votes
1 answer
73 views

Recovering RAID 6: drives are ok, but partitions are "lost"

I faced strange issue with my RAID 6 array (8 HDDs, mdadm). Accidentially 3 drives were disappeared from it, with corresponding result - array has been ruined, but - all 8 drives are perfectly fine, ...
Green Root's user avatar
0 votes
0 answers
42 views

Cannot stop md raid6 array

I setup a raid6 array on top of iscsi and lvm shared logical volumes that I use to make sure only one node part of iscsi network can use the raid volume at a time. Today I fail to stop the volume. ...
Nykau's user avatar
  • 51
1 vote
1 answer
173 views

SMART error on disk used with ZFS and mdadm

For some time now I've been getting emails like the following after every time I reboot my workstation (which is called 'charm'). Subject: SMART error (ErrorCount) detected on host: charm This ...
John Elliot V's user avatar
0 votes
0 answers
32 views

mdadm lost RAID5 after new motherboard and processor

I moved my mdadm RAID5 to a different motherboard/processor, same boot drive. The array is no longer found during a mdadm --assemble --scan The motherboard was previously running INTEL RAID, so when ...
Essonworks's user avatar
0 votes
1 answer
316 views

Remove RAID metadata from HDD so it can be repurposed as a single disk

Previous RAID config was RAID6 in a QNAP NAS, I now want to repurpose the disks as 8 individual disk in different machines. Each disk appears to have some RAID metadata (superblock) that is stopping ...
molko's user avatar
  • 1
1 vote
0 answers
169 views

Restoring/Accessing Synology Raid 1

I was recently asked to try to restore the data from a raid on a synology NAS. The raid consists of 2 disks of 2TB in size. It is a raid 1. From what I was told, One of the drives has failed and the ...
Tomentos's user avatar
1 vote
0 answers
73 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
1 vote
1 answer
92 views

Clean up left-over around a RAID5 coming from a QNAP NAS

I just moved a 12TB RAID5 (4 disks of 4TB) from my QNAP NAS into my Linux Server (/dev/md0), and I noticed that there are three "left-over" partitions on each disk (/dev/sd*1, /dev/sd*2, /...
Fratt's user avatar
  • 31
0 votes
0 answers
62 views

Is it possible to recover a 4-disk MD RAID 6 when there are no remaining superblocks

My system rebooted this morning and every disk in my RAID6 was suddenly blank. I have made a series of mistakes that made everything worse. I do not have backups as I cannot afford the hardware needed ...
tyler's user avatar
  • 1
1 vote
0 answers
73 views

During initramfs, udev ignores my mdadm raid 1, but raid is perfectly assembled within rescue

I know, yet another question about mdadm... I'll try and be as clear as can be: System: Archlinux Kernel 5.15.81-1-lts systemd 252.2-3-arch rescue: ArchISO (with zfs module) Kernel 5.10.78-1-lts ...
Dboy's user avatar
  • 11
3 votes
1 answer
170 views

Mount Btrfs raid 5 from failed ReadyNas 104 on Linux - aka how I restore data from my ReadyNas

After about 7 years my ReadyNas finally failed, I would expect from Neatgear detailed recovery instruction, but I read dozens of threads - my problem is not uncommon, but solution was not found. After ...
Yarick Yermak's user avatar
0 votes
1 answer
100 views

Why MDADM removes disk with no errors from array and marks it as failed

I have a Raid6 that keeps automatically marking a disk (/dev/sdi) as Failed and removing it from the array even though the long test does not show any errors: Test results sudo smartctl -l selftest /...
Jorge's user avatar
  • 121
0 votes
0 answers
83 views

Growing RAID6 (mdadm) including update of stripe-width

I am running Debian Bullseye (OpenMediaVault 6) with backports kernel 6.0.3-1. I have set up a RAID6 array consisting of 4x 6TB Seagate Ironwolf HDDs (4KiB sectors with 512KiB emulation). When I have ...
bash0r1988's user avatar
0 votes
0 answers
52 views

mdadm.conf not applied to RAID 1 volume Ubuntu

I run a server under Ubuntu 22.04 LTS, on which I have a RAID 1 volume which I re-installed from a previous server installation (on Ubuntu 20.04). Here is the interesting part of my mdadm.conf ARRAY ...
BDeliers's user avatar
  • 123
0 votes
1 answer
51 views

Safe USB HDD eject from cli (raid on top)

I have 6 USB HDDs which i use to store a externel backup of my homeserver. Over the HDDs is a Linux Software RAID5. What is the correct way to "stop everything" and eject the HDDs safe so i ...
Marc's user avatar
  • 265
0 votes
0 answers
46 views

Created a new MDADM RAID10 with leftovers of an old MDADM RAID10 even after ZFS had been on it

I was experimenting a little with MDADM and ZFS. Now first i created a partition on each drive with gdisk full disk size And then created the MDADM RAID10 ARRAY like this mdadm --create /dev/md0 --...
Darkyere's user avatar
1 vote
1 answer
738 views

Failed raid1, how to add a new disk with mdadm?

I have a home raid1 with 2 disks and one of them just failed (lightning strike on the house). I'm really unfamiliar with mdadm so I'm asking before doing anything stupid. I can hot-plug a new HD on ...
dargaud's user avatar
  • 170
1 vote
0 answers
68 views

Trying to create a net new mdadm raid 5 from old raid drives, and failing

Long story short, I have rebuilt a new new centos 7 system. It's a file storage system with 4 identical drives. They used to be part of a raid 5 system, but now that I've rebuild the system I want ...
Quadgnim's user avatar
  • 111
0 votes
2 answers
172 views

Unwanted, surprise device mapping causing problems with linux raid

Original title: Unwanted, surprise LVM disk mapping causing problems with linux raid I've done linux raid on ubuntu for almost a decade but never messed with LVM although I'm vaguely aware it exists. ...
user1169420's user avatar
0 votes
1 answer
205 views

mdadm RAID5 running degraded on Ubuntu 20.04

A long story short: my RAID5 array is running degraded. It may have been like this for a while and I don't know the history that led to this point, so I just want to remedy the situation. It would ...
StuartM's user avatar
  • 21
1 vote
0 answers
86 views

RAID 1 to RAID 5 failure

I need your valuable help on this: I have a NAS which is capable of having a RAID with four disks. I used it for a long time with only two, sda and sdd on RAID 1 - they are WD30EFRX. Now, I bought two ...
Jorge Nunes's user avatar
0 votes
0 answers
124 views

Raid 10 gone - how to rebuild / find informations

Because of another task, i had to disconnect all the raid hdd's from my pc. Shutdown -> disconnect hdd's -> boot -> shutdown -> connect hdd's -> boot -> raid completely lost. mdadm --...
eXe's user avatar
  • 101
0 votes
2 answers
816 views

How to restore my RAID5 after mistakenly failing one of the drives?

I have a RAID5 on Xubuntu 20.04, created with mdadm. I failed one of the three drives by mistake. The array is still working, but I get errors or responses I do not understand from my attempts to ...
4Dummies's user avatar
  • 173
0 votes
0 answers
732 views

Slow MDADM Raid 5 reads/write speeds

I set up a Raid 5 array from 4x4TB drives with mdadm. But the writes/reads are quite slow and I want to find out why. It isn't CPU-bound as the CPU usage during I/O operations is only around 10%. I ...
1234filip's user avatar
0 votes
0 answers
3k views

Improve mdadm RAID5 with SSD Cache

I have the following Setup: 3x 3 TB SATA HDD With software raid connected to a RAID5 On top of this LVM for snapshots (backup) And on top of LVM EXT4 formatted. Actually around 400GB is used. I have ...
C. Hediger's user avatar
1 vote
0 answers
126 views

Is it possible to create a RAID from only partial disk?

We have a dual boot system where we install firmare on two partitions, additionally we have a data partition. We have two disks on the system and I wonder if we can create a raid for the data ...
wmmhihaa's user avatar
  • 121
0 votes
1 answer
65 views

raid 4 3 disks + 2 parity disks

I have a raid 0 with 3 disks and I want to be able to lose some disks without losing data. I'm using mdadm and I already started to grow my config Current config: Personalities : [raid0] [linear] [...
Matoran's user avatar
  • 13
1 vote
1 answer
103 views

My Software RAID 5 has 4 3TB HDDs, now two of them have bad sectors. What is a good way to replace them?

I run mdadm on Ubuntu 18.04 to build a RAID 5 array of 4 3TB drives several years ago. The machine was not running for years. Yesterday I powered it on and found two of the disks have a bunch of bad ...
Harper's user avatar
  • 123
0 votes
1 answer
274 views

Linux Software Raid Rebuild on machine failure

I have a debian home server that has a 4 disk software RAID 5 array. My OS runs only on a normal nvme SSD. I know thats not secure, but it is a home server, so I didn't really care when I installed it ...
BentiGorlich's user avatar
0 votes
1 answer
578 views

Unable to add removed raid1 member back to linux software raid array

I have had a long-standing raid1 array with two member disks that was degraded when the power connector to one of the raid1 disks was accidentally disconnected while the system was powered off and ...
MarcZ's user avatar
  • 1
0 votes
1 answer
241 views

Will Synology still recognize its drive after it's been assembled via mdadm on another OS?

I have one HDD with a single Basic ext4 volume, and accidentally deleted some of my files on it. I want to try extundelete or ext4magic under Ubuntu, but I'm worried - does mdadm assembly modify the ...
Melody Nelson's user avatar
0 votes
1 answer
76 views

mdadm completely re-syncs the raid5 member but looses every time after reboot

While installing win10 I might have accidentally overwritten on a raid5 member (3 disk setup). So used ubuntu livecd to re-add the disk and re-sync it (took 6 hours). But after I reboot the disk is ...
thevikas's user avatar
  • 351
0 votes
0 answers
93 views

MDADM RAID-1 removes two drives, showing no files on third

For a few weeks ago I noticed one of two drives had been removed from my MDADM RAID-1 array on Ubuntu 20.04. I then bought a third disk (in case something was really wrong). It was also a WD RED 1TB, ...
swaglord mcmuffin''s user avatar
0 votes
1 answer
152 views

How to reshape a 2-disk RAID1 into a 2-disk RAID5 using mdadm?

According to How to remove a drive from a non-standard 2-drive RAID 5 array?, "with mdadm, a 2 drive RAID 5 is binary identical to a RAID1". If that is so, what's the mdadm command line for ...
Sixtyfive's user avatar
  • 105
1 vote
1 answer
121 views

How long should RAID 10 syncing stay at 'recovery = 99.9%'?

After replacing a faulty disk in a (CentOS 7) RAID 10, the syncing is at the following stage for quite some time now; it has had this state for more than a day: md10 : active raid10 sdp1[9] sdo1[8](S)...
boardrider's user avatar
  • 1,045
1 vote
1 answer
208 views

Way to monitor progress of RAID10 rebuilding disks, when RAID does not show in /proc/mdstat?

I have an inactive RAID 10, and the output of mdadm --assemble --scan -v |& tail -17 is: mdadm: /dev/sdn1 is identified as a member of /dev/md/10, slot 5. mdadm: /dev/sdk1 is identified as a ...
boardrider's user avatar
  • 1,045
0 votes
1 answer
473 views

CentOS 6 LVM RAID5, unable to activate VG / LV. "device-mapper: reload ioctl on (253:119) failed: Input/output error"

I've found myself in a complex Linux LVM-RAID5 / device-mapper problem after one temporary device failure, and one bad block encountered during that time. The logical volume can now not be activated ...
gusfoo's user avatar
  • 21
0 votes
0 answers
94 views

Raid array degraded after reboot

I do not know if cross-posting is allowed, but i waited 2 weeks and sadly got now answer or could solve my problem by myself. In Short: Everytime I have to re-boot our PC the RAID-6 array consisting ...
Lukas's user avatar
  • 1
0 votes
1 answer
391 views

MDADM array rebuilding after every reboot

I have just grown my RAID-1 mirror in to a RAID-5. After adding a 3rd disk, the array rebuilt successfully, but after restarting the array was showing as inactive, and the new disk (sde) had lost all ...
rbazley's user avatar
  • 16
1 vote
0 answers
165 views

What levels/implementations of RAID, if any, work satisfactorily* with SMR HDDs?

I've heard that SMR drives don't work well with RAID, but that's what I'm stuck with; even a JBOD/linear array would be better than nothing. *Results in a r/w speed that is greater than or similar to ...
ATLief's user avatar
  • 138
2 votes
0 answers
668 views

MD RAID 6 with XFS Periodic Kernel Panic -- Possible Kernel Bug?

This now appears to be a bug with the combination of MD and XFS after finding similar kernel panic reports elsewhere. A bug report with Ubuntu has been filed here ( https://bugs.launchpad.net/ubuntu/+...
staehle's user avatar
  • 685
1 vote
1 answer
959 views

"ext4lazyinit" running since 6 days on a new RAID5 array

I know there are a lot of "ext4lazyinit" topics. But they are all about 4-6TB HDD, and poster stating that it has in the end been completed after a few hours. On my side i have a newly ...
Sergio's user avatar
  • 283
0 votes
0 answers
93 views

Fedora: whole-disk MD, LUKS, and partitions

Fedora pre 30. Months ago, I set up an entire 5TB drive as a single-device RAID1 md volume (md100), LUKS-encrypted it with cryptsetup, and created partitions on it. However, coming back to it now, I ...
RoUS's user avatar
  • 193
0 votes
1 answer
1k views

Are wipefs -af and mdadm --zero-superblock equivalent for erasing raid metadata?

I saw instructions about how to remove software raid, and some of them contain both instructions: wipefs -af <device> and mdadm --zero-superblock --force <device>. Is it neccesary to use ...
Ashark's user avatar
  • 3,468
1 vote
2 answers
914 views

mdadm - Raid 1 arrays do not assemble after reboot

I rebooted my server after creating 3 raid 1 arrays with mdadm, and after rebooting, systemd was spitting out errors about the raid devices timing out when trying to assemble them at boot. I was given ...
user3728501's user avatar
  • 2,357
0 votes
0 answers
95 views

Two disks MDADM RAID 1 setup running with one disk

I have MDADM RAID 1 with two disks but one failed and will be replaced soon but till this time is it possible to set the raid to active to access my files because now the state is inactive ? Thank you....
mailoo95's user avatar
1 vote
0 answers
76 views

Beep while building RAID 1 array

I've built a NAS system using a supermicro superchassis. This chassis has Supermicro CSE-SAS-733TQ backplane supporting 4 hotswap bays. Everything runs OK. I run a fresh debian 10 install. Now I tried ...
Beach Chicken's user avatar
0 votes
1 answer
442 views

What does delta devices of the mdadm--detail output mean?

Here is an output of mdadm --detail: $ mdadm -D /dev/md2 /dev/md2: Version : 1.2 Creation Time : Wed Jun 24 16:41:17 2020 Raid Level : raid5 Array Size : 7809195456 (7447.43 GiB ...
michael.kebe's user avatar
1 vote
1 answer
336 views

MDADM 5 Disk RAID 10 no spare device created

Created a 5 disk RAID 10 by runningmdadm --create /dev/md0 --level=10 --raid-devices=5 /dev/sdb1 /dev/sd[d-g]1 and because it was an odd number I expected 1 disk to become a spare device. However ...
Gr4cchus's user avatar

1
2 3 4 5
7