Questions tagged [raid5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

At reboot start md a long very long resynchronization

I have a small server in raid 5 that every now and then even after a few months for some updates for example I restart it. The synchronization of the disks starts upon restart. Not being very ...
user avatar
1 vote
1 answer
108 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 ...
user avatar
  • 234
0 votes
0 answers
20 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. ...
user avatar
  • 131
0 votes
0 answers
23 views

md RAID5 array performance loss with drive swap

I have had, for a very long time, an md RAID5 array in a little server I keep at home for general storage. The current incarnation has two SSDs in RAID1 for boot/root purposes and 10 drives on two ...
user avatar
  • 111
1 vote
1 answer
118 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 ...
user avatar
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. ...
user avatar
  • 11
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] ...
user avatar
  • 2,948
0 votes
1 answer
47 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 ...
user avatar
  • 103
0 votes
0 answers
20 views

Ubuntu 20.04 raid 5 server configuration failed

I lost the raid 5 configuration after rebooting the raid 5 server. The error message says "virtual disk not found". I have no system to reconfigure it. The picture is attached below:
user avatar
1 vote
0 answers
49 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 ...
user avatar
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 ...
user avatar
0 votes
0 answers
23 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 ...
user avatar
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 ...
user avatar
1 vote
1 answer
471 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 ...
user avatar
  • 45
1 vote
0 answers
98 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 ...
user avatar
0 votes
0 answers
33 views

Using a Linux SW-Raid5, is ppl or bitmap better as a Consistency Policy?

I'm running a RAID5 on 5 HDDs, and wondered what the best (safest vs. fastest) option for a RAID5 Consistency Policy is to use: Partial Parity Log(PPL) or Bitmap?
user avatar
5 votes
0 answers
272 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 ...
user avatar
  • 51
0 votes
0 answers
279 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 ...
user avatar
  • 101
2 votes
2 answers
42 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 ...
user avatar
  • 165
0 votes
1 answer
166 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 ...
user avatar
  • 1
