Skip to main content

All Questions

Tagged with
2 votes
0 answers
110 views

Mounting External Intel Raid Device on Linux Failing, No Suitable Superblock and Read Past End

I have a hard-disk from a dead machine that I'm trying to mount on my Linux machine. For reference, I'm using Fedora 39 and mdadm v4.2. First, I tried just mounting it, correctly showing it's a RAID ...
Alex Huszagh's user avatar
0 votes
0 answers
31 views

2 Disks Suddenly Showing as Spares on Raid 5 Array

I have a raid5 array in a Seagate Blackarmor 440 nas that suddenly started showing disks 1 and 4 as "failed". I moved all of the drives over to a Ubuntu box and tried to assemble the array ...
shark_lasers's user avatar
0 votes
1 answer
346 views

How to wait for mdadm RAID1 resync process to fully complete?

I currently have a logic to wait for the resync process to finish by looking at /sys/block/mdXXX/md/raid_state to be clean and assume that the resync has finished. However, I don't think this is ...
MoondaKamina's user avatar
1 vote
0 answers
155 views

How do I eliminate file write latency spikes on mdadm raid0?

High Level Problem Summary We are working on an application that requires high throughput to RAID0 for extended periods of time. There are up to 8 independent 5 GB/s data streams being written to ...
Smitch's user avatar
  • 111
0 votes
0 answers
240 views

Mount & Access DATA in RAID1 configured HDD outside of Synology Box on Linux [mount: wrong fs type, bad option, bad superblock]

Background My Two-Disk Synology DS14+ won't power on and I want to access the files stored in the HDDs on my Ubuntu computer. I tried following the official guide on Synology's FAQ but I always get ...
qui2gua's user avatar
1 vote
0 answers
37 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
  • 63
0 votes
0 answers
173 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
3k 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
  • 183
0 votes
0 answers
6k 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
0 votes
1 answer
184 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
129 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
218 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
169 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,153
1 vote
1 answer
616 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,153
1 vote
2 answers
2k 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,984
0 votes
1 answer
576 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
3 answers
1k 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 ...
Daniel Böhmer's user avatar
0 votes
1 answer
387 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 ...
mumer8637's user avatar
0 votes
0 answers
255 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? ...
Tarek Z's user avatar
3 votes
0 answers
3k views

Synology DiskStation: How to stop/interrupt a running reshape (RAID5 -> RAID6)

The short of it: I have a running reshape from RAID5 with 5 disks to RAID6 with 6 disks which needs to be stopped, so I can power off the system. I do not care if the reshape needs to start fresh once ...
synouser's user avatar
0 votes
1 answer
833 views

Can a mdadm software RAID 1 drive be accessed independent of the other drive in the array?

I'm doing research for a project I'm starting, so I cannot provide configuration here. Say I have a software RAID 1 array configured between two drives with mdadm. If I write data to the array and ...
ifconfig's user avatar
  • 687
0 votes
1 answer
46 views

I added 5 drives to mdadm raid array, then I noticed 3 had partitions on them already. What is going to happen?

I have a 15 drive raid6 array using MDADM on ubuntu linux 18.04.2 server. I installed 5 more drives and added them to the raid array, and it started reshaping. However, after that I noticed that three ...
Matthew Weigand's user avatar
1 vote
1 answer
741 views

btrfs ontop of mdadm raid - calculating stripes for corrupt sectors for use with raid6check

I've got a setup with btrfs running on top of mdadm raid6 as btrfs's RAID5/6 code isn't stable yet. I figured this way I'd get the benefits of snapshotting and checksumming with a few extra hoops to ...
ultramancool's user avatar
2 votes
1 answer
3k views

mdadm shows inactive raid0 array instead of degraded raid6 after disk failure

I've been running an Ubuntu 18.04 system with an 8-disk raid 6 array, that crashed while having a faulty disk (I only noticed that there was a faulty disk after the crash). The raid array has survived ...
D.F.'s user avatar
  • 21
2 votes
1 answer
935 views

