Skip to main content

All Questions

Tagged with
2 votes
1 answer
6k views

Unable to reassemble md raid on drives pulled from ReadyNas Duo v1

I'm toying with a ReadyNAS device that I've recently acquired. It is a SPARC-based box, and it runs linux. As device is pretty slow, I've pulled one drive out of array, hoping to populate it with ...
2 votes
0 answers
143 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 ...
0 votes
0 answers
33 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 ...
0 votes
1 answer
371 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 ...
1 vote
1 answer
3k views

mdadm device missing

After a reboot my /dev/md0 device was missing. This is a RAID-1 array from two partitions of two harddrives. On each of the harddrives is another partition, which together belong to dev/md1. However, ...
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 ...
1 vote
0 answers
159 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 ...
0 votes
0 answers
248 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 ...
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 ...
1 vote
1 answer
2k views

Take one disk of external mdadm data raid 1 to travel

I have a mdadm software raid 1 on external disks with media data. For travel I want to take the data with me. I imagine to set the raid and the underlying filesystem in readonly mode and take just ...
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 ...
1 vote
1 answer
4k views

Linux MD software raid stripe cache size

From what I can piece together the /sys/block/md0/md/stripe_cache_size is for raid5 and 6 set at a very low default value to avoid starving machines for memory. By increasing this value you can get a ...
2 votes
2 answers
1k views

Why make a partition at all for mdadm/raid?

i have 4 disks, sd[a,b,f,g] of various sizes that I want to 'merge' together. I am using mdadm to achieve this. my question is, what's the difference between -- mdadm --create /dev/md0 --level=...
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 ...
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 ...
5 votes
4 answers
15k views

New mdadm RAID vanish after reboot

I have problems with mdadm after reboot, I can't reassemble /dev/md0 . I work on debian wheezy. I have done the following steps:: sudo mdadm --create --verbose /dev/md0 --level=6 --raid-devices=4 /...
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 --...
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 ...
0 votes
1 answer
185 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] [...
1 vote
1 answer
130 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 ...
11 votes
3 answers
16k views

mdadm RAID Fast Setup with Empty Drives?

I am recreating some RAID5 disks as RAID6 with mdadm. There is no data on the drives that I care about. Setting up RAID takes a while to setup the shape - I accept that when there there is data that ...
36 votes
10 answers
238k views

How to get an inactive RAID device working again?

After booting, my RAID1 device (/dev/md_d0 *) sometimes goes in some funny state and I cannot mount it. * Originally I created /dev/md0 but it has somehow changed itself into /dev/md_d0. # mount /...
0 votes
1 answer
223 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 ...
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 ...
1 vote
1 answer
173 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)...
1 vote
1 answer
623 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 ...
8 votes
3 answers
21k views

How do I mount a software RAID1 (mirror) created by Windows in Linux using mdadm?

I'm switching my Windows server to Ubuntu and am trying to get my software RAID1 (mirror) that I created in Windows to show up in Ubuntu. I have read that this is possible here using mdadm, but I'm ...
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 ...
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 ...
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 ...
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 ...
2 votes
2 answers
20k views

How do I tell mdadm to start using a missing disk in my RAID5 array again?

I have a 3-disk RAID array running in my Ubuntu server. This has been running flawlessly for over a year but I was recently forced to strip, move and rebuild the machine. When I had it all back ...
0 votes
1 answer
388 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 ...
0 votes
0 answers
257 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? ...
2 votes
1 answer
943 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 ...
4 votes
1 answer
758 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 "...
0 votes
1 answer
274 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 ...
0 votes
1 answer
841 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 ...
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 ...
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....
1 vote
1 answer
747 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 ...
5 votes
2 answers
11k views

Convert RAID 1 to RAID 10 in mdadm

In my current Ubuntu server, I have 2x 2TB Western Digital RED hard drives in a RAID 1, using mdadm. I would like to add 2 more 2TB RED drives, and convert it to a RAID 10. I realize I would have to ...
1 vote
1 answer
613 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 ...
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 ...
5 votes
0 answers
2k views

mdadm RAID monitoring no DegradedArray email

So, I have a couple of MDADM RAID arrays and I want to set up monitoring with email notifications for drive failures through sSMTP but I can't seem to get it working. The system in question is a ...
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[...
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: ......
2 votes
1 answer
534 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 ...
3 votes
0 answers
185 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 ...
0 votes
2 answers
653 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 ...

15 30 50 per page