Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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 ...
0
votes
0answers
4 views

Assembling a lsw fakeraid using mdadm

I am having problems getting a RAID 10 array working. A bit of context - I want to setup a fakeraid array on my PC so I can have the array used by both Linux and Windows. Before I commit my data ...
1
vote
1answer
24 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 ...
0
votes
0answers
19 views

Rebuilding Raid0 or JBOD from NAS

I had 2 x 2TB HDDs in a Buffalo CloudStation Pro Duo NAS. Several years ago, I decided that I do not need this NAS anymore and wanted to put them in a disk enclosure to connect the disks via USB. In ...
2
votes
0answers
20 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 ...
0
votes
0answers
20 views

Ubuntu 14 - Remount a raid1 on 8TB GPT disks

I added 2 hds on my ubuntu 14.04 server. Using the gdisk utility I initialized the disks as GPT. With mdadm I created an array raid1 and then formatted the unit (/dev/md3) as ext4. I used the unit ...
0
votes
1answer
13 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. # ...
0
votes
1answer
42 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
0answers
27 views

Raid 1 disk failed, cannot make active single spare that was rebuilding

I had a 2 disk raid 1. While one of the disks was syncing, the other failed! The failed disk cannot be used, it is really dead (any attempt to access it blocks for 2 minutes and nothing can be read). ...
0
votes
0answers
102 views

How to restore mdadm RAID partition tables overwritten with Windows 10 protective MBRs?

Fist things first, I screwed up: Installed Windows 10 on a new, separate drive on my Linux Workstation, and let Windows Disk Management "initialize" my two Linux RAID disks, which I ran on the same ...
0
votes
0answers
49 views

Stuttering/Freezing with ext4 on Linux mdadm RAID1

I recently converted my /home partition to mdadm software RAID1 (ext4) on two brand new 2 TB disks. Often, with interactive applications, I get a .5--2 second freeze every 5--10 seconds. It's ...
1
vote
0answers
137 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 ...
0
votes
0answers
111 views

Debian 9. Software raid(mdadm) high cpu usage after disk change

