Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
34 views

RAID5 compatability: repeatedly zeroed superblock: WD Red 8TB drives: wd80efax-68LHPN0 and 2x 68KNBN0

Summarizing the problem: I have been scraping by with JBOD for years, but finally need a real 'micro data center'. I bought 3 drives for my centos8-stream box over a couple months, but I have heard it ...
user avatar
  • 3
0 votes
1 answer
24 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 ...
user avatar
  • 21
1 vote
0 answers
71 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 ...
user avatar
0 votes
0 answers
9 views

How do I reassemble a RAID1 array which was created in OMV5(open media vault) on raspbian buster - RAID config has completely disappeared after update

How do I reassemble a RAID1 array which was created in OMV5(open media vault) on raspbian buster? I have 2 disks /dev/sda/ and /dev/sdb/ which have the following partitions, which look intact pi@...
user avatar
  • 101
0 votes
0 answers
12 views

How to recreate a formatted raid1 disk

I realized I have some data I want back on a disk that was previously part of a raid1 array in an asustor NAS. The disk has since been reformatted to exFat but never filled with data. The ext2 data ...
user avatar
0 votes
0 answers
55 views

mdadm RAID5: can't read superblock on /dev/md127

Today, when I wanted to replace a failed HDD on my mdadm-RAID5, the RAID stopped working at all. sudo mount /dev/md/md127 /media/ mount: /media: can't read superblock on /dev/md127 Checking the ...
user avatar
  • 1
0 votes
0 answers
20 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 --...
user avatar
  • 101
0 votes
2 answers
53 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 ...
user avatar
0 votes
0 answers
87 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 ...
user avatar
0 votes
0 answers
424 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 ...
user avatar
1 vote
0 answers
31 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 ...
user avatar
  • 111
0 votes
1 answer
26 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] [...
user avatar
  • 13
1 vote
1 answer
34 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 ...
user avatar
  • 123
0 votes
1 answer
49 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 ...
user avatar
0 votes
0 answers
39 views

mdadm - cant read superblock - can I zero the superblocks without erasing data and recreate a raid?

Today I had to fix a Server Fan by disassembling and rebuild it. After booting the server I had the problem that all disks where not at the same location they have been yesterday. So the system ...
user avatar
0 votes
1 answer
144 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 ...
user avatar
  • 1
0 votes
1 answer
27 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 ...
user avatar
0 votes
1 answer
32 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 ...
user avatar
  • 351
0 votes
0 answers
17 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, ...
user avatar
0 votes
1 answer
62 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 ...
user avatar
  • 105
0 votes
0 answers
139 views

Cannot Stop /dev/md2 in DSM (Synology Xpenology)

In the process of resizing the (Proxmox) disk used by DSM, I am trying to stop /dev/md2 on my DSM Proxmox VM (Xpenology) admin@NAS:/$ syno_poweroff_task -d admin@NAS:/$ sudo mdadm --stop /dev/md2 ...
user avatar
  • 325
0 votes
0 answers
70 views

mdadm RAID5 broken after disk failure

First of all, I made a bunch of mistakes and I think I'm just left with luck and guessing, but I hope I'm wrong or someone will point me in the right direction. I have a RAID 5 array made out of 7 ...
user avatar
  • 1
1 vote
1 answer
74 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)...
user avatar
1 vote
1 answer
60 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 ...
user avatar
0 votes
1 answer
95 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 ...
user avatar
  • 21
0 votes
0 answers
42 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 ...
user avatar
  • 1
0 votes
0 answers
81 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 ...
user avatar
  • 16
1 vote
0 answers
77 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 ...
user avatar
  • 128
2 votes
0 answers
531 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/+...
user avatar
  • 675
0 votes
1 answer
400 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 ...
user avatar
  • 265
0 votes
0 answers
54 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 ...
user avatar
  • 193
0 votes
1 answer
428 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 ...
user avatar
  • 3,078
1 vote
0 answers
54 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 ...
user avatar
  • 1,907
