Questions tagged [software-raid]

The tag has no usage guidance.

0
votes
0answers
15 views

Unable to mount RAID4 volume in Ubuntu 19.04

Had to move an disk set containing a RAID5 from one server to another. Installed the drives and they spun up. #mdadm --detail /dev/md0 shows the following information: Version : 1.2 ...
0
votes
0answers
150 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
91 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
89 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 ...
0
votes
0answers
21 views

ix2-dl soho software won't mount disks

TL;DR the web gui and event viewer as well as soho.log don't actually print when mounting disks. It mounted itself eventually after a few days of uptime. No log message, no warnings or errors. No idea ...
3
votes
1answer
78 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
113 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
548 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
160 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 ...
0
votes
0answers
121 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
32 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
42 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
140 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:...
1
vote
1answer
472 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
773 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
49 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 ...
0
votes
2answers
46 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, ...
4
votes
1answer
450 views

RAIDs disappearing on reboot (Centos 7.5)

I'm trying to create 4 RAID 0 disk arrays on my system running Centos 7.5 and have the RAIDs automount after a reboot. For some reason, only one of the RAIDs /dev/md0 is persistent between boots. The ...
2
votes
1answer
393 views

Extending RAID0 with `mdadm --create --assume-clean`?

I had a 1-disk RAID0 array that I created with a view of adding more disks to it eventually, that was working normally. I created it with (approximately): $ mdadm --create /dev/md0 --raid-devices=1 --...
2
votes
1answer
829 views

Backup existing mdadm array setup

I recently installed mdadm an set up a raid1 configuration involving 2 500GIO drives. Is there a way to backup a RAID configuration somewhere so I could re-load it using a single mdadm command in ...
0
votes
1answer
276 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?
1
vote
1answer
190 views

multipathing and mdadm hide /dev/sdX devices.

We have linux server that use multipathing we have something that I think is a race condition between multipathing and mdadm if we build the raid on powerpath devices like /dev/mapper/mpathab.. ...
0
votes
1answer
180 views

How to fix mdadm: inactive RAID1 arrays, after unplugging one of the drives in both cases?

TL;DR I need to read and write from / to 2 of my mdadm RAID1 arrays after unplugging one of the drives in both cases and commenting them out of /etc/mdadm/mdadm.conf + updating initramfs, of course. ...
1
vote
1answer
479 views

MDADM - Disaster recovery or move on from the state I put my RAID5 array into

Long story short, for my first thread here, I have a software RAID5 array set up as follow: 4 disk devices with a linux-RAID partition on each. Those disks are: /dev/sda1 /dev/sdb1 /dev/sdd1 /dev/...
1
vote
1answer
799 views

Create Software RAID 1 - unexpected failure opening /dev/md0

I want to create a Software RAID 1 on my Debian. Unfortunately when I execute sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 it returns me mdadm: unexpected ...
1
vote
0answers
251 views

Moving a debian system to another computer: problem with software raid

I have moved my hard discs (with a working debian stable system on it) from a computer which had hardware problems to a new, similar one. I would like to have the old system running on the new ...
1
vote
1answer
121 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 ...
2
votes
0answers
120 views

Home NAS: Best setup to ease data recovery in case of hardware failure? Should I get rid of HW raid 1?

I'm not quite sure how to formulate the question here. I built myself a low energy NAS with an Intel N4200 with 8GB RAM. For the hard drives I'm using two WD red in a Raidon GR3660-B3 which is running ...
1
vote
0answers
619 views

MDADM - Stop Resync and Force Clean - Possible and/or Safe?

I have been having issues with my FileServer recently. See “rcu_sched detected stalls on CPUs/tasks” - jiffies - ESXi Ubuntu 16 FileServer Guest I just rebuilt it since I couldn't get any guidance ...
0
votes
0answers
243 views

RAID1 resync doesn't keep syncronized disks when one device was manually changed

After some crash on a RAID1 I did some investigation and tests. Doing the following: # dd if=/dev/zero of=1 bs=1M count=256 # dd if=/dev/zero of=2 bs=1M count=256 # losetup /dev/loop1 1 # losetup /...
2
votes
1answer
2k views

How to wipe md raid meta?

