Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

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

mdadm raid gone after reboot due to super blocks disappearing on all but one drive

I have a raid 6 on /dev/md0 using /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf. I moved this raid to a different motherboard but kept the same non-raid card, and all drives including the OS ...
0
votes
0answers
27 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 ...
0
votes
0answers
18 views

Raid0 Not Working

I cannot start my RAID0 after a Raspberry Pi reboot. Before the reboot it worked fine. $ mdadm --create /dev/md0 --level=0 --raid-devices=3 /dev/sda1 /dev/sde1 /dev/sdf1: mdadm: RUN_ARRAY failed: ...
0
votes
0answers
21 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 ...
0
votes
0answers
9 views

LINUX mdmadm arrays - what are counted as “Events”?

I'm really unable to understand what the "Events" counter displayed in mdadm "detail" view is about. It seems that it's related to events happening at the superblock level, that ...
0
votes
0answers
9 views

can't mount raid5 array after powercut

Had a powercut recently and that crashed my raid5 array. I followed the advice here https://raid.wiki.kernel.org/index.php/RAID_Recovery and tried to -force assemble (as the events were within 50 of ...
0
votes
0answers
21 views

mdadm RAID5 array with 3 drives - out of date - recoverable?

Had a powercut this morning for a couple of hours, on restart the RAID array was not automatically rebuilt. I've followed the information on https://raid.wiki.kernel.org/index.php/RAID_Recovery and ...
0
votes
0answers
34 views

MDADM raid6 huge mismatch_cnt

I have a problem with mismatch_cnt being huge (over 100000000 and more) on a raid6. /dev/md0: Version : 1.2 Creation Time : Sat Jul 27 22:30:18 2019 Raid Level : raid6 ...
1
vote
0answers
25 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 ...
1
vote
0answers
135 views

MD RAID 6 Periodic Kernel Panic — Possible Kernel Bug?

Update 1/14/21 below. Original post: I recently upgraded my NAS server from an old i7-2600K to a Ryzen 3700X. Both systems use software MD RAID 6 on 7 4TB HDDs, running Ubuntu 20.04. The MD RAID was ...
0
votes
0answers
97 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 ...
0
votes
0answers
38 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 ...
0
votes
1answer
57 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 ...
0
votes
0answers
33 views

Is my RAID Server Configuration working properly?

Can you check my RAID Configuration? I don't know whether it is works or not. Sorry, my knowledge of Linux is low. I don't know how to setup the RAID correctly. But what should I do to make the RAID ...
1
vote
0answers
30 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
0answers
21 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....
0
votes
0answers
65 views

Is it possible to collapse RAID 1+0 to RAID 10 (single layer) with mdadm?

I've created two RAID 1 arrays and combined them with a RAID 0, and I recently read that mdadm also supports a one-layer-solution for that, is it possible to convert my setup into the one-layer-setup ...
0
votes
0answers
13 views

moving md array disks to a different enclosure

At the moment I'm running a md raid5 array with 3 disks in an external HDD enclosure. I would like to move the drives to another enclosure. The new enclosure has the same specs but it's from a ...
0
votes
0answers
22 views

Fedora: Setting up MD RAID1 pre-boot partitions on Fedora

Fedora or Fedora/Windows dual-boot Thinkpad T590 with a 1TB SSD hard drive and 40GiB RAM. I want the Linux partitions (/boot, /, /tmp, /var, /usr/local, swap, and /home) to be MD RAID1 (degraded, ...
1
vote
0answers
28 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 ...
0
votes
0answers
23 views

Centos root xfs partition mdadm raid

I am running a ClearOS 7 (centos 7) gateway and wanted to mirror the 128Gb SSD it was installed on. I have 4 partitions in the usual efi/boot/swap/root configuration, all XFS and no LVM. I have ...
0
votes
1answer
118 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 ...
0
votes
0answers
22 views

Can you format and use a MDADM array while its building?

The MDADM array was created and is in the process of resyncing. Is it possible to format the drive and use it while it is doing this. Is the same true if I put LVM over it?
1
vote
1answer
51 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 ...
0
votes
2answers
104 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
58 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
82 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 ...
2
votes
0answers
29 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
1answer
406 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
95 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 ...
1
vote
0answers
267 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 ...
1
vote
1answer
209 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
37 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
45 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
491 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
1answer
60 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
122 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
922 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 ...
1
vote
3answers
432 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
342 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 ...
1
vote
0answers
18 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 ...
1
vote
0answers
60 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 ...
1
vote
1answer
316 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
125 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
1k 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
544 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
136 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
120 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
87 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 ...

1
2 3 4 5 6