0 votes
0 answers
28 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....
user avatar
1 vote
0 answers
46 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 ...
user avatar
0 votes
1 answer
255 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 ...
user avatar
1 vote
1 answer
136 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 ...
user avatar
0 votes
2 answers
291 views

Disable warning from mdadm for “degraded” RAID1 with missing drive

I recently had a server outage due to a failed drive. Because of that I set up the server with a new SSD in RAID1 this time but until I managed to get another SSD drive the mdadm-based RAID1 runs with ...
user avatar
1 vote
1 answer
242 views

Can I read from a 2-disk RAID 1 array from a 2-bay external USB disk dock?

I have 2 disks which were the only disks in a Linux RAID 1 array. The RAID information is still readable via mdadm when mounted externally via USB using my 2-bay disk dock. Is there a way I can read ...
user avatar
  • 53
2 votes
0 answers
38 views

Sata 2 vs Cacheless SAS6G JBOD Performance

I have some "old" servers here, using Asus P9D-MH/SAS/10G-DUAL https://www.asus.com/Commercial-Servers-Workstations/P9DMHSAS10GDUAL/ This board comes with a SAS 6Gbps controller, an LSI SAS2308 ...
user avatar
  • 21
0 votes
1 answer
842 views

How to migrate mdadm RAID10 with 4 disks to RAID5?

I have a software RAID10 based on Linux’ mdadm under Debian Buster. Originally I found RAID10 had best performance. But I need more space and accept to trade some write performance for +50% space. # ...
user avatar
0 votes
1 answer
139 views

Long-term local offline RAID storage of never-changing data

I have about 20TB of data that will remain unchanged (forever) and I am planning to make offline copies with a little redundancy. I already have a lot of 2TB drives that I plan on using and I am ...
user avatar
1 vote
0 answers
351 views

Error when trying to reduce number of drives in a Linux RAID array

I’ve got a Synology NAS that I’m trying to reduce a RAID6 array from 12 drives down to 11 drives. I’ve already reduced the size of the file system and logical volume, but when I try to reduce the ...
user avatar
  • 11
2 votes
1 answer
334 views

How do I get mdadm to send its emails via msmtp?

I recently upgraded one of my systems to Debian Buster, and now I cannot get mdadm to send out its email messages. Previously I had ssmtp configured, and it worked just great, but it is no longer ...
user avatar
0 votes
0 answers
94 views

Creating Raid Disk from Existing Disk

I was going to follow the guide here on arch wiki to convert a single disk to a raid disk using mdadm. The disk in question is a proxmox system disk. My plan was as follows: Create the raid disk ...
user avatar
  • 620
0 votes
0 answers
106 views

mdadm.conf: mdadm -E --scan *vs* mdadm -D --scan, which is correct to use?

I have two questions: It's not clear which flag to use when generating mdadm.conf. I've seen people and documentation use mdadm -E --scan I've also seen mdadm -D --scan. Which is correct to use? ...
user avatar
0 votes
0 answers
602 views

Dual boot Manjaro and Windows without switching to AHCI

I've recently bought a new Lenovo IdeaPad C340 with an M.2 SSD and Windows 10 preinstalled. Now I want to dual-boot it with Manjaro (Awesome WM edition, shouldn't matter through). The problem: ...
user avatar
  • 111
0 votes
1 answer
63 views

Semi-failed RAID6, still able to copy data but incredibly slow

I had a 5-drive software raid6 with mdadm setup (2 parity drives), and a drive failed. I ordered a replacement, and when I powered off the machine to swap the failed drive with a new one, ANOTHER ...
user avatar
  • 1
1 vote
0 answers
190 views

Can I force-mount a raid filesystem beyond repair?

I had a 3-disk RAID5 setup. While migrating carelessly, a disk popped out of the array and then another followed closely. I therefore cannot legitimately rebuild the array because there is no aligned ...
user avatar
  • 211
0 votes
0 answers
2k views

wrong fs type, bad option, bad superblock on /dev/mdXY

If I use a expensive commercial software I can read the data but I did not buy it because it is too expensive for me. Since I have the conviction that I do not reformat the hard drive again and I can ...
user avatar
  • 271

1
2 3 4 5 6