I have Ubuntu 16.04 host with 3 Ubuntu 17.10 guests in KVM (Virtual Machine Manager 1.3.2). I export several block devices from 2 guests to the other guest (let's call it frontend) via iSCSI portal ...
5
votes
1answer
2k views

RAID1 is read-only after upgrade to Ubuntu 17.10

I'm stumped. I had a perfectly functioning RAID1 setup on 16.10. After upgrading to 17.10, it auto-magically detected the array and re-created md0. All my files are fine, but when I mount md0, it says ...
2
votes
1answer
385 views

Is it possible to clone Linux software RAID 0 array with LVM on top to a single HDD?

I have 2 500GB HDD in 3 software RAID 0 arrays with LVM on top. Both disks are partitioned: -MBR partition table -256 MB Physical volume for RAID -4 GB Physical volume for RAID -remaining 496 ...
2
votes
0answers
71 views

A complete OS mirror using Ubuntu 17.04 RAID1 + EFI [closed]

Does any one know how to setup a RAID1 mirrored Ubuntu 17.04 Server via the installer program? I want to have the complete system mirrored, including the EFI partion, so if one disk fails, I can still ...
0
votes
0answers
270 views

LVM - Physical 2 Virtual Recovery of LVM Volume Group

We have backed up a bare metal server using software RAID and rebuilt it on a VM. Original server is running Oracle Linux 6 (RHEL 6) with Dell Fusion IO software RAID. BM Server w/ Fusion IO Drives: ...
3
votes
1answer
285 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 ...
0
votes
2answers
1k views

Is mdadm fail a definitive status?

Today, mdadm sent me message via mail, that one drive in one RAID1 array has fail status. I have no problem with replacing the drive as I have a few spare ones. I don't fully understand how mdadm ...
3
votes
1answer
2k views

Why is what was /dev/md1 when I created it now apparently called /dev/md127 or /dev/md127p1?

I recently installed a new Debian 9 ("stretch") machine. Initally it had 2 drives. I configured them as RAID1 using the Debian installer, and it gave me a /dev/md0 with /etc/mdadm/mdadm.conf: ...
0
votes
1answer
104 views

linux : test for software RAID

On a bunch of servers, I wish to automate the test for software RAID. Is it a viable solution to check /proc/mdstat ? Does Personalities list any only if SOFTWARE RAID ? If no software RAID, can I ...
0
votes
2answers
621 views

Is it safe to use LUKS encrypted raid 1 during rebuild?

If i’m rebuilding an encrypted RAID 1 with the whole array encrypted with LUKS, if I decrypt the array to use it, will the data still be encrypted, or will the array rebuild decrypted?
3
votes
2answers
673 views

LVM metadata missing, trying to recreate raid 1 with LVM

I had a power issue in the house recently, and had issue getting my file server disks to mount. Turns out that one of the devices had renamed itself from sdb to sdd, and all of the LVM metadata is now ...
0
votes
1answer
100 views

Installing debian on a Thecus 5500 DOM

We recently purchased a Thecus 5500 NAS. Its DOM (~1Gb) is formatted with a custom Linux kernel. I have also purchased 5 HDDs, 1TB each which are to run as a RAID6 unit. Now I want to format the DOM ...
0
votes
1answer
125 views

Can I port mdadm volumes to hardware raid?

Can I port mdadm volumes to hardware raid? I'm retiring an old server which uses mdadm volumes but the volumes are coming onto the new server which has hardware raid capability. Can I plug the disks ...
1
vote
1answer
865 views

What is the disk size limit for mdadm?

What, if any, is the disk size limit for mdadm? I've been using mdadm to manage disk arrays for our Mac network for a number of years now. Our storage requirements have grown to the point I'm ...
0
votes
1answer
145 views

NAS recovery via disk removal

I have a couple cheaper Lenovo IX2 2-disk NAS devices. First of all, there is NO hardware failure, including disk. I had a power jolt and one IX2 was on a dead UPS and dropped and came back a couple ...
4
votes
1answer
3k views

mdadm RAID6 reassemble with missing drives

I'm looking for a little advice here. I've got franken-machine running Ubuntu 14, which I added a four drive RAID6 to few years back and just ran into a problem. Long story short, two of the drives ...
1
vote
1answer
451 views

How do I force a LVM2 RAID5 logical volume to span across an additional physical volume?

I'm testing LVM configurations for the purpose of building a home NAS with Ubuntu Server 16.04 LTS. I first added three 20GB disks to my machine (sdb, sdc, sdd), created three physical volumes grouped ...
0
votes
2answers
62 views

backup raid content from disks extracted from a NAS

I've a friend with a NAS stuck in the firmware upgrade process, it is Linux based and I believe it use software raid-5 on 4 disks using mdadm /dev/md*. The product customers support just told how to ...
1
vote
1answer
214 views

centos 7 mdadm raid 1 error,

I am trying to get RAID 1 using mdadm. But I got the following error. [root@localhost ahmed]# mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sd[a-b]1 mdadm: /dev/sda1 appears to contain ...
0
votes
1answer
34 views

How much processing power is enough for mdadm?

I am currently using RAID 1 (4TB X 2)as a motherboard feature with my Linux machine, lately I came across issues of not detecting properly when I moved to Ubuntu 16.04 64bit. So I was thinking if ...