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
370 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
247 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 ...

15 30 50 per page