Questions tagged [raid5]
The raid5 tag has no summary.
126 questions
5
votes
1
answer
221
views
conflicting reports using mdadm RAID Level 5
I'm using a RAID level 5 array on Kubuntu 25.10. It uses 5 HGST disks and has been active since 2015. This array have survived a hardware migration to a new motherboard as well as continual Linux ...
2
votes
1
answer
102
views
Reassemble Raid5 Array after disabling TPM
Edit: Both /dev/sdd and /dev/sde are missing super blocks. I assume this cannot be fixed. I am whipping the drives and starting over.
I just finished coping 8TB worth of data to a new raid5 array. I ...
1
vote
1
answer
88
views
Is software raid5 created by mdadm in debian compatable with openbsd softraid
I have created software raid5 using mdadm in Debian Linux. Now I want to switch to OpenBSD and interested if I will be able to mount my raid5 under new system?
1
vote
1
answer
105
views
Destroyed file system after adding disks to LVM on RAID5?
Just adding a bit of storage capacity on my Openmediavault storage server went wrong. What should I do to recover? Can you lead me?
This is what I did:
1 /dev/md2 raid5 set created, went well
2 /dev/...
0
votes
2
answers
73
views
Reassembling RAID 5 when 1 disk has been overwritten
I was having trouble with my Ubuntu system that was running a Raid 5 setup with 4x4Tb drives: /dev/sda[1234]. The OS was installed on /dev/sde.
So I decided it was time to do a clean install of the OS....
1
vote
0
answers
57
views
Failed Raid5 array with 5 drives - 2 drives removed
Synopsis
Healthy Raid-5 array had 1 drive removed, quickly reinserted and started rebuilding. Then a second drive was removed within 10 minutes. Original drive assignments (sda, sdb etc) have changed ...
2
votes
1
answer
64
views
"mdadm --grow" is stuck with faulty devices
I am not the first one with a stuck mdadm --grow but I think that mine is a bit different from the others. In my case all devices are faulty and the state says FAILED:
root@linux:~# mdadm --detail /...
0
votes
1
answer
162
views
mdadm RAID5 array became "active, FAILED" and now no longer mounts
Today my RAID5 array status from mdadm --detail /dev/md0 became active, FAILED (I have mobile notifications setup)
Most of the files were present but some were missing. This happened before and I ...
2
votes
2
answers
350
views
Does RAID always read/write an entire chunk?
Many resources on the internet contain conflicting information regarding read/write logic for RAID chunks.
This answer contains the following (seemingly conflicting) pieces of information:
A 512 KB ...
4
votes
1
answer
376
views
RAID5 - Mark a disk faulty during reshape
Context
I have a software RAID5 array (mdadm) on 3 disks. Last week, one disk started to get reading issue:
# dmesg
ata3.00: exception Emask 0x0 SAct 0x30000001 SErr 0x0 action 0x0
ata3.00: irq_stat ...
0
votes
3
answers
715
views
How to extend LVM RAID5
This is the first time I'm posting here; usually, I always find someone who has had the same problem as me. But I'm facing an issue with my RAID5 setup using LVM and could really use some help.
...
0
votes
1
answer
52
views
raid 5 mdadm replace with read errors
I have a software RAID 5 with 3 disks.
For a few days, sda has been giving errors, and today the new disk arrived.
I launched mdadm --replace and the process started correctly, but due to read errors ...
1
vote
1
answer
178
views
Trouble Mounting RAID
I have a RAID array that I cannot seem to mount after a power failure. The mount error says it cannot find the UUID even though it is to UUID reported by mdadm.
mdadm --examine --scan
ARRAY /dev/md/0 ...
0
votes
2
answers
2k
views
What is the difference between BTRFS RAID1 and BTRFS RAID5 on 3+ devices?
According to "Examining btrfs, Linux’s perpetually half-finished filesystem", BTRFS RAID1 is said to be "guaranteed redundancy—copies of all blocks will be saved on two separate devices&...
1
vote
0
answers
188
views
LVM on RAID 5: LV does not mount at boot, need fsck
I am using Debian 11.
I have a mdadm RAID 5 array of 5 disks (4 active, 1 spare) used as a PV for a VG in which 2 LVs have been created : one for home, one for backup.
The home LV mounts at every boot,...
0
votes
0
answers
45
views
Missing usable space on RAID5
I have 3 drives, 4TB each, in a RAID5 setup. Usable space is 7.24 TB, all good & checks out. I use 5.5Tb and it reports 600Gb left. Maths does not checkout. I get an external drive and I move 5....
2
votes
2
answers
7k
views
How do I make a spare device active in a degraded mdadm RAID5
A bit of history to start with. I had a 4 disk RAID5 and one disk failed. I removed it from the array and had it in a degraded state for a while:
mdadm --manage /dev/md127 --fail /dev/sde1 --remove /...
2
votes
0
answers
271
views
Failed RAID 5 reshape after a sudden reboot
I was running a RAID 5 reshape process (growth from 4 to 5 drives) and at night a cooling fan failed and the server suddenly rebooted itself due to CPU overheat and one drive is now possibly out of ...
0
votes
1
answer
161
views
Does adding 1 drive to an mdadm RAID5 with SSDs require writing all disks once?
I’m going to build a new storage with a few SSDs in RAID5 under Linux’ mdadm. I am considering buying 5 or 6 SSDs now.
If I add another SSD in the future does adding it to the RAID5 require a full ...
1
vote
0
answers
65
views
mdadm raid5 error during reshape
I first had a working 3 drive array (3 x 6TB drives) and added a 4th. It added as a spare so i ran the grow command. During this the machine rebooted and it did not recognize the 4th drive when it ...
2
votes
0
answers
375
views
mdadm RAID5 mismatch, which file(s) on ext4 filesystem are affected?
After a scrub of my 4-disk RAID5 mdadm array I got these log entries:
Dec 03 07:20:53 srv10 kernel: md1: mismatch sector in range 204340608-204340616
Dec 03 07:20:53 srv10 kernel: md1: mismatch sector ...
0
votes
3
answers
999
views
Cannot mount RAID 5 array on server, "Unable to read superblock"
I am an novice to servers and RAID arrays, but I am trying to restore a raid 5 array that has recently started to have problems with mounting onto our server. Full disclosure, I was not the one who ...
2
votes
1
answer
725
views
How do I recover a broken software RAID5 array (mdadm)?
I had a working RAID5 array until I installed kvm and qemu and rebooted. After that the system wouldnt boot as /dev/md0 could not be mounted.
Running cat /proc/mdstat gives:
Personalities : [linear] [...
2
votes
1
answer
3k
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 ...
0
votes
0
answers
56
views
One of two disk members of RAID-5 became invisible after an abrupt shutdown?
I have two disks (sda and sdc, I don't know the fate of the others if any) assembled as RAID-5. After several abrupt shutdowns, one of the raid members became invisible and I couldn't re-assemble it. ...
2
votes
3
answers
1k
views
LVM, LUKS2 & BTRFS Problem
I had the following setup:
3 HDDs 10Tb of size, in LVM Raid5 configuration
On top a LUKS2 encryption and inside a BTRFS filesystem.
Since my storage got low i added another 16TB HDD (was cheaper than ...
1
vote
1
answer
81
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
940
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
1k
views
What is a good way to know mdadm RAID 5 array used size
I run a mdadm RAID 5 array of 4 3TB disks on Ubuntu 18.04, with a total size of 9TB. It displays as a 9.0 TB RAID-5 Array in gnome disk utilities, and the usage is 799 GB free, which means I have over ...
1
vote
0
answers
213
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
186
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
84
views
RAID5 array is rebuilding after a fresh install of Ubuntu 20.04 Server
I installed Ubuntu 20.04 Server on a system with three Seagate 6TB drives. I have partitioned both sda and sdb in two partitions. The first partition on each disk is of 5G. I combined those two 5G ...
1
vote
1
answer
5k
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 ...
1
vote
0
answers
213
views
Problem with the mdadm Raid 5 array on Linux
I have a big problem here:
Until a week ago everything worked perfectly with my mdadm array. I then let it shut down for a week and only now started it up again. Shortly afterwards, I noticed a first ...
5
votes
0
answers
665
views
How to fix a bad checksum error on mdadm raid5 array (Ubuntu)
I have a 4 x 4 TB drive configured in a raid5 array.
Drives labeled as /dev/sdb1, /dev/sdc1, /dev/sdd1 & /dev/sde1 assembled as /dev/md0
mdadm assemble output
When I tried to assemble the array I ...
0
votes
0
answers
390
views
Single RAID5 disk recovery Ubuntu 20.04
I have a Ubuntu 20.04 server, happily running 2 RAID1 arrays.
I have a load of old disks that I want to check before deciding whether to backup before destroying.
I am connecting the disk to the ...
2
votes
2
answers
356
views
Is it possible to keep data in procedure Raid1 growing to Raid5?
I have Raid 1
/dev/sda /dev/sdb
as md0
then now I want to expand for Raid5
So, my idea is
sudo mdadm --add /dev/md0 /dev/sdd
sudo mdadm --grow /dev/md0 --level=raid5 --raid-devices=3
In these ...
0
votes
1
answer
865
views
Raid5 mdadm array change size
I have created a raid5 array with 4 disks. Initially i had 3x 3tb and 1x 4tb (because 3tb was unavailable at the time). After some years i have replaced most of these disks and have come to the point ...
1
vote
1
answer
89
views
Quickly assemble raid5 for perf test
I'd like to run a series of fio-based performance tests on a few drives in various RAID and non-RAID configurations. When assembling drives in RAID5, the rebuild process takes an incredibly long time (...
3
votes
1
answer
580
views
Restore Hardware RAID5 using 'mdadm'
I have a Hydra LCM RAID device with 4 Bays (4x 2TB Hitachi). I was running it in RAID5 mode since 2010. Last year in May the device was starting giving messages that one drive was degraded and I ...
2
votes
1
answer
3k
views
Repairing Bad Blocks on Linux RAID5 Array - Used Drives
TL;DR: Are the second-hand drive that I've purchased, safe to use for a copy of my backup NAS?
I bought four Western Digital 3TB Red HDDs second-hand and have put them into a spare microserver that I ...
3
votes
2
answers
3k
views
mdcheck_start Service Fails to Start
I've got a brand new Ubuntu 20.04 machine built out which is using a mdadm RAID5 configuration (3x 10TB). The system is throwing an error every time I log in. I can see from systemctl that the ...
0
votes
0
answers
377
views
Is it possible to shrink raid5 software array in a safe way?
Is it possible to shrink ext4 filesystem and the underlying raid5 array in a safe way?
I would like to shrink my 15 TB / 6 drive raid array that contains an ext4 filesystem.
Before I do that on live ...
0
votes
2
answers
20k
views
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/md0
I have a raid5 which is inaccessible after unexpeted power outage.
Details:
# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active ...
3
votes
1
answer
1k
views
How to track the start and end time of a raid5 rebuild?
This is my first post on the forum, so bear with me.
I am new to the linux environment and also new to raid configurations.
I am doing a work project where for part of this project I am measuring ...
0
votes
0
answers
196
views
Unable to resize filesystem on a raid 5 array "Unable to satisfy all constraints on the partition"
Until recently, I was using my raid 5 array with 4 disks but I added two more disks to the array and used the --grow option to actually grow my array. Now I have an array with a 2.7 TiB filesystem and ...
1
vote
1
answer
539
views
Grow LVM RAID5 by identical disk, not enough extents
I have an existing LVM RAID5 array on a CentOS 8 box made up of 3x4TB drives. That array is beginning to run low on space, so I have an identical 4TB drive I'd like to add into the array to increase ...
2
votes
0
answers
356
views
Mdadm Raid6 Re(assemble|build|create) from 6x disk images of original array
I have 6 1TB drives from several years ago. There was a problem with
the Seagate drives's microcode, so I updated it. Unfortunately, this reset the UUID of two drives and the RAID6 array was broken....
3
votes
1
answer
259
views
Migrate Single Disk to RAID [duplicate]
I have a home server running Centos 7 that I'm using to host various different servers - a webserver, two Minecraft servers, and a PLEX server. Currently I have a 4TB HDD which serves as the primary ...
0
votes
1
answer
815
views
Can't create filesystem on a freshly made raid5 using mdadm
I connected a 4-bay enclosure with 4 new 8TB disks to my rPi.
This disks appeared in lsblk as sda to sdd.
Following this tutorial I created the array doing
mdadm -C /dev/md0 --level=raid5 --raid-...