Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 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 ...
Radu Ursache's user avatar
5 votes
2 answers
512 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/...
user447274's user avatar
1 vote
1 answer
26 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 ...
Mister Mystère's user avatar
1 vote
2 answers
20 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 ...
1337ingDisorder's user avatar
0 votes
0 answers
25 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 ...
armybill's user avatar
1 vote
1 answer
89 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 ...
quixotrykd's user avatar
0 votes
0 answers
38 views

MD Raid / LVM / BTRFS advice for homemade NAS

Context: I'm looking to build a homemade NAS to get more flexibility (especially on the capability to add more drive) than commercial solution. My system will start with 3 SATA SSD drive or NVME (sda, ...
radius's user avatar
  • 367
4 votes
1 answer
471 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"...
quixotrykd's user avatar
0 votes
0 answers
88 views

How can I resolve this error: "mdadm: Cannot open /dev/sd*: Device or resource busy" when adding a replacement drive to RAID5?

I have a RAID5 with 4 drives, looks like this: [root@g1016637 ~]# mdadm -D /dev/md127 /dev/md127: Version : 1.2 Creation Time : Wed Mar 8 16:35:25 2023 Raid Level : raid5 ...
Rail24's user avatar
  • 141
-1 votes
1 answer
59 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-...
frank67's user avatar
1 vote
0 answers
40 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 ...
Daniele Testa's user avatar
2 votes
0 answers
113 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 ...
morm's user avatar
  • 21
1 vote
0 answers
45 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 ...
raines's user avatar
  • 314
1 vote
0 answers
34 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) ...
Kasi Mir's user avatar
0 votes
2 answers
50 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 ...
Jellicle's user avatar
  • 410
1 vote
0 answers
24 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 ...
Fuji's user avatar
  • 11
0 votes
1 answer
17 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 ...
Gabriel Rolland's user avatar
3 votes
1 answer
124 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 ...
Gabe Spound's user avatar
2 votes
1 answer
143 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 ...
Vince's user avatar
  • 41
1 vote
0 answers
52 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 ...
MJA's user avatar
  • 111
0 votes
0 answers
33 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 ...
q.undertow's user avatar
0 votes
0 answers
19 views

changing brtfs disk issues

I just started to have bad magic issue... currently (and sadly) I have a raid 1 btrfs on: btrfs fi show /dev/nvme2n1p4 Label: none uuid: beecd604-caa8-45a5-b3cb-f23389e8df97 Total devices 2 FS ...
Emmanuel PIERRE's user avatar
2 votes
0 answers
30 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 ...
peris's user avatar
  • 121
1 vote
0 answers
64 views

Arch Linux RAID working, but won't mount on bootup. Bootup broken now

I have a headless server running Arch and sharing a software RAID. After what looked to be a successful system upgrade, bootup now fails due to a timeout when trying to load the RAID. I get the ...
JT_24's user avatar
  • 11
3 votes
2 answers
284 views

Setup RAID-1 in Kickstart file with 1 Disk

Is it possible to setup RAID-1 on a system with only 1 disk and later add the second one? I read the instructions from Red Hat and there is an option to add --spare= I tried this with the code below ...
giorgionasis's user avatar
0 votes
0 answers
55 views

Conflict new disk with existed RAID

I have a RAID 5 conf. file where 3 HDD create a RAID 5 array ARRAY /dev/md127 level=raid5 num-devices=3 metadata=1.2 spares=1 name=ws5:127 UUID=db7a57f0:a8c9967b:06d09672:65559a58 devices=/dev/sdd,/...
Emma Athan's user avatar
0 votes
0 answers
89 views

Is it possible to recreate a RAID 1 array without destroying partitions?

I previously created a RAID 1 array using mdadm. One of the drives is failing and I have removed it. I would like to continue using the remaining disk while waiting for a replacement disk. I don't ...
mdhuke's user avatar
  • 1
0 votes
0 answers
28 views

Need help rebuilding synology system outside of synology in ubuntu

I've got a synology 12 bay system (8 6TB drives and a 9th hotswap) that died and it didn't feel like it was worth it to rebuy synology, so I built out a big tower with all the drives, but one of the ...
mchammer1974's user avatar
1 vote
1 answer
71 views

Single drive added to mdadm RAID disappears after reboot

I have looked and looked for other people with my same problem, but all the questions here seem to be about entire RAIDs disappearing after reboots, whereas I have a problem with just one member drive....
schtocker's user avatar
0 votes
0 answers
78 views

Grow/resize RAID when upgrading size of disks

I have a server with 8 disks setup with Linux RAID where the boot partitions are RAID1 and the root and partition where I keep VM images are RAID10. I need to replace with larger disk and grow the ...
rwfitzy's user avatar
  • 101
1 vote
1 answer
89 views

LVM Thin Pool on RAID10 + Metadata on RAID1

Given 2 SSDs and 4 HDDs with their corresponding PVs (/dev/ssd1, /dev/ssd2, /dev/hdd1 to /dev/hdd4). I know, identifiers are not correct, they are just for easier keeping track of what device I'm ...
Tux-Of-War's user avatar
0 votes
3 answers
428 views

Disks mount points inconsistent after each reboot. Using UUID in fstab

I am having an issue where I can mount my disks manually using the mount command. I than add the disks to fstab. Once I restart: sda1 points at the correct mount point (/mnt/da), but the rest do not. ...
lessharm's user avatar
0 votes
0 answers
32 views

Apache symlink to directory on Raid Drive [not working]

I have a Debian install. It's not my first (but third server, without counting multiple raspberry hanging round) Let say my user is named "user1" Novelty for me, I have a a first disk ...
mapStack's user avatar
0 votes
0 answers
17 views

