Questions tagged [software-raid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
37 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
1 vote
1 answer
63 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
1 answer
403 views

Ubuntu RAID Configuration Devices list is empty

I want to install Ubuntu Server 22.04. During the installation process, I want to do the storage configuration for the software RAID as mentioned in this YT-Video (https://www.youtube.com/watch?v=...
user avatar
0 votes
0 answers
42 views

replace an SSD disk in RAID5 with bigger one

Some years ago I created a RAID5 array with mdadm. It consists of 3 1TB SSD (Samsung SSD 860). Here is how I created it: mdadm -E /dev/sd[a-c] fdisk /dev/sda fdisk /dev/sdb fdisk /dev/sdc mdadm -C /...
Marco's user avatar
  • 893
0 votes
1 answer
45 views

Extending a software RAID1 configuration

There is a system with 2 equivalent HDDs (both are 4TB), and they are "bind" together with raid1: $ sudo mdadm --query --detail /dev/md0 /dev/md0: Version : 1.2 Creation Time ...
Daniel's user avatar
  • 339
0 votes
2 answers
87 views

Extensible software production-ready RAID in Linux?

My #1 goal with RAID, is redundancy from failure. My #2 concern is scalability. Because ZFS's RAID doesn't yet allow you to add a disk to the raid pool, and BTRFS RAID6 isn't stable what are my ...
Evan Carroll's user avatar
  • 30.9k
2 votes
2 answers
681 views

Problems accessing files on a RAID1+LVM from failed QNAP

Brief context I have a QNAP TS-451. The NAS has failed, but I'm pretty sure the drives are still fine. I have a new QNAP TS-462 to try to replace it and I'd like to ensure my data is intact in the ...
Danny Sung's user avatar
-2 votes
1 answer
4k views

Which RAID levels and related are supported by bcachefs and how to configure?

2023-10-31, Bcachefs Merged Into The Linux 6.7 Kernel: https://www.phoronix.com/news/Bcachefs-Merged-Linux-6.7 https://web.archive.org/web/20231103095158/https://www.phoronix.com/news/Bcachefs-Merged-...
Alfred.37's user avatar
  • 200
2 votes
0 answers
100 views

linux mdadm dm0 assembly error: md: cannot handle concurrent replacement and reshape. (machine reboot while reshaping)

I have an issue with my linux raid setup and I hope somebody here could help me get my raid active again without data loss. I have a debian 11 system with one raid array (6x 1TB hdd drives, raid level ...
Pete Youlojoke's user avatar
0 votes
0 answers
93 views

Will sfdisk partition copy touch RAID data

A recent Ubuntu server reboot caused two of the SOFT RAID5 disk (/dev/sdd and /dev/sdf) losing its partition table (/dev/sdd1 and /dev/sdf1), I have tried to use R-Studio that can directly connect to ...
Twinkiestar's user avatar
2 votes
1 answer
188 views

Creating a new raid1 mdadm luks device creates two unwanted partitions

I am trying to create a raid1 (with mdadm) device with luks. However, it creates two partitions instead of one as you can see below: sde 8:64 0 3,6T 0 disk `-sde1 8:65 ...
giovi321's user avatar
  • 897
-1 votes
1 answer
355 views

What software alternatives are there to ECC storage under Linux Mint and Linux Mint Debian Edition LMDE to protect against a bit flip problem?

It is known that there are other approaches besides ECC memory that can help avoid data loss due to e.g. flipping of RAM memory cells by cosmic rays (bit flip problem): What the Bit Flip Problem is: ...
Alfred.37's user avatar
  • 200
1 vote
1 answer
384 views

Find file(s) contained in sector of a raid array

Today I way checking my raid6 array (with ext4 filesystem) and two kernel messages popped up: mismatch sector in range 2842495632-2842495640 mismatch sector in range 2927793488-2927793496 As of now ...
std_unordered_map's user avatar
1 vote
0 answers
201 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 ...
MrCalvin's user avatar
  • 689
0 votes
0 answers
477 views

Problem mounting a raid 0 array with two disks:

I am trying to back up data of my Ubuntu system that's not booting. The data was on an ext4 partition with a raid0 arry of two SSD disks (/dev/nvme0n1p3 and /dev/nvme1n1p3). But I am not able to mount ...
Gree Fea's user avatar
0 votes
0 answers
426 views

MDADM Nvme raid Slower than traditional HDD, need enlightenment

I have setup server about 20 days ago with new nvme, before setup raid mdadm the two Nvme samsung 980 pro 1TB i test bench have IO speed average 1.5G/s each nvme, but after creating raid 1, IO nvme ...
Trweb's user avatar
  • 21
0 votes
0 answers
568 views

mdadm shows wrong array size, and can not growing

I used 2 partitions to create a RAID1 array. both of them are 967131168 sectors, 512 bytes per sector. so the raid array size should be 483564544. but it shows: Array Size : 483433472 (461.04 GiB ...
user2919667's user avatar
2 votes
2 answers
2k views

Raid 1 on two partitions: is this a good thing to do?

So, I have a 2TB HDD (sda) and a 500GB one (sdb). I created a partition on sdb occupying the entire device (sdb1), noted how large it is, and then I created a partition on sda the same size (sda1). ...
Andy3153's user avatar
  • 167
1 vote
2 answers
4k views

How to configure mdadm.conf properly

I have 2 mdadm arrays. Long time ago, when there was only one raid, i wrote mdadm.conf and it looked like this: # mdadm.conf written out by anaconda MAILADDR root AUTO +imsm +1.x -all ARRAY /dev/md/...
Gacek's user avatar
  • 247
0 votes
1 answer
3k views

Is there a GUI to handle LVM and software RAID operations?

Are there any free graphical tools to manage advanced Linux storage schemes such as software RAID and LVM arrays in a similar fashion to how GParted handles partitions? Unfortunately, it seems most ...
Scrooge McDuck's user avatar
1 vote
1 answer
857 views

Checking a HDD's health in Raid?

I have a few HDDs in an Ubuntu SW-RAID array, and now I came across to quite a number of questions sticking together: 1.) Is it safe to do smartctl -t (SMART selftest) while the drive is part of an ...
Daniel's user avatar
  • 339
0 votes
2 answers
238 views

Modifying files on partition mounted both on host and in KVM guest, understanding the caused corruption

I have a server to which I added two SSDs. On the host I created a RAID 1 with both of them by using mdadm. The RAID was created by first creating partitions on the SSDs, and using the partitions to ...
Daniel F's user avatar
  • 867
1 vote
1 answer
2k 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 ...
Zhang Xiang's user avatar
1 vote
1 answer
225 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 ...
beard black's user avatar
0 votes
0 answers
118 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 ...
ATLief's user avatar
  • 308
17 votes
3 answers
3k 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 ...
hbogert's user avatar
  • 739
0 votes
0 answers
96 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. ...
user2323470's user avatar
2 votes
0 answers
895 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 ...
David Berryman's user avatar
0 votes
0 answers
123 views

temporary removing device /partition from RAID5 - getting "Device or resource busy"

Here is a current state of my RAID5: And it is rebuilding.... /dev/md10: Version : 1.2 Creation Time : Sun Dec 19 13:28:26 2021 Raid Level : raid5 Array Size : ...
anne's user avatar
  • 47
5 votes
1 answer
718 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] ...
mivk's user avatar
  • 3,606
1 vote
1 answer
597 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 ...
giovi321's user avatar
  • 897
0 votes
0 answers
90 views

Duplicated saves with borgbackup

I need to backup data using Borg Backup from a remote server to a local server (raspberry-pi like - it is actually Yunohost) equipped with a 2 slots storage bay. I would like to have identical copies ...
Lou's user avatar
  • 1
1 vote
1 answer
1k 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 ...
Nikita Kipriyanov's user avatar
0 votes
1 answer
611 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 ...
Harper's user avatar
  • 103
2 votes
1 answer
1k views

Using LVM with RAID1

I am using SLES 15 SP3. I need to setup RAID1 with LVM using autoyast.xml In the AutoYast guide, I found examples of how to setup: LVM RAID They seem pretty straightforward and I even tried them and ...
ray an's user avatar
  • 121
3 votes
2 answers
4k views

How do I access a Windows Storage Spaces built in Windows 10 on Ubuntu?

Status Update 01/17/22: After 2 months I still have not figured out how to access the storage space from Linux. The kind people over at Superuser didn't seem to know either. There may be a way to do ...
Faaire's user avatar
  • 31
1 vote
1 answer
4k views

mkfs error: /dev/nvme0n1 apparently in use by the system; will not make a filesystem here

I added a nvme storage device to a Dell 7820 workstation (alias: new-machine). The storage device was used in another server (alias: old-machine) and it seems like it was configured as RAID. Anyway I ...
pepsiblossom's user avatar
3 votes
0 answers
2k 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 : ...
sebelk's user avatar
  • 4,399
2 votes
2 answers
2k views

Slow transfer speed through Samba using software RAID

I have a mini PC (Intel Celeron J4005, 4GB RAM, Intel Gigabit NIC), configured with: Ubuntu (5.4.0-81-generic, installed on sda) Samba (version 4.11.6-Ubuntu) FTP (vsftpd, no encryption) RAID5 (mdadm,...
S-Zoli's user avatar
  • 21
0 votes
1 answer
2k views

Why can't I mount a RAID array?

I have a RAID array which seem, if I understand it correctly, to be working correctly: # cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md127 : ...
Arseni Mourzenko's user avatar
0 votes
0 answers
52 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 ...
sherlock's user avatar
  • 626
1 vote
1 answer
906 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 ...
Naxels's user avatar
  • 121
0 votes
0 answers
1k 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 ...
Mikko Rantalainen's user avatar
1 vote
2 answers
2k 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: ...
TheLPfy's user avatar
  • 41
1 vote
0 answers
66 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 ...
mephisto123's user avatar
4 votes
1 answer
463 views

How should I cope with the 16TiB limit on linux software RAID (md)?

I have used a RAID6 based on partitions on 2TB disks for around 10 years, now. Which I have extended multiple times up to around 12TB by adding disks a few times. With the time, I have progressively ...
Camion's user avatar
  • 274
0 votes
1 answer
294 views

Can grub recognize a "degraded" raid1 mdadm partition?

Grub can boot(I have tried) from a zfs "degraded" raid1, is simple: create two zfs pools, one is boot, one is root, each one is raid1...and grub load Linux, with two disk, or with only one ...
elbarna's user avatar
  • 12.7k
0 votes
1 answer
236 views

LVM - how to disable scrub --assume-clean

Building a raid10 array with LVM. lvs -a -o name,raid_sync_action,sync_percent reports resync 60.23. Is there a way to disable this scrub like you could do with mdraid by using the --assume-clean ...
Gr4cchus's user avatar
3 votes
0 answers
601 views

Is there any non-destructive way to change the preferred drive in a raid1 mdadm setup?

I have observed empirically that for a raid1 mdadm array, mostly serving sequential reads from single processes, the first disk is basically always picked. This is also confirmed by this code which ...
JoeSlav's user avatar
  • 128
1 vote
1 answer
92 views

Moving a mounted ext4 filesystem between physical disks

Is there a way to move an ext4 filesystem between physical disks transparently for the applications, i.e. while preserving file descriptors? There's no LVM nor hardware RAID, unfortunately. I was ...
Constantine's user avatar

1
2 3 4 5
7