Questions tagged [raid]
RAID - Redundant Array of Independent Disks. A Storage technology to provide redundancy and performance, to reduce I/O bottlenecks involved in using multiple disks for large storage.
842 questions
0
votes
1
answer
39
views
Can I combine raid1 and dup BTRFS profiles?
In essence I want to have two mirror devices but also two copies of the data on each device.
Will something like this work and behave as I expect?
btrfs balance start convert=raid1,dup,soft /mnt/sdxn/
5
votes
2
answers
498
views
Is it possible to replace the disks in LVM raid with larger disks?
Currently I have a file server running Centos 9 Stream. The operating system is on its own disk and own logical volume group and logical volumes. The are a further 3 disk attached to the motherboard ...
1
vote
1
answer
145
views
mdadm --monitor --program option not working
I am trying to make mdadm call into a simple bash script which writes a message in the kernel log in case of a state change.
I am running on a VM (qemu). The VM is running debian 12.5, and kernel ...
-4
votes
1
answer
512
views
How to protect against both bit rot and device failure with Btrfs
How can you protect simultaneously against bit rot and device failure with Btrfs? Because btrfs only checks data integrity on files when it reads them.
The only solution I can think of is using two ...
0
votes
0
answers
63
views
mdadm: Cannot get array info for /dev/md127
i have one problem.
I created RAID1 with two discs, then i simulated failure of one of the discs. It was sdb1.
I restared the VM with one disc working in RAID array.
Then i added new fresh disc to add ...
5
votes
1
answer
232
views
Replace Disk Raid 1 And Reconfigure to use full size - mdadm almalinux
I am facing an issue with my RAID 1 (mdadm softraid) on an AlmaLinux/CloudLinux OS server, which is a production server with live data. Here's the chronology of events:
Initially, I created a RAID 1 ...
1
vote
1
answer
77
views
How to merge two directories with failover?
Lets say I have two devices:
/dev/sda1 mounted to / (system partition)
/dev/sdb1 mounted to /media/data (data partition, usb device may be unplugged)
I want to merge/overlay/raid two directories ...
0
votes
0
answers
68
views
Stuck while Rebuilding Intel VROC Raid 0+1
About a month ago, one of the 4 drives in my array went clicky. I was able to identify the 2nd drive (sdb of sd[a-d]) was the bad drive and thought I failed/removed it.
After getting a replacement ...
0
votes
1
answer
74
views
Troubleshooting RAID1 unbootable disks after CMOS reset
I've been running a RAID1 setup using two Samsung 970 EVO 500GB NVMEs on an Asus Z390 Maximus XI Formula motherboard for the last two years. This is my home server running Ubuntu 22.04 and I chose ...
1
vote
2
answers
155
views
Is this possible to create raid1 from 8TB and 4TB+4TB disks, eg. stripe 4+4 + mirror 8?
I have one 8TB and two 4TB disks. I am curious if I am able to create 8TB raid from 8+4+4 disks?
I tried this sudo mkfs.btrfs -f -m raid1 -d raid1 /dev/sdc1 /dev/sdd1 /dev/cdb1 but this creates only ...
0
votes
0
answers
85
views
Recovering a RAID6
We experienced a power outage last Thursday morning. Luckily the OMV server is on battery backup, so I was able to shut the server down. Once power was restored, I restarted the server and the RAID ...
0
votes
0
answers
112
views
Recovering encrypted LVM on top fo RAIDs but LUKS header offset by 2MB
I am trying to recover my data from a 8 year old configuration. 8 years is the last time I tried to mount this configuration but the computer died. The configuration is thus:
LUKS encryption on top ...
1
vote
1
answer
73
views
Remove a disk from a Raid1 array and use it as cold backup?
My RAID1 array is currently running with 3 disks (2x6TB and 1x3TB). I want to remove the smaller disk and wonder if it makes sense to put it in the safe as cold backup. The idea is to be able to mount ...
1
vote
1
answer
431
views
procedure for mdadm in-place RAID5 to RAID6 upgrade
I have a debian host configured as a NAS using 6 disks in a RAID 5 setup. The current configuration is as follows:
# mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Fri Mar ...
2
votes
0
answers
390
views
Mdadm array is inactive, how to fix?
I have a RAID5 array configured with MDADM in Ubuntu 24.04 LTS. The array consists of five 8TB drives, and there have been no changes to it recently.
Today I noticed that the array is not accessible.
...
0
votes
0
answers
54
views
mdadm raid 10 added to fstab shows as removable drive in dolphin. How to fix?
I'm still relatively inexperienced in Linux and this is my first post here. I configured mdadm raid 10 far acording to archlinux RAID wiki page but with custom chunk size 64K. It contains 2 older ...
0
votes
1
answer
292
views
btrfs data integrity checksum under mdadm raid
I found several places suggesting to use btrfs under mdraid (mdadm) or LVM Raid. But nobody expands on how that works when you have data checksum issues!
My main concern of not using btrfs native raid,...
1
vote
0
answers
32
views
User space program for assembling Linux MD RAID disk images into a coalesced disk image, without using kernel implementation
I've been handed a set of disk images which apparently are Linux MD RAID, asking if I could "reassemble" them. Using a Linux kernel it's as easy as attaching them into partition scanned ...
0
votes
1
answer
153
views
Will my system be any faster or slower with this LVM mirroring scheme?
I usually boot my system from a single 250G M.2 NVMe SSD (PCIe 3.0 x4). I also have a 240G SATA SSD and a 640G SATA 7200rpm HDD that I currently use for ad hoc backup. The latter will be replaced with ...
1
vote
1
answer
470
views
mdadm RAID1: Unable to replace(--add) failed drive
I have a RAID1 array of two hard disks which recently lost one drive, but I can't seem to simply replace the broken one.
mdadm --detail has reported that the first drive slot sda has been removed (...
1
vote
1
answer
152
views
Failed to umount directory from my RAID1 device (device busy)
I have a system that has 1x SSD and 2x 4TB HDD working under software RAID1. (I'm currently upgrading from Linux Mint 20 to 22, another topic regarding that issue)
On my RAID1 I have LUKS encrypted ...
0
votes
0
answers
86
views
How to Remove encrypted(LUKS) soft RAID forcely in Linux?
I built a soft RAID0 with two SSDs(Samsung-980Pro), and encrypted it with LUKS, since I had only one PC a few years ago.
Now I bought a server, and directly disassemble one SSD from the old PC(without ...
2
votes
0
answers
169
views
Rebuilding RAID1 with Luks after system reinstall
My current Linux Mint 20.3 is soon running out of support, so I figured it's time to install a fresh Linux Mint 22. Currently I have mdadm running two 4TB drives on RAID1 with LUKS. It's been very ...
1
vote
0
answers
97
views
All 3 parity drives in my ZFS RAIDZ3 array have failed suddenly in cascade. Would an rsync to my backup array or a rebuild be safer as the next step?
I have an array of 8 drives in a ZFS RAIDZ3. While doing a routine scrub this week I had a sudden and unexpected cascade of 3 drives fail over the course of the operation. This was nearly catastrophic,...
1
vote
1
answer
80
views
Accidentally Partially Removed RAID 1 Mount Point. Is My RAID Okay?
I accidentally ran sudo rm -r on my RAID 1 mount point. I immediately realized my error, panicked, and hit CTRL+C to cancel. Some damage was already done. The lost+found directory and some of my data ...
1
vote
1
answer
401
views
Mount disk with an unknown filesystem
I am attempting to mount a disk via a USB docking station.
I have been informed that the disk was apart of a RAID1 system, however I see no sign of this so far.
Using fdisk -l I can see the disk:
$ ...
1
vote
0
answers
185
views
How can I remove raid from my system? [duplicate]
I want to remove raid from my system as I am low on storage and I want to recover the second disk.
How can I recover the second disk, I tried but to no avail, here is my current state :
root@miirabox ~...
2
votes
0
answers
144
views
Data Recovery from RAID 1 - Impossible to mount disk
I have an Nvidia DGXA100 station that I use for my research. It has started to shut down brutally (just a couple minutes after startup), probably a watercooling pump breaking down (that would be the ...
0
votes
0
answers
199
views
Busy Disks and Mystery Removed Devices
I was a fool and built this mdadm raid5 targeting the device names. Yes, the ones that get randomly assigned at boot. It lasted a few months but is now in a quite odd state, with mdadm --detail ...
8
votes
1
answer
730
views
"mdadm --grow" is stuck. How can I safely cancel the operation?
I had raid5 8TB * 4
then ,now I added one more 8TB drive and try to make raid5 grow
$mdadm --grow /dev/md128 --raid-disks=5
It comes to 6.1% but it stuck for a few days, and number 482870548 doesn't ...
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 ...
5
votes
2
answers
679
views
join files/devices in linear mode together in a linux system
In order to test joining 3 files linearly on my Linux system, I do:
fallocate -l 100M file1.image
fallocate -l 150M file2.image
fallocate -l 50M file3.image
and then I run losetup:
losetup /dev/...
1
vote
1
answer
39
views
How do you look into sdb1 and sdc1 to make sure data is mirrored in RAID1 using mdadm?
I've spent hours fighting mdadm to the point I had to reinstall linux and do more fighting, mostly because of write-protected issues on the drives somehow (I still don't explain it), and also ...
1
vote
2
answers
232
views
mdadm RAID1 array only shows 1 drive in /proc/mdstat but --examine shows both drives as "Active" — is the array actually fine? Or has a drive failed?
I received a warning during bootup that a hard drive has failed.
My first thought was it's probably one of the two older HDDs I have configured as a software RAID1 array.
So as soon as the boot ...
0
votes
0
answers
53
views
Server restarts when I run the mdadm --create command
I am not an educated computer guy, so please be gentle with me :)
I have a server I use to run plex with sonarr and radarr. I am trying to create a raid array on it. I have 10x 12TB drives and I want ...
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
616
views
Raid 0+1 Failure Cases VS. Raid 1+0
I have heard that RAID 1+0 is more fault-reliant than RAID 0+1, because a secondary drive failure is more likely to cause data loss in RAID 0+1 than RAID 1+0.
In the above image, if "Disk 1"...
-1
votes
1
answer
428
views
lvm details of dm-integrity
I've added integrity checksum to my root LVM volume using lvconvert command:
~# lvconvert --raidintegrity y --raidintegritymode bitmap ...
Is there a CLI syntax to get info/details related to dm-...
1
vote
0
answers
125
views
Unable to add drive to raid
I have a 3 RAID arrays on my Linux server.
root@master:~# lsblk -b
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 21474836480 0 loop
loop1 7:1 ...
2
votes
0
answers
170
views
Unable to remount 5TB Hard Drive from JBOD
Unable to remount 5TB Hard Drive
Problem Description
I am using a Debian 12 Server with a RAID controller. The harddrives are all set up with their own Virtual drive in RAID0 JBOD. (so 8 Drives, each ...
2
votes
0
answers
185
views
Deciding between raidz1, raidz2 and mdraid6 for JBOD Array
Have a new Linux server with a dual SAS attached 60 bay JBOD filled with 20TB (18.2 TiB) disks. I am definitely running ZFS but trying to figure out whether to use small raidz1's, bigger raidz2, or ...
1
vote
0
answers
71
views
What is the problem with this hard drive? (drive errors)
I'm having trouble with a hard drive that is (supposed to be) a part of a RAID5.
Here's is the smart log:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-107-generic] (local build)
Copyright (C) ...
0
votes
2
answers
1k
views
How can I find UUID for RAID array after reconnecting disks?
I set up a RAID-5 array with my disks plugged into a hub. Then I removed the hub from the setup and plugged my disks directly into the computer.
Having done so, I still see my raid device md0 appear ...
2
votes
0
answers
152
views
3ware LSI RAID Controller not recognized by tw_cli utility
I am attempting to resolve an issue regarding the raid controller on my server. What I am trying to resolve is the following error message when I use the tw_cli utility.
tw_cli > show
No ...
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 ...
3
votes
1
answer
713
views
I want to shrink my OS's partition on my mdadm RAID-0 array, so that I can install another linux based OS on a new partition of the array
I setup my Raid-0 mdadm raid array a few years ago when I setup my arch install following this guide https://wiki.archlinux.org/title/RAID#Installation while also googling and asking questions ...
2
votes
1
answer
253
views
Accidentally used fdisk on mdadm RAID1 array, can I recover my data?
I installed a new disk today and was prepping it, before realizing that I'd done my "prep" work on an existing RAID1 array!! I'd LOVE to be able to recovered if possible.
My array was ...
1
vote
0
answers
88
views
Why does my USB HDD detect as /dev/sdr?
I have a Synology RT2600ac router with an OWC Mercury Elite Pro (USB, eSATA, FW800) external HDD. The drive is detected as /dev/sdr where any ol' USB flash drive is detected as /dev/sda or sdb. Why ...
0
votes
0
answers
62
views
Why are raid modules always loaded?
This is driving me seriously crazy:
$ doas lsmod | fgrep raid | fgrep ' 0'
raid10 73728 0
raid456 192512 0
raid1 57344 0
raid0 24576 ...
2
votes
0
answers
64
views
Can't mount extended logical partitions in RAID 0 Fake Array created by dmaid and device mapper
First of all, I would like to let you know I come here cause I'm looking for a solution or a way to be able to mount the HOME partition and to read the inside data.
I've been running Funtoo GNU/Linux ...