I have a server with software raid and changed 2 drive in it. There are 3 md's in it and i don't undertand what is md2 cat /proc/mdstat Personalities : [raid1] [raid10] [linear] [multipath] [...
0
votes
1answer
62 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
17 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? ...
0
votes
0answers
201 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: ...
0
votes
0answers
21 views

mdadm does not send mails after reboot

I have updated my ubuntu-server from 16.04 to 18.04 and mdadm in general runs fine, but (as said in the headline) it doesn't send any mail after reboot. mdadm --monitor --scan --test --oneshot ...
0
votes
1answer
54 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 ...
1
vote
0answers
60 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 ...
0
votes
0answers
33 views

Starting RAID6 array with a disk that mdadm regards as spare

I have an 18 device Raid6 array where two disks has failed. I have now obtained replacement disks and I have installed them physically into the server and booted it up again. Now suddenly the array ...
0
votes
0answers
287 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 ...
0
votes
0answers
53 views

Rebuild Raid10 with disk partitions

I have a Iomega px4-300d and, after an inappropriate shutdown, the RAID can't remount. I checked the log and I found: Nov 19 12:07:19 HDREDE kernel: [ 67.258083] md: md0 stopped. Nov 19 12:07:19 ...
1
vote
3answers
189 views

Rebuild a RAID5 on ZYXEL NAS 540

I have a weird problem with my NAS, a Zyxel 540 with 4 × 2TB drives in RAID 5 configuration. Everything was working smoothly until I decided to replace one drive with a new WD Red, same size. As ...
2
votes
1answer
165 views

Ubuntu server RAID-5 failed, rebuilding fails

My Ubuntu server now fails to boot: It uses a RAID 5, and one of those drives failed. The OS is on the RAID array, and rebuilding now fails with the replacement drive. I can't post pastebins or ...
0
votes
0answers
6 views

Mdadm keeps revering back to prior state

I decided to no longer use my Western Digital World Book II NAS. I took the drives out of the device and put them into my Ubuntu PC. After doing some work (don't recall the details), I kept the ...
1
vote
0answers
16 views

Remounting imperfect RAID 6 after clean install

I am running a small laboratory server (intermediate logins and data storage). It has 5 physical drives: one (sda) for /, and 4-drive RAID 6 (sd[b-e]) for /home. Due to a hardware fault, I had to ...
0
votes
0answers
23 views

How can I expand my software RAID 5 on Linux?

I'm a little green when it comes to RAID setups. I have a software (mdadm) RAID 5 running on a Ubuntu machine at the moment. It has 3 drives of 2TB each, which should give it an operating capacity of ...
1
vote
0answers
37 views

filezilla local side unable to see ext4 drive created with mdadm

I have an ubuntu machine that has an external HD enclosure with 4 single terabyte drives. I used mdadm to group all four drives into a raid 6 array. This drive functions perfectly, and I use it to ...
0
votes
0answers
10 views

Is this a reasonable storage expansion procedure?

Did i miss anything important? Changes: Adding 4x more HDDs ( SATA II/III 2TB ) Current Storage Stack 8x SATA II/III HDDs 2TB 1 large partition each 4x mdadm raid 0 /etc/md[1-4] 1x mdadm raid 1 /...
1
vote
1answer
160 views

Removing lvm cache volume results in “Unknown feature in status” output

Recently I've replaced the HDDs in a RAID 1 mdadm array due to a lack of space. The structure is as follows: - 2 HDD in RAID 1 (Originally 2x2TB, now 2x4TB) - LVM - Swap - BTRFS - 3 ...
0
votes
1answer
73 views

Disappearing RAID array aka nested partition table within a partition?

I am having trouble with unsustainable RAID array, it keeps on disappearing in random fashion. At creation time the warnings related to lost / meaningless partition table are displayed, even though a ...
1
vote
0answers
454 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 ...
1
vote
2answers
175 views

Recovering LVM Raid-5 Array

I have a failed raid-5 array that I can't seem to recover. Basically the story is I had this data in raid 5 and I was using LVM which has built-in raid now. I noticed one of the disks going bad so I ...
0
votes
1answer
77 views

mdadm raid is broken - please give me advice

I created a mdadam raid array like this under KDE Neon, sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=3 /dev/sdf /dev/sdg /dev/sdh I take a look at gparted and am surprised to see ...
0
votes
1answer
55 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
1answer
83 views

Grub fails to boot Arch OS on Raid-10

I have no problem to put Arch OS onto a regular disk. But, when I used Raid-10 disk and boot it, grub loader will say: "ERROR: device 'UUID=7a6a787c-81bc-47b9-bdad-663c1d6b2a2b'". The UUID shown is ...
0
votes
0answers
11 views

Transferring to New Server

I have an ubuntu server that I built in 2008 from an old home computer. Over the years it has become many things for me, apache web server, plex media server, owncloud, as well as a place for me to ...
1
vote
0answers
19 views

mdadm inconsistency in building raid 10 group

I have a set of four NVMe-oF devices, two each from two arrays that do not offer RAID. I want to use mdadm to create a RAID 10 array for use with databases, being careful not to put both sides of the ...
0
votes
1answer
28 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 ...
0
votes
0answers
64 views

Hybrid RAID (SSD+HDD) gives unexpected results

I am doing some experiments with hybrid RAID in Linux. My test consists of the following: 2x256GB SSD in RAID 0 (/dev/md1) 2x256GB HDD in RAID 0 (/dev/md2) Then I made md1 and md2 into a RAID 1 (/...
0
votes
1answer
285 views

How can I remove this “zombie” mdadm array?

Admittedly I'm not too familiar with MDADM. I recently set up an array for a NAS, but incorrectly sized the partitions in my setup script, and need to remove the array, re-partition the disks, and re-...
0
votes
0answers
68 views

Why MDADM remove one of my Raid1 disk randomly?

I have a rapsberry pi 2 with 2 HDD connected to it thanks to a SATA-USB adapter. They are Raid1 mounted with MDADM. The problem is that one of the two disks is randomly removed and marked as "Faulty"....
0
votes
1answer
107 views

how is mdadm executed during startup?

I think I read documentation/internet left to right, but I cannot see anywhere information, how is mdadm invoked during system startup. I cannot see anything in /etc/rcX.d, I cannot see any systemd ...
0
votes
1answer
250 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 ...
0
votes
1answer
418 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 ...
2
votes
1answer
250 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 ...
0
votes
1answer
292 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 ...
3
votes
2answers
666 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
1answer
214 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
2 3 4 5 6