Questions tagged [mdadm]
A linux utility used to manage software RAID devices.
513
questions
1
vote
1
answer
42
views
Fixing missing superblocks on both RAID1 disks using mdadm
My RAID1 array was working fine at /dev/md128 but seems to have completely disappeared after a reboot, with mdadm reporting both disks are missing superblocks. My question is how to fix this?
...
1
vote
0
answers
10
views
mdadm: after a re-install, two raid1 partitions were relabeled raid0 but the data are raid1
Maybe the simplest thing is to just mount one partition by itself read only and pull the little bit of data not fully backed up and rebuild from scratch.
Otherwise, since there has been no I/O ...
0
votes
1
answer
28
views
Disks not recognized after mdadm RAID 1
I built a RAID1 (mirror) with two identical disks of 2TB connected by SATA with mdadm tool (boot disk is an m.2 NMVe disk, the RAID is for storing data). The OS is BunsenLabs Lithium (based on Debian ...
1
vote
1
answer
45
views
md: kicking non-fresh sdg from array! md/raid:md0: and then not enough operational devices (3/7 failed)
today I run in a disaster...
I have a RAID 6 with 7 HDDs and yesterday one disk failed.
After replacing the disk and did a rebuild over night I found out that a 2nd HDD was out of the RAID...
So today ...
2
votes
1
answer
17
views
RAID5 stopped randomly stopped working and now 2 drives show as (out of date)
I have been running this raid for a few months with new SSDs and today the raid stops working. After a restart the raid won't assemble again. All drive are fine and show as healty in SMART.
I tried ...
1
vote
1
answer
92
views
MDADM RAID-1 arrays always do automatic check after booting from a several-day long shutdown
I have multiple PCs with Fedora 35 and RAID-1 MDADM arrays.
Among them, only one is facing a weird problem:
If I leave it shutdown for more than 2~3 days, it will definitely perform an automatic check ...
0
votes
1
answer
29
views
Raid 1 Hardware Failure - new hardware MDADM - How to recover
I had a NAS, and the hardware failed. I put it in a totally brand new machine and hardware - this is software raid on a standard sata port with MDADM. Moved both disks - Raid1. There are about a ...
1
vote
1
answer
48
views
Negative disk used space after shrinking RAID1 in Debian 11
I resized an ext4 software RAID1 consisting of two disks sda3 and sdb3 (in rescue mode, i.e. disks are not mounted):
e2fsck -f /dev/md126
resize2fs /dev/md126 39G
mdadm --grow /dev/md126 --size 40G
...
1
vote
1
answer
34
views
mdadm DegradedArray, is that sofware a problem or hardware defect?
On a dedicated server at the hoster i received the email message for all raid arrays md0/md1/md2 :
This is an automatically generated mail message from mdadm running on cn.com
> `This is an ...
1
vote
0
answers
25
views
mdadm rotate hot spare
It can be a good idea to have a hot spare in some RAID systems. It can be a bad idea for the hot spare to sit idle for months/years, potentially hiding a defect, until an active drive fails and ...
0
votes
0
answers
19
views
Is it possible to have nested striping (besides RAID10) in LVM?
I want to put one RAID on top of other RAIDs. This can easily be done with MDADM by using an existing MD device as one of the members for the new MD device. Similar functionality could probably be ...
1
vote
1
answer
117
views
BTRFS and mdadm raid6
I have been a mdadm raid6 user for years and I'm very satisfied with it, but I would like to have a filesystem with snapshots, because fake snapshots on ext4 is eating all my diskspace.
I read here ...
1
vote
0
answers
48
views
Recover data from RAID1 with one disk in rebuilding state
I am attempting to recover data on a MDADM RAID1 array with one HDD that suffered a mechanical failure and another that is stuck in a rebuilding state.
I have two 2TB HDDs that were installed on a ...
0
votes
0
answers
26
views
Why does mdadm not mark the parity RAID5 disk as active?
I originally had a RAID5 array with four 2TB disks (6TB usable space). Here it is while it was rebuilding after initial creation:
$ sudo mdadm --detail /dev/md/data
Raid Level : raid5
...
16
votes
3
answers
2k
views
How does RAID0 work underneath, when the devices have different sizes?
To my surprise the CentOS 7 installer allowed me to create a RAID0 device consisting of roughly a 17 GB disk and a 26 GB disk. I would've expected that even if it allows that, that the logical size ...
0
votes
0
answers
18
views
mdadm raid1 arrays different size on same size partitions
I just noticed something very odd. I have two systems with Ubuntu 18.04 Server. They are partitioned exactly the same down to the byte. I verified the partition sizes with blockdev --getsize64. ...
2
votes
0
answers
122
views
Mdadm Raid 5 not starting after reboot (IO Error & Dirty Degraded)
I added a new 3TB Drive to my working Raid5 Array yesterday and left it to rebuild overnight. Today I got the following error in journal:
Jan 16 07:49:42 iHugo kernel: INFO: task md0_resync:854 ...
0
votes
0
answers
15
views
Difference in mdadm raid10
I was setting up a CentOS Linux server with 8 disks and somehow ended up with two different raid10 devices. This is what I'm accustomed to seeing with the two sets making up each pair for the device......
1
vote
0
answers
39
views
How to increase size of software RAID0 Arrays?
My Raid0 array consists of two partition components.
[root@rhel-85 ~]# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Jan 9 17:25:26 2022
Raid Level : ...
1
vote
0
answers
50
views
mdadm - raid6 has 4 devices working, but doesn't start and can't add new drives
My software raid6 fails to mount. It looks like two drives failed at the same time, since /proc/mdstat only lists four:
Personalities : [raid6] [raid5] [raid4]
md0 : inactive sde1[8] sdc1[7] sdd1[9] ...
1
vote
1
answer
41
views
Moving RAID5 to RAID1 -- Out of Disk Slots [duplicate]
Years and years ago, I set up a 4 TB RAID5 array using 3x 2 TB disks. Those are positioned in sda/b/c. I have a very old tiny disk in sdd, and I'm booting from a 1 TB SSD in sde. Yea, it's a mess.
...
5
votes
1
answer
225
views
Can a RAID5 disk be moved to a different slot?
I have a healthy RAID5 array with 5 disks:
# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdb1[6] sdd1[0] sdh1[5] sdf1[2] ...
1
vote
1
answer
57
views
Mismatch in disk size between lsblk and df
I have recently upgraded two soft raid1 2TB disks with a set of two 4TB raid 1 disks.
(see Replacing soft RAID1 LUKS disks with larger ones)
The guide was amazing, however I find myself with two ...
0
votes
1
answer
337
views
How to identify a MDADM RAID disk that was auto 'Removed' from the array?
We have 2 disks in a RAID1 md array. MDADM detected a disk failure and "failed" the disk in mdadm, but then there was an unexpected reboot of the server. When I check /proc/mdstat or mdadm -...
1
vote
1
answer
78
views
grub2-install throws various errors instead of installing, how to proceed?
The system is CentOS 7. It was installed on two hard disks with MD RAID, one drives died. We decided to switch to two SSDs of just marginally larger size. When they were connected and system was ...
0
votes
0
answers
16
views
Does mdraid use new disk read/write while sync?
I'm moving my MDRAID1 array from HDD to SSD and added a new SSD disk to array. Does system use it for except for sync? Or new disk becomes useful only after resync completes?
2
votes
0
answers
189
views
in what cases is possible re-adding a disk previously removed with mdadm?
Let's say that I have the following ARRAY:
mdadm -Q --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Fri Oct 29 17:35:52 2021
Raid Level : raid1
Array Size : ...
0
votes
0
answers
173
views
"mdadm: No devices listed in conf file were found" after updating imsm RAID array configuration using Intel Rapid Storage BIOS menu
I have been running Debian 11 on an old Fujitsu Primergy server, with a two-disc RAID0 array created using the Intel Rapid Storage BIOS menu prior to the installation of Debian.
Recently I added two ...
1
vote
0
answers
24
views
Software RAID Issues with Missing Drive from Boot
I have a 3-drive software raid1 (on RHEL 7) that I am trying to test the limits on. This system boots in legacy/mbr mode and does not support uefi. One of the problems I have encountered is; from a ...
3
votes
1
answer
132
views
MDADM RAID 10 recovery
Pretty sure I have two nearly failed disks in soft RAID 1+0. The wrong two.
There was power loss during a scheduled sunday resync.
sdc has some SMART errors. Write Speed was maxed out during recovery ...
1
vote
0
answers
51
views
Rover a ReadyNas Array with mdadm
I ran a ReadyNas with 4 drives and raid5.
One drive failed, I replaced it and it started rebuilding.
The very moment the recovery was completed another drive failed and the NAS stopped working.
I ...
0
votes
0
answers
31
views
HDDs are scratching at IDLE state on mdadm RAID 5
I have a mdadm RAID 5 on 6 hard drives.
Every one second, I ear the same noisy pattern on hard drives, like when you read/write something on it, but without any operations...
The raid is clean and no ...
0
votes
0
answers
19
views
minimum livecd linux desktop with ready mdadm
Is there any minimum livecd iso which is has linux desktop with ready to use mdadm. does not need a ubuntu installer. just a livecd.
0
votes
1
answer
215
views
slow access/reads of linux md raid1 array
I have a Linux md-raid raid1 array (ext4 fs), with 2 3TB disks. The array has been showing significant slowness in access and read times over the last few months. Doing an ls on a directory w/ less ...
1
vote
1
answer
38
views
Trying to figure out which NVME has failed from ssh
I have used mdadm, lspci -vvv, and lshw -c disk -c storage and I can seem to find the physical addresses of all my NVMEs as well as the logical addresses on the system (minus the missing drive), but I ...
0
votes
0
answers
18
views
RAID 0 did not assemble on restart, and now I can't get them to assemble properly anymore
I have a RAID 0 array of 2 2TB drives on an Ubuntu Server 20.04 system. After having shut down the system to fix cable management, the drives did not automatically remount/assemble.
They're not ...
1
vote
0
answers
151
views
mdadm - How to re-mount the original array after the accidental deletion of superblock?
I had a Linux NAS that I have been using for a few years. Originally I created the MDADM-Array on a Debian OS, using the command-line interface.
And at the time the OS was installed on 16GB Sandisk-...
0
votes
0
answers
20
views
RAID Superblock 0.90 Structure Breakdown
I'm trying to figure out what is located in the following RAID superblock (version 0.90) bytes (created by mdadm):
155
156
3972
3980
3984
Does anyone know of a break down of the superblock version 0....
2
votes
2
answers
3k
views
MDADM - Adding a new hard disk to an existing RAID1
my dedicated server has a RAID1 array with 2x1TB HDD
It is filling up
i want add new hard disk (It has already been physically added)
I have no idea how to do it.
I'm afraid of losing data
I found ...
0
votes
0
answers
146
views
Bad luck with CloneZilla and MDADM, please suggest something else
Long story short, I have 2 physical servers which I use to run Proxmox. A week ago I saw there is a new stable version of Proxmox VE, so regarding best practices before major upgrade I should have a ...
0
votes
1
answer
209
views
How to install GRUB2 on shrunken RAID1 disks?
TL;DR:
Trying to install GRUB2 on block devices that are in RAID1. Stuck at installing bootloader.
Goal
to replace HDD-s with smaller SSD-s. Here are the steps that I've taken:
# Booted into rescue ...
1
vote
1
answer
302
views
CentOS 8 boots to emergency mode after Raid 1 -> 5 upgrade & power outage
Yesterday I upgraded my CentOS 8 server from a
Raid 1, 2 disk setup
to a
Raid 5, 4 disk setup using mdadm
However after the final stage of the upgrade:
mdadm --grow /dev/md/pv00 -n 4
and some time ...
0
votes
0
answers
262
views
How to debug frozen md raid?
We have an old backup server with lots of disks and one mount with md raid 5 setup has now frozen. How to diagnose the problem and get it to running again? I would like to avoid restarting the whole ...
0
votes
0
answers
16
views
i can't add the fourth drive in an md array rebuild ans can't find how/why i'm screwed. i would prefer to use the four members than rebuilding 3tb one
sooo, every attempt to mdadm --manage /dev/md0 -f --re-add /dev/loop12p3 ends with
mdadm: hot add failed for /dev/loop12p3: Read-only file system
but all the other loop members are read-only too and ...
1
vote
1
answer
266
views
Recover data from Synology JBOD/Linear RAID disks
I have a two disk synology where I had a JBOD setup (4TB and 3TB). One of the drives started becoming erratic and failed. So I pulled both of them out.
I had an automated daily backup task that would ...
0
votes
2
answers
379
views
How to recover Data after "mdadm zero-superblocks"
I wanted to swap from CentOS to Openmediavault. I had a RAID1 with mdadm in place and wanted to split it again into two separate disks. The Guide (Similar to ArchWiki) told me to do the following:
...
0
votes
0
answers
47
views
is the mdadm configuration ok?
I have installed a new raid 10 under /dev/md123 and I want to be sure that the raid array is ok after reboot.
my original mdadm.config was
# mdadm.conf written out by anaconda
MAILADDR root
AUTO +imsm ...
1
vote
0
answers
36
views
Disk drive suddenly restarts and gets removed from the RAID
We have a couple of servers with 6 HDDs in software RAID6.
Recently one of the servers has started to experience performance issues and I have noticed that one of the disk drives got removed from the ...
1
vote
1
answer
169
views
How to recover a crashed IMSM raid5 array
Description
I've got an IMSM RAID 5 array that contains 6 SSD drives. One of the drives failed a few months ago and I wasn't able to replace it yet. (Yes, I know I'm lazy sometimes. Please don't judge ...
1
vote
1
answer
494
views
mdadm not enough devices to start the array - recovery possible?
MD raid5 array appears to have stopped working suddenly. Symptoms are somewhat similar to this issue in that I'm getting errors talking about not enough devices to start the array, however in my case ...