Questions tagged [software-raid]

The tag has no usage guidance.

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

Software raid1 broken by using debian installer

I ran debian 10 installer and wanted to add (mount) existing RAID1 partitions. After adding RAID1 in partition manager I realized that my RAID is not recognized anymore (can not mount partitions) and ...
0
votes
1answer
18 views

Starting RAID array manually

Is there any way to start a RAID array manually without rebooting after stopping it via mdadm -S?
2
votes
1answer
53 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 ...
1
vote
1answer
30 views

Setup RAID10 (mdadm and/or lvm) starting with three empty disks, then add fourth disk (has data in it)

Please, tell me if it is possibile to create RAID10 (near layout) with odd drives and then adding even(th) disk to that existing RAID10. TOTAL: 4* 2TB drives (sdc,sdd,sde,sdf) FREE: 3 of them (sdd,...
0
votes
0answers
27 views

LVM: on simple raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%

On simple lvm raid1 with two legs Cpy%Sync never reaches 100% and always stays at 99.99%. lvm> lvs -a -o name,raid_sync_action,sync_percent LV SyncAction Cpy%Sync safe ...
0
votes
1answer
23 views

mdadm raid issues with (possibly out of date) and tries to mount raid6 as raid1

Some unknown hardware issue occurred that looks like it took all 4 hard drives offline occurred. wiggled some wires and hard drives are back (???). Now having raid issues. Raid will not start "/...
0
votes
1answer
29 views

mdadm - how to rebuild raid array after fresh install?

I used to have a raid1 array on the mountpoint /mnt/md0, however I re-installed my OS and now I don't know how to re assemble it. I believe I should be doing something along the lines of mdadm --...
0
votes
0answers
12 views

Recovering raid 10 drive md0 after upgrading from Ubuntu 16.04 to 20.04

I just upgraded from Ubuntu 16.04 to 20.04. In my computer I have 4 X 1TB HHD in a raid array. They are sda, sdb, sdc, and sdd = md0 This raided drive contains my home directory, which in my case is /...
1
vote
0answers
9 views

LVM RAID 1 with external HD for a laptop

Consider the following scenario for a laptop: Most of the time the laptop sits in its docking station on the desk but is occasionally taken out. Docking and undocking can happen while running or while ...
0
votes
1answer
65 views

MDADM with Encryption without losing files

Current setup is two 4TB hard drives in a RAID 1 setup using MDADM in Debian. Would like to encrypt the MD0 mount with whatever encryption is good. I was going to use something like this: sudo ...
0
votes
1answer
60 views

Problems with mdadm after resizing

I've had the same array for nearly 10 years and have been replacing disks with larger disks as the prices come down. After my latest upgrade of 4 6TB disks in RAID 5 I have been having a strange ...
0
votes
0answers
12 views

How to set up entire 500 GB HD AS RAID1 with16 GB swap

I'm repurposing a 500GB WDC HD mounted in an HP ProDesk for a single OS system running Debian. I'd like to partition it with 16 GB swap and just have everthing else in one RAID partition made from 2 ...
0
votes
1answer
49 views

ext4 inode ratio discrepancy between /etc/mke2fs.conf and tune2fs

I installed debian strech through the installer in a software raid 10 configuration.There are 4 drives, each is 14TB. Partition was formatted by the installer with ext4. The inode ratio defaults to ...
0
votes
2answers
429 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 ...
0
votes
1answer
18 views

find why mdadm dropped a disk

I have had mdadm drop a disk twice in the last month or two. I re-added it last time and it ran fine for a while, then I noticed it was running in degraded mode again. I wondered how I find the "...
0
votes
1answer
23 views

expanding software RAID1 partition to include 2 mirrored drives, or convert to RAID10

I had a 4-drive e-sata connected to a Fedora 31 server, with three 1.5 TB and one 2 TB drive. I created a RAID1 following this excellent tecmint tutorial. I used --raid-devices=4. Well that doesn't ...
1
vote
1answer
17 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 ...
1
vote
0answers
100 views

mdadm: How to create RAID50 on Ubuntu 16.04

I am unable to create a RAID50 with mdadm on Ubuntu 16.04. Every time I reboot the server, the RAID0 will disappear. Here is how we proceeded to create the RAID50 : Create two RAID5 (8 disks each) : ...
0
votes
1answer
29 views

Is it normal that my LVM mirror log files (mlog_mimage_0/1) are both on the same hard drive?

I had to setup my root partition with the old LVM mirror capability (as shown below, it says "m" in the attributes). This was required so I can boot on that partition. The new RAID1 doesn't work at ...
0
votes
1answer
25 views

After creating RAID 1 can't connect to server

I have created RAID 1 array consisting of 2 devices(working on Ubuntu 18.04 LTS) : mdadm --create /dev/md6 -l 1 --raid-devices=2 /dev/sda9 /dev/sdb6 mkfs.ext4 /dev/md6 mkdir /raid mdadm –detail –...
3
votes
0answers
148 views

Linux software RAID or SDD failure?

I rebuilt a machine recently, and decided it would be fun to do RAID on some SDDs. It has not been going well, and I'm having trouble figuring out what is going wrong. I have 2 8TB HDDs in RAID 1 ...
1
vote
1answer
180 views

What are the md partitions under a mdadm array?

I'm setting up two RAID 1 arrays using mdadm, it seems to be working fine but when I do a check in lsblk I see the following: sda 8:0 0 5,5T 0 disk └─md127 ...
0
votes
1answer
180 views

Boot Fail - Extend LVM (“root”, “/”) over RAID 1 (CentOS 7)

QUESTION: CentOS 7 does not boot after we extend a Volume Group (VG) over RAID 1 using another RAID 1. The process we use is demonstrated in PROCEDURE: Extend LVM ("root", "/") over RAID 1. What is ...
2
votes
1answer
53 views

Is it possible to mount a RAID 1 software/mdadm member raw?

I am wondering if a software member can be mounted directly. Is the software raid this transparent? I think this would be a nice thing to know just in case the RAID management fails for some reason? ...
1
vote
0answers
81 views

How create RAID 1 on working Slackware 14.2?

I use Slackware 14.2 (with kernel 4.4.14-smp) on sda and I'm trying to create the RAID 1 with additional sdb. I'm using the VM VirtualBox. First, I have cleaned the sdb: dd if=/dev/zero of=/dev/sdb ...
0
votes
0answers
16 views

Centos, add existing raid0 without lossing data

i had reinstalled centos 7 which has raid0 working fine previously. now my partition look like this: [root@ns31132644 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G ...
1
vote
1answer
170 views

can not shrink raid1 size with mdadm

I want to reduce a soft raid1 disk size, but the following cmd shows an error, root@GalensSynology:~# mdadm --grow /dev/md2 --size=83886080 mdadm: Can't read enough disk from md2 mdadm: component ...
1
vote
0answers
67 views

Recreating a RAID4 / RAID0 array

At first, there was a RAID0 array, to which I've added a new disk by issuing mdadm --add but when I've done that, the drive started to fail because of the power issues and the array has not started ...
0
votes
1answer
75 views

remove devices and software raid1

Hello i have problem with my server where i trying to remove devices and raid i removed /dev/sda1 with: mdadm --manage /dev/md3 --fail /dev/sda1 mdadm --manage /dev/md3 --remove /dev/sda1 but when i ...
1
vote
1answer
43 views

What should I expect to see if md/linux RAID is properly compensating for a failing drive?

Does the md subsystem output any messages (to syslog/systemd-journal) to indicate that it's running in a degraded state (or anything else that might indicate that it has successfully reacted to a ...
1
vote
1answer
250 views

Linux md config changes after reboot

My Ubuntu RAID configuration changes during a reboot and I don't understand why. Problem 1: /dev/md/host:name device is not created at boot. I don't understand how, when, or why the descriptive names ...
1
vote
1answer
59 views

mdadm software raid question

Hoping someone can help! Never used software raid before and I've noticed the 2 disk RAID 1 is showing as degraded [U_] : # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda3[0] ...
0
votes
0answers
45 views

How can I speed up mdadm integrity check stuck at USB 2.0 speeds?

I have an array (/dev/md2) that is constructed with mdadm as a RAID5. The drives are connected in an external enclosure over USB 3.0 and when tested with hdparm show a read speed of 225MB/s. However,...
0
votes
1answer
224 views

How effective is a Linux mdadm RAID 1 against silent data corruption?

Assuming I've stored an image file on a regular hard drive. Years later, I may not be able to fully display this image file because of a hardware error. Would a Linux RAID 1 disk array created with ...
0
votes
0answers
65 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 ...
1
vote
1answer
258 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 ...
5
votes
0answers
1k views

State of LVM raid compared to mdadm

LVM and mdadm / dmraid are both offering software RAID functionality on Linux. This is pretty much a follow-up post to this question from 2014. Back then, @derobert recommends to prefer mdadm over LVM ...
0
votes
1answer
525 views

Installing Debian to Supermicro

Debian-9.8-netinst, Supermicro X8STI-3F (Xeon E5504, 2.00 GHz, Bios ver 1.0c, LSI MegaRaid 8208ELP (rev 08) with four SAS HDD 146Gb Seagate. During installation debian doesn't recognize HDDs. What ...
1
vote
2answers
436 views

Most ironclad way to make root installation redundant and maximize uptime? RAID, ZFS or something else?

I would like to set up my desktop computer (which is actually a server for the KVM guests I do my actual work in) to have a redundant root installation. If one drive dies I want to quickly get back ...
3
votes
1answer
239 views

md_raid10 hangs - possible reasons?

I have been researching the possible cause for this sort of behaviour: INFO: task md1_raid10:240 blocked for more than 120 seconds. [123491.284102] Not tainted 4.18.20 #1 [123491.284105] "echo ...
0
votes
1answer
416 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 ...
0
votes
0answers
1k views

Failed GPU passthrough using Unraid 6.6.6

A while ago, I have build a new Ryzen setup. I am currently experimenting with Unraid 6.6.6 and trying to setup my daily Ubuntu VM with a passed through GTX 1060 from Inno3D. Unfortunately, I get ...
1
vote
2answers
868 views

USB hard drive I/O slow speeds

I have several Mediasonic ProBox HF2-SU3S2 with 4 drives - all with the same symptoms - extremely slow I/O (at best, about 10MB/s write). Each unit is configured with a software RAID 5 using mdadm ...
1
vote
0answers
388 views

Coping with bad sectors on RAID disk

I have a RAID 1 of 2 hard drives managed with mdadm. Today, one of them failed. I figured out that this is because of bad sectors in /dev/sdb. According to badblocks, these sectors are affected: 1028, ...
0
votes
0answers
103 views

Cannot add partition back to RAID 1

I run an mdadm RAID 1 on my Raspberry Pi. The USB cables to the two hard disks (especially to /dev/sda) seem to provide somewhat loose connections or someone touches them. They are right next to the ...
1
vote
1answer
106 views

Raid with faulty spare reference but with all physical devices good

I'm seeing sdt[6](F) but I cant remove or set it as failed device # mdadm /dev/md126 --fail /dev/sdt --remove /dev/sdt mdadm: cannot find /dev/sdt: No such file or directory /dev/sdt does not exist ...
0
votes
1answer
594 views

How to set timeout for the systemd start job “dev-md125.device” (mdadm)

I've setup a RAID1 device with mdadm on CentOS 7. The system boots fine when both disks are inserted but hangs when there is only one. The error occurs at boot with the following message from systemd:...
3
votes
3answers
1k 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 --...
9
votes
2answers
1k views

How does write cache work with a filesystem spanning disks with different speeds?

On a modern Linux system with multiple disks and a software RAID spanning both slow (HDD) and fast (SSD) drives, how are writes to the filesystem cached? For md-raid RAID1 the array can be configured ...
2
votes
1answer
74 views

Mirror Linux disk writes to secondary disk [duplicate]

I would like to set up a Linux system to use one primary storage device, but copy all writes to that device to another secondary device without blocking for every write - e.g. an NVMe SSD as primary ...

1
2 3 4 5 6