Smartd reports error on device in hardware raid but smartctl cannot see it [duplicate]

First time I'm using hardware RAID (I only knew soft raid). I'm running Debian 9.13. Smartd daemon reports the following error : Device: /dev/bus/0 [megaraid_disk_04] [SAT], 5 Offline uncorrectable ...
Chebarbudo's user avatar
0 votes
2 answers
112 views

simplest non-raid way of pooling nvme ssd drives on a single node - glusterfs?

We are putting together a RHEL OS video editing server which is fully nvme-ssd based. It needs to be high thoughput and very low latency. RAID controllers kill the speeds. Commercial software RAID (...
swami's user avatar
  • 205
0 votes
1 answer
157 views

How can I recover from a failed drive in a BTRFS RAID1 array: devid uuid .... missing

I have a BTRFS disk from a two-disk raid1 array. When I try to mount the drive, I get sd 0:0:0:0: [sda] Attached SCSI disk BTRFS info (device sda2): using crc32c (crc32c-intel) checksum algorithm ...
Evan Carroll's user avatar
  • 31.8k
1 vote
1 answer
1k views

How can I encrypt a ZFS pool?

Preface: I used to run TrueNAS (SCALE) which is where I originally created the tank pool. On Ubuntu Server, I'm trying to assign/change the key of a newly created pool but I am getting the error Key ...
telometto's user avatar
  • 2,055
2 votes
2 answers
375 views

Is possible to rename /dev/md126 to /dev/md0 and at the same time maintain the alias on /dev/md?

This is my /etc/mdadm/mdadm.conf ARRAY /dev/md/root metadata=1.2 name=root UUID=331728d9:c4d12r4f:f589d3ze:01ab3c17 ARRAY /dev/md/backup metadata=1.2 name=backup UUID=429845f1:d5e24f5g:8135dgte:...
elbarna's user avatar
  • 12.8k
1 vote
1 answer
71 views

Debian, how to change md name using initramfs script and not livecd?

Is possible to change an md name while the md is still active? AFAIK is not possible mdadm -A --update=name --name=ibmlinux-root /dev/md126 ls /dev/md/126_0 /dev/md/126_0 ls /dev/md/ibmlinux-root ...
elbarna's user avatar
  • 12.8k
0 votes
0 answers
82 views

Updating NAS distro from Debian 9 to 12 while preserving software raid

I need to upgrade my pc used as nas from debian 9 to 12, but I would like to do a fresh installation rather than an upgrade. My machine have: 1 ssd for boot (sda) 2 hd raid 1 (sdb + sdc) 2 hd raid 1 (...
user3450548's user avatar
  • 2,994
0 votes
0 answers
48 views

Raid0+1 - Unexpected results with dmraid

I have 4x 1.8 TB HDD ( 2 TB ) in an existing Raid0 array. /dev/md127 /dev/md127: Version : 1.2 Creation Time : Fri Mar 31 21:34:58 2017 Raid Level : raid0 Array Size : ...
Bob R's user avatar
  • 303
0 votes
0 answers
61 views

Recover data from old working RAID 1 disk

I am running a system with Debian 12. /root/ is on a RAID1 array with mdadm with 2 mirrored SSD (let's call them disks A and B). All disks are perfectly functioning. I wanted to replace the two A and ...
giovi321's user avatar
  • 907
1 vote
1 answer
163 views

resize disk partition which is used by RAID

I need to shrink the sdb4 partition, which currently occupies the entire 7TB of my sdb drive, in order to create an sdb5 partition for my application. The challenge lies in the fact that there is a ...
luddite478's user avatar
3 votes
1 answer
410 views

How to format NVMe drive in Linux suitable for raid 1 and lvm on xen Host

I want to create a software raid on two identical SSDs How do I create partitions and format them optimal? lsblk nvme0n1 259:0 0 953.9G 0 disk nvme1n1 259:1 0 953.9G 0 ...
rubo77's user avatar
  • 29.4k
0 votes
0 answers
9 views

Is possible that Software RAID 6 kick the / partition without automatically re-arrange array?

I have a Raid 6 configuration with 14 HD (16Tb each one) They are configured in this way: /dev/md0 /swap /dev/md1 /boot /dev/md2 / /dev/md3 /home and drives are: sda,sdb,sdc...sdn Each unity is ...
Marcello Kad's user avatar
0 votes
1 answer
132 views

Best way to swap out two drives in Linux software RAID6 array

I've been running an 8x2TB RAID 6 mdadm array on Debian for several years. Last array check found no errors, but SMART data for a couple of the drives is indicating some bad sectors. I'd like to swap ...
Swechsler's user avatar
  • 147
1 vote
1 answer
101 views

create physical volume from multipath raid system

I currently want to mount an existing raid system. The rack is connected via multipath. With the command multipath -ll all racks are correctly shown and the mapper are present under /dev. My first ...
Yann's user avatar
  • 81
0 votes
0 answers
31 views

Did my array go away or is the partion not mounting correctly 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/...
Adam's user avatar
  • 1
0 votes
1 answer
283 views

Does BTRFS raid 10, support the failure of 2 devices?

According to this answer The guarantee that BTRFS offers, which makes it looks like regular raid 10, is that each piece of data is guaranteed to exist on two distinct drives, so the filesystem will ...
Evan Carroll's user avatar
  • 31.8k
1 vote
2 answers
178 views

Raid1 in Bios but only see one partition in Disks

My PC has 2 Disks, each one is 256GB. I set up RAID 1 in BIOS and installed Ubuntu. When I check the Disks program from Ubuntu, I see overall 3 disks. Number 1 and 2 are the physical disks and they ...
WJPING's user avatar
  • 11

1
2 3 4 5
17