mdadm re-added a removed disk to my RAID1 and skipped re-sycning it, what went wrong?

I ran into what is a true mystery to me today, and would love if someone could give me an idea of how what happened is even possible. We had physically removed a disk from our software RAID1 (Ubuntu ...
Andrew Bent's user avatar
1 vote
2 answers
3k views

mdadm raid cretion: apparently superblock not written to disk

I am in exactly the same predicament as MDADM raid “lost” after reboot: I followed this giude to setup a raid-1 array with two disks (I was working in a recovery shell, so no "sudo"): mdadm --create ...
ZioByte's user avatar
  • 551
2 votes
2 answers
2k views

raid 1 badly detected as raid 0 when one drive is missing

I'm learning raids, so maybe this is some basic question, but it's not covered anywhere... When I create raid 1, update /etc/mdadm/mdadm.conf as[1], run update-initramfs -u, I can reboot and mount it....
Martin Mucha's user avatar
1 vote
1 answer
612 views

File system corrupt after re-adding software RAID 1 member after test. Why?

A colleague and me set up a software RAID 1 with mdadm consisting of two physical disks, with two partitions on the virtual device. The set up went fine, and booting directly from one of the RAID ...
Alexander Klauer's user avatar
1 vote
1 answer
2k views

Software RAID Nonfunctional after power outage

My server lost power yesterday. It automatically booted up when power came back, but my RAID is now nonfunctional. The RAID array is a software RAID6 built with mdadm. Originally, the array used 8 ...
Uze's user avatar
  • 31
0 votes
0 answers
116 views

Computer crashed, raid array in trouble

I arrived home today to find my home server was off (not idea why). Turned it back on again and the raid array was failing to mount. /proc/mdstat shows: Personalities : md0 : inactive sdh[7](S) sdc[...
Azelphur's user avatar
3 votes
0 answers
1k views

mdadm RAID 1 not activating spare after replacing faulty drive

Have issue with mdadm similar to Simple mdadm RAID 1 not activating spare: have replaced faulty HDD in RAID 10 fdisked and added new hdd to mdadmn mdam resynced array After that I see following: ......
user2650367's user avatar
0 votes
1 answer
271 views

Would it be advisable to have 2 raid-1 (mirror) using just 2 physical drives compared to just 1 raid-1 on 2 physical drives?

I'm using 2-bay drive Synology (implies I'm using linux mdadm software based RAID system). The motivation for doing so is to lessen the time rebuild RAID-1 array after it goes degraded. I currently ...
supertonsky's user avatar
2 votes
1 answer
533 views

RAID5 mdadm faulty / blk_update_request: I/O error

I have five raw images of a server's disks (stored on one external HDD). Each of those disks contains two partitions which are "Linux raid autodetect" (fd) and are members of RAID1 (boot-related; 3 ...
user3388087's user avatar
3 votes
0 answers
182 views

Metadata of the assambled raid inconsistent with the metadata of the individual drives?

We have a raid 10 with two failed drives, with one drive from each set still functional. When booting into rescue system the metadata seems to be fine and consistent with the expected state. The ...
user910763's user avatar
0 votes
2 answers
648 views

What happens when you remove a drive from linux raid?

I have a home media server that gave me a message today saying one of the drives is soon to fail (not happy, still under warranty, that's another issue) I am running Mdadm raid 0 on a 3 drive system ...
JonYork's user avatar
  • 153
2 votes
0 answers
939 views

RAID5 fails while recovering (mdadm): Any chance to resync?

My RAID5 is going to die because, while restoring a failed HDD, on another HDD read errors occurred and a restore is impossible. I just want to know whether it's possible to restore only a part of ...
swat's user avatar
  • 21
1 vote
3 answers
9k views

MDADM raid "lost" after reboot

I am kind of scared right now, so I hope you can bring light on my problem! A few weeks ago, I bought a new 2TB drive and decided to setup a software RAID 5 with MDADM on my HTPC (drive sdb, sdc and ...
Patrick Pruneau's user avatar
1 vote
0 answers
541 views

One RAID1 missing after reboot

I'm using Open Media Vault 3 that is based on Debian 8. I already have a RAID1 of 2x4TB WD Caviar Red, and now I'm tring to build a RAID1 with two Seagate Ironwolf 6TB. Whe I build it anything is ...
Ansem's user avatar
  • 21
4 votes
0 answers
3k views

How to prevent an mdadm array check from consuming excessive system resources?

Once a month I've been doing echo check > /sys/block/md2/md/sync_action in order to force a software raid consistency check. The problem is this is a 7.2T RAID 5. The consistency check takes ...
pgoetz's user avatar
  • 181
4 votes
1 answer
757 views

Raid Spare Spin Down

I have a software RAID 5 array (mdadm under Debian Linux) that has been up for the better part of a decade and has seen it's fair share of drive failures. I've always been leery about setting up a "...
julienj's user avatar
  • 183
0 votes
1 answer
190 views

AMD SP5100 Raid 0 rebuild

I was using an onboard AMD SP5100 raid controller for a Raid 0 on two 1TB drives. The motherboard has failed. I have two questions - firstly if I replace with an identical motherboard, will I be able ...
kevinl's user avatar
  • 1
4 votes
1 answer
2k views

Can I create a degraded mdadm raid10-near (raid 1e) array?

I have three drives in my current system (all 1TB). The current setup is: sdb - raid0 member (failing soon) sdd - raid0 member sde - backup I'd like to change it so all three drives are part of a ...
Violet's user avatar
  • 191
0 votes
1 answer
83 views

Software RAID0+1 using 3 disks

Is it possible to use mdadm to do RAID0+1 using 3 disks? My scenario is 1x2TB disk and 2x1TB disks. Not interested in the RAID0 performance boost, just want to combine them so I can mirror them with ...
Laurence Sacha Stant's user avatar
0 votes
1 answer
78 views

Need to recover RAID0 disks from failed linux box

I have two drives from a failed old Linux box that were configured as RAID0. I have created two dd image files using the following commands on my Mac: dd if=/dev/disk3 of=disk0.img.dd bs=512 dd if=/...
An Old Guy and His Dog's user avatar
0 votes
2 answers
259 views

RAID0 data recovery & recovery strategy validation

I have a Synology expansion (DX213) connected to my NAS. It houses 2 disks of 2TB and they are in a RAID0 configuration (awful idea, I know and I don't need a reminder ;) ). Last weekend, the array ...
mstaessen's user avatar
  • 101
0 votes
1 answer
45 views

Linux software Raid5 DegradedArray with mdadm

So I changed my case and I don't know why but one my SATA port does not work anymore. So only 5 of my 6 RAID5 disks were recognized. The volume was automounted anyway and I already wrote new files on ...
tachikoma01's user avatar
0 votes
1 answer
186 views

Unable to assemble mdadm array due to lack of errors

My virtual machine host system is running Debian 8.4. I had to restart the system yesterday and did not yet manage to get my mdadm array up and running again. I can boot up normally, but no array (or ...
jejanim's user avatar
3 votes
4 answers
10k views

MDADM reshape really slow

To sum up : My raid reshape with mdadm is really slow. The complete story : 3 days ago I realized that one of my disks from a raid 5 array was faulty. I removed it and replaced it with a brand new ...
Okeur's user avatar
  • 63
4 votes
1 answer
13k views

Does mdadm record array event history?

I received an automated email from the mdadm daemon: A Fail event had been detected on md device /dev/md0. It could be related to component device /dev/sdh. I find the wording strange. "could be"? ...
superboot's user avatar
  • 358
2 votes
1 answer
4k views

Assemble 3 drive software RAID5 with one disk missing

Is it possible to assemple a three drive software RAID5 with only two disks? I have one failed disk in my setup which i could not read at all but the two other disks are fine. So i created a dump of ...
Maximilian Ruta's user avatar

15 30 50 per page