1 vote
1 answer
30 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 (...
user avatar
  • 905
3 votes
1 answer
134 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 ...
user avatar
  • 131
2 votes
1 answer
789 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 ...
user avatar
  • 21
2 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
245 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 ...
user avatar
0 votes
2 answers
10k 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 ...
user avatar
1 vote
1 answer
225 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
1 vote
1 answer
238 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 ...
user avatar
2 votes
0 answers
124 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....
user avatar
  • 21
3 votes
1 answer
92 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 ...
user avatar
0 votes
1 answer
337 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-...
user avatar
  • 3
0 votes
0 answers
155 views

mdadm RAID5 to RAID6 migration thrown exceptions, access to data lost

After a dozen of hours waiting for my array reshape to move on I think it's finally the right time to ask you for some advice. Recently I bought 4th WD Red 4TB drive to migrate my 3-disk RAID5 setup ...
user avatar
1 vote
1 answer
884 views

How to check mdadm RAID5 integrity after power failure/random reboot

So I'm currently building an mdadm RAID5 array attached to my home server. The hardware is an Odroid N2 SBC with a Mediasonic Probox 4 bay enclosure attached. The array is currently rebuilding and ...
user avatar
  • 13
1 vote
2 answers
96 views

Can I Increase raid 1 capacity by changing to raid 5?

My initial raid setup was 2x2TB RAID 1 using mdadm. I have bought a 3rd 2TB drive in the hopes to upgrade the RAID's total capacity to 4 TB using mdadm. I have already run the following two ...
user avatar
0 votes
1 answer
45 views

RAID 5 crash... trying to save what I can [closed]

I have a QNAP server with 8 disks. I have 2 backup/extra disks that are not in use. (I had the money an knew eventually the running ones would need replaced) The full array was across the 8 disks @6TB ...
user avatar
2 votes
0 answers
598 views

How to recover data from synology Raid 5?

My old synology server (cs407s), died. So I'm trying to retrieve the data from the disk. I have tree disks from RAID 5. I tried to mount the disk on computer running grml. # lsblk sda 8:0 0 ...
user avatar
  • 21
0 votes
1 answer
1k views

Recovering a Failed Software Raid5

I'm looking to recover data from 4 old HDDs set up in a software raid5 and it looks like a disk has failed. What I want to do is recover the raid so I can copy its data somewhere else. I have done ...
user avatar
5 votes
3 answers
2k views

Add linux md raid write journal to and existing array

I have a raid5 array with quite large disks, so reconstruction is really slow in case of a power outage. Thankfully, there is the --write-journal option for linux md raid. The man page lists the --...
user avatar
  • 495
0 votes
1 answer
682 views

Build RAID 5 with mdadm and 1 disk with data

I have 3 exactly the same drives (4tb ironwolf) where i would like to make a raid-5 with using MDADM for a small degree of data security. Now the problem is, 1 drive is filled with data which i am ...
user avatar
0 votes
2 answers
219 views

Why isn't the space of Raid 5 array equal to sum of disks?

I'm trying to create raid 5 from four disks: Disk /dev/sdc: 8001.6 GB, 8001563222016 bytes /dev/sdc1 2048 4294967294 2147482623+ fd Linux raid autodetect Disk /dev/sdb: 8001.6 GB, ...
user avatar
  • 181
1 vote
1 answer
1k views

mdadm, invalid RAID level?

I'm trying to create RAID 5 according to this tutorial. But, when I run mdadm -C /dev/md0 -l=5 -n=4 /dev/sd[b-e]1, I get this error: mdadm: invalid raid level: =5 Here's the output of mdadm -E /dev/...
user avatar
  • 181
0 votes
2 answers
630 views

Rebuilding mdadm RAID 5 array with multiple failed drives

I had a 5 drive Raid5 array and I've had two drives fail. I have fresh drives to swap out, but when I'm trying to start it it complains '/dev/md/0 assembled from 3 drives - not enough to start the ...
user avatar
0 votes
1 answer
568 views

Moving drives currently in software raid to LVM? [duplicate]

I have 3 drives currently set up in RAID 5 via mdadm. I just realized that I goofed and forgot to format them with LVM- is it possible to do this after RAID array creation without losing data?
user avatar
  • 3
1 vote
2 answers
837 views

MDADM - adding a disk to RAID5 with slightly less sectors

Basically I have raid 5 with three disks that are 2TB each. I bought 2 extra 2TB drives however they are few sectors smaller on a newer model - old drives are no longer sold. When I issue /dev/md0 ...
user avatar
1 vote
1 answer
252 views

rebuilding mdadm raid5

I've dusted of a machine of which I want to repair an mdadm raid5 that I messed up. First the raid5 was 3 disks. A spare was added, just before one of the three started to fail. Spare one got used and ...
user avatar
2 votes
1 answer
436 views

How do I work out what's trashing my RAID?

I have an x86_64 Ubuntu 17.10 install (stock 4.13 kernel) with an SSD and three 1TB WD HDDs which each have a 750GB partition that's used in a 1.45TB RAID5 array. The SSD has my / on it, and the RAID ...
user avatar
  • 31
0 votes
2 answers
1k views

Help recovering a raid5 array

A little bit of background first. I store a bunch of data on a Thecus N4200Pro NAS array. I had gotten a report that one of the 4 drives in the array was showing smart errors so I swapped out the ...
user avatar
1 vote
0 answers
546 views

Unable to mount raid 5 (Intel fakeRaid)

I recently corrupted my linux distro. I then reinstalled Ubuntu 16.04.3 and after setting it up, I have been unable to mount my Raid 5 setup after extensive troubleshooting. Note even after the ...
user avatar
3 votes
1 answer
1k views

mdadm RAID5 cannot be assembled

Yesterday I wanted to do some maintenance on my server. I shut it down pressing the powerbutton once which works just fine every time. After the server was still shutting down after 10 minutes I ...
user avatar
  • 363