Questions tagged [mdadm]
A linux utility used to manage software RAID devices.
863
questions
3
votes
2
answers
100
views
What is the risk of putting a RAID superblock at the end of a device?
I want to set up a RAID 1 array using mdadm to store backups (I'll be using rsnapshot to do the actual backups). I've read that using metadata 0.9 or 1.0 format with RAID 1 is advantageous because ...
0
votes
0
answers
26
views
Raid10 Shows 5 Active Drives!
I built two raid 10 arrays during an Ubuntu 22.04 Server install, and the system works fine, but one of the two RAID 10 arrays shows all five drives (1 that should be a spare) in "Working" ...
0
votes
0
answers
54
views
mdadm raid drive missing after restart; parititions no longer show in fdisk/gparted
I'm in the process of creating a RAID 1 array with two 2TB disks. I was following the instructions for mdadm on the kernel wiki and successfully started the RAID process.
sudo mdadm --create /dev/md/...
0
votes
1
answer
82
views
Do SSD still need supercapacitor today ? (NAS : Linux + MDADM + EXT4)
I'm planning to build a SSD based NAS, with Linux / mdadm / EXT4 (so, no ZFS or Btrfs).
What happens in case of a sudden power loss ? There are a lot of posts out there stating that we should buy SSDs ...
0
votes
0
answers
27
views
Proper usage of linux mdraid spare-group
I'm going to create two raid1 arrays, lets say:
2x1tb - /dev/md1: /dev/sdb, /dev/sdc
2x2tb - /dev/md2: /dev/sdd, /dev/sde
My idea is to use one additional 2tb hdd /dev/sdf as hot spare which will be ...
0
votes
1
answer
45
views
Recovery of failed RAID (RAID10)
I have a hosted server that was configured for RAID10. I didn't perform the original configuration, so I'm trying to handle the scenario delicately. Based on my inspection, they setup x3 RAID10 arrays ...
1
vote
0
answers
34
views
IMSM (Intel Matrix Storage Manager) device is not detected by Linux kernels 6.6.x/6.7.x but works in 5.19.17
In kernels 6.x.x /dev/md/imsm0 does not appear at boot.
The only difference I see in dmesg which seems to be relevant:
block device autoloading is deprecated and will be removed.
Printed in 5.x.x, ...
0
votes
0
answers
41
views
Unable to format external SSD drive which was member of a raid
I try to reuse this drive as a single storage but if I zero it's super blocks then it restarts the md127 component.
Tried everything like format from windows 7 with no avail...
1
vote
1
answer
219
views
Reassembling MDADM on Live Ubuntu
Background:
I have a 6x 4tb MDADM array on Box 1. Box 1 developed MB/CPU issues that cause a power-down halt about 15-25 minutes into operation, but during the uptime the array is accessible just fine....
4
votes
0
answers
145
views
Write speed to NVME disk degrade after some time of active work
I have a fairly general question, but maybe someone already had similar behavior.
I have few servers with 20 nvme micron 7450 pro 15 TB disks on each. On all servers I created raid 0 using mdadm ...
0
votes
0
answers
49
views
Mdadm only able to assemble some of the drives from hardware array
After using ddrescue to back up the disks of a failing hardware RAID5 array (from a perc h700 controller) to images, and following Nikita's answer to my previous question to create overlays, I ...
1
vote
1
answer
100
views
LSI MegaRaid configuring for MDADM RAID disk set
I have an 8 bay SATA/SAS LSI MegaRAID controller and have to mount a set of drives that were assembled RAID 6 by mdadm on a non RAID controlled other device (both supermicro).
Is it possible to ...
0
votes
1
answer
128
views
How to replace failed disk on Linux Raid (mdadm)
I get an input/output error when I list drives with: fdisk -l
Failed to read extended partition table (offset=3886721022): Input/output error
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 ...
0
votes
0
answers
153
views
RAID 6, SSD Cache, Journaling, mdadm, LVM, Filesystem Strategies for Data Resiliance
I'm replacing a NAS server thats been in loyal service for almost a decade now. It will be repurposed as my offsite backup, but now I'm setting up a new NAS from scratch for homelab and need some ...
0
votes
2
answers
56
views
Raid 6 mdadm and 20 disk
Is it possible to add more than 2 disks for parity in mdadm raid 6?
I need to build a storage of 20 disks. How to build a raid that would be reliable?
1
vote
0
answers
178
views
mdadm RAID5 inactive and drive missing
I have a raid5 set up with mdadm and had to replace one broken hard drive.
It worked for a while, but for some reason, became inactive after a couple of weeks.
I'm pretty sure that the missing drive /...
1
vote
0
answers
284
views
Trying to set up RAID 1 array on existing AlmaLinux OS disk running LVM, get 'partition exists' warning
I am following instructions from here for setting up a RAID1 on an existing Linux installation. The instructions are for a Debian/Ubuntu installation, but I can't find any specifically for AlmaLinux, ...
0
votes
0
answers
62
views
Mount raid1 drive failed, drive is busy or partition not found
I have the same issue as this question a few years ago mount: unknown filesystem type 'linux_raid_member'. I want to mount a drive coming from a raid 1 array.
I followed the steps but mdadm --...
1
vote
1
answer
75
views
RAID1 drive vanished, but could be re-added after reboot. Should I be worried?
I am running Debian 12 with an MD RAID1 array (2 drives) for my personal data (no system files on array).
Today I got a mail from mdadm about a DegradedArray event, during a time where my drives are ...
1
vote
1
answer
504
views
Really slow FIO random 128 MB read values for a RAID 10 XFS
I've just installed two Samsung 970 EVO Plus drives, and configured the biggest partition as RAID 10 (far 2 layout). The problem is FIO only reports a read speed of 72 MB/s. I used the following ...
0
votes
2
answers
915
views
MDADM Chunk values
I've a RAID 10 array made up of two SSDs using mdadm on linux,
I created it with
mdadm --create --verbose --level=10 --metadata=1.2 --chunk=512 --raid-devices=2 --layout=f2 /dev/md/MyRAID10Array /dev/...
0
votes
1
answer
40
views
mdadm raid1 showing removed disk
I have a dedicated server which consists of two hard drives with 5 partitions each.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 1M 0 part ...
0
votes
1
answer
234
views
How do I get my raid array back and mounted after reboot
I had created a raid-1 array for two drives (sde and sdf) using the normal mdadm process and had created it under md1 and mounted it to /mnt/storage. After a reboot md1 no longer exists. My /mnt/plex ...
1
vote
3
answers
236
views
mdadm --zero-superblock for all devices of a mdraid?
I found no way to remove a mdraid from a server with one command.
I can stop it via mdadm --stop /dev/md0
But the superblock is still in the devices.
mdadm --zero-superblock DEVICE needs every device (...
1
vote
0
answers
96
views
Ubuntu 22.04.3 LTS running mdadm 16 x 8TB Raid 6 - Is it possible to upgrade individual disks and use the space immediately without using LVM?
Some more background... I have 4 realtime arrays (always running for me to use) - the 2 big important arrays (40TB [20TB used] and 112TB [105TB used] are being backed up onto a 16 x 8TB Raid6 array (...
0
votes
0
answers
142
views
Mdadm Raid5 kicking non-fresh drive from array
I set up a mdadm raid5 with 3 drives initially: sdc1, sdd1, sde1. They array creation was successful without issues. Later I decided to extend the array using one more drive. After proper partitioning,...
0
votes
0
answers
55
views
mdadm copy superblock from drive to drive
i have an RAID5 consisting of 7 HDDS. One Drive is only partially accessable anymore.
Unfortunatly i used the create command which resetted the superblocks of the 6 healthy drives.
is there a way to ...
1
vote
1
answer
85
views
Replacing a single SSD in 4 disk mixed software RAID 1 & RAID10 system
I'm about to replace a single SSD in a 4 SSD RAID 1 & RAID10 system. My webhoster will only do the drive replacement, but not help with adding it back to the array after. I've not done this before,...
0
votes
0
answers
125
views
setup Raid1 on running system
I have 2 disk sda and sdb with several partition. I have to make a raid1 of the running system. I managed to setup raid1 with md0 on root but there are 2 more partition which are mounted on /home and /...
0
votes
1
answer
111
views
Reassign drive index number of mdadm software raid devices
My RAID 1 array has two disks as stated by # mdadm --detail /dev/md0
...
...
...
Number Major Minor RaidDevice State
5 8 32 0 active sync /dev/sdc
4 ...
0
votes
1
answer
331
views
Convert MDADM RAID disk to non-raid disk
I have an existing RAID1 disk that is my boot & root drive locally. I want to convert this disk to a non-RAID disk and allow boot & root to be mounted without mdadm. What is the best way to ...
1
vote
2
answers
329
views
Restore 4-Drive RAID5 array after accidentally reinitializing last 2-Drive as RAID0
I have an Asustor NAS with RAID 5 4-Drive running, after system update it reboot into the initialize page in web console, I think it's part of the upgrade process so I started the initialize progress, ...
0
votes
1
answer
111
views
Cancel `md --grow` operation
I added drives to an md RAID5 array, and quickly realized that I forgot to create a partition as is best practice (something I’ve also learned from bitter experience). How can I cancel this operation ...
2
votes
1
answer
310
views
RAID arrays failed, now will not restart; mdadm --examine shows drive healthy but --assemble fails missing two disks
This is a Mint 21.1 x64 Linux system, which has over the years had disks added to RAID arrays until we now have one array of 10 3TB and one array of 5 6TB. Four HDs dropped out of the arrays, two from ...
0
votes
0
answers
3k
views
/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error
I recently had issues with a raid filesystem I created and had some bad luck.
I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one ...
0
votes
1
answer
179
views
Temporary disconnect of HDD in RAID 0 array
I have a blade server on Rocky Linux 8 with 5 18TB WD Gold HDDs in a software RAID0 built with mdadm. I will accept all the lectures on this and change my ways if you all can help. I needed coffee ...
2
votes
0
answers
119
views
Transferring RAID1 to a new motherboard after HDD failure, and no "Superblock" found
First an OS SDD failure followed by a mobo failure, new mobo/cpu/ram later, and I have a RAID1 with a single working disk, and I am trying to get it remounted so that I can add in a new replacement ...
0
votes
0
answers
155
views
Raid6 mdadm reshape operation interrupted - now cannot mount or examine
Edit: Once the reshape finished the drive became fully accessible again.
I had a power failure while a raid6 array was being reshaped, and now certain operations cannot be run against it, including ...
1
vote
0
answers
114
views
Recreation of mdadm RAID backing store for drbd yields *The peer's disk size is too small!*
Some years ago, I've set up a storage cluster with stock Debian Linux using mdadm RAID as backing store by using the Debian provided drbd 0.8. Currently there are two RAID6 volumes, comprised of some ...
1
vote
1
answer
121
views
md Raid6 array disapeered on reboot
my raid6 array disappeared on reboot after I grew it. I believe the issue was growing 2x with the full disk not partition. It has been suggested a possible other reason the drives were not correctly ...
0
votes
1
answer
36
views
Removed failed disk from
I have a problem with a software raid running mirror. One disk is dead and the server cannot find it. Normally I would have removed it as well.
mdadm --manage /dev/md0 --remove /dev/sda1
But after it ...
1
vote
1
answer
1k
views
Growing a RAID-10 on Synology NAS?
I was hoping to add two additional disks to my Synology NAS. Currently it is configured as a four disk RAID-10, no SHR, BTRFS, single volume system. Unfortunately extending a RAID-10 is not possible ...
-1
votes
1
answer
206
views
mdadm array state not fully active - faulty device
I use 4 drives as a raid 5 on my Raspberry Pi. I shutdown my Pi every night and start the next morning. Sometimes the array appears to be faulty. Maybe the Pi doesn't properly mounts the drives ...
0
votes
0
answers
142
views
Can I make hotremove/add on raid5 with mdadm?
I created and assembled software RAID5 array (mdadm), 15 SSD disks.
If I physically remove several disks and add them back, RAID doesn't assembles back. Disks stays in "spare" mode. Even ...
0
votes
0
answers
2k
views
MDADM Nvme raid Slower than traditional HDD, need enlightenment
I have setup server about 20 days ago with new nvme, before setup raid mdadm the two Nvme samsung 980 pro 1TB i test bench have IO speed average 1.5G/s each nvme, but after creating raid 1, IO nvme ...
1
vote
0
answers
1k
views
mdadm RAID10 disks layout
I've been trying to understand how disks are distributed in a mdadm RAID10, but i'm not completly sure. AFAIK, a native RAID10 is similar to RAID0+RAID1, i.e. data splitted in two chunks, each one ...
0
votes
1
answer
473
views
LVM "not starting" after upgrading physical disks in underlying RAID6 mdadm array
Before:
separate SSD boot drive
RAID6 4 x 2TB -> /dev/md0
LVM PV /dev/md0
LVM VG built on the PV above
LVM 2 data partitions formed in the VG
mounted at /home and /mnt/data
I upgraded from ...
0
votes
1
answer
846
views
How to convert mdadm raid1 to single driver and keep the data?
I have a raid1 created by mdadm in the root partition on /dev/nvme1n1p2 and /dev/nvme0n1p2, efi boot partition is on /dev/nvme1n1p1. Then I followed some commands to remove one of the disks and ...
0
votes
0
answers
85
views
Added wrong drive to raid1 via mdadm, partition recovery
My raid is functioning fine, but I accidentally added a USB drive to what is a sata RAID1 with mdadm.
I noticed this pretty quickly and removed the drive from raid, it was synced about half a percent. ...
1
vote
1
answer
54
views
mdadm using double disk space
My mdadm raid1 2 disks array seems to work good.
It is a 2 500GB array, shared over samba as proxmox bkup disk serving 2 nodes.
By the way, even if the size of the sum of the files is actually about ...