Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

How to interpret conflicting status data between `smartctl` and `mdadm`?

I have a HDD which is a member of a RAID10 array. smartctl and mdadm give me conflicting indications of its status. smartctl claims that the disk is FAILED: $ sudo smartctl -H /dev/sdf smartctl 7.0 ...
1
vote
0answers
40 views

Linux MD RAID with btrfs stuck and consume 100 % CPU

The issue During last several weeks, I am experiencing annoying issue on my physical server with Linux software RAID 6 (md, mdadm) with btrfs file system on it. Once in several days (irregularly, as ...
1
vote
1answer
21 views

Raid software (mdadm) has unexpected size

I have a server with 4 hard drives at 4 To (3.7 TiB). I first created a partition on each drive with type "fd" (Linux Raid Autodetect). Then, I configured a RAID 10 using mdadm with the following ...
1
vote
1answer
19 views

Is my mdadm RAID1 running?

Sorry for the stupid question but I'm really confused. Is my RAID1 running and in a good health? lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux ...
29
votes
7answers
4k views

How beneficial are self-healing filesystems for general usage?

I have recently looked into advanced filesystems (Btrfs, ZFS) for data redundancy and availability and got interested in the additional functionality they provide, especially their "self-healing" ...
0
votes
0answers
14 views

mdadm raid10 recovery after failed reshape

I had raid1 and tried top convert it to raid10 with 6 drive. I coverted it to raid0 then to raid10 with 4 disks. After reshaping was done i added other 2 disks and fs crashed and i assumed that reboot ...
0
votes
1answer
169 views

Recovering mdadm 4-disk RAID5 array with 2 out of date disks

Edit: The scenario in this wiki, where 1 drive has a slightly lower and another a significantly lower event count than the rest of the array, suggests assembling with --force while leaving out the ...
1
vote
1answer
35 views

mdadm raid1 with three disks where two disks would be an inner raid [closed]

I currently have two disk of the same size (4TB each) in raid1. I'm wondering if it's now possible to add an additional disk of size 8TB and have it as raid 1 with the other two disks acting as raid ...
2
votes
2answers
54 views

Rebuild a temporary disconnected RAID device

If I build a RAID 5 array (specifically MD RAID on Linux) and then 1 of the drives disconnects for whatever reason, does that drive need to be rebuilt from scratch if: No data has been written to the ...
1
vote
1answer
58 views

mdadm raid5: All disk appear as spare

I had a power plug removed for 2 of the 4 disks of my raid 5. Since then it cannot start. Even with --run --force, --readwrite, etc. I quickly saw it so the data should not be (too much) corrupted. ...
1
vote
1answer
28 views

Have I lost data? Can I copy a MD superblock from one drive to another?

My friend's RAID5 has lost two disks -- one failed months ago, apparently, but the other dropped out and the data is believed to be okay. I can run mdadm --examine on (clones of) the two surviving ...
1
vote
1answer
24 views

How to resolve a DegradedArray event when one drive has been permanently removed from RAID array?

When I installed my VPS some months ago (Ubuntu 18.04), the default RAID configuration was relying on 3 disks. I removed /dev/sdc from the array to create a new partition. RAID array is now as below: ...
4
votes
0answers
44 views

MDADM Raid10 event mismatch after restart

I made a raid10 with 8x8TB drives the file system on it is XFS. I never had any issue with it. The raid is configured as near2 and internal bitmap. The drives are connected to a LSI-9211-8i in HBA ...
0
votes
1answer
114 views

nullmailer - Diagnostic-Code: SMTP; 550 5.1.0 <root@external_email_server.com> sender rejected (497)

What did I miss-configure to be getting MAILER-DAEMON errors? (I was trying to keep this post short, but it got a bit out of hand.) I am setting up an email alert system for when my RAID1 should go ...
0
votes
1answer
53 views

mdadm raid5 starts recovery right after creation

just for getting some experience with mdadm I've put some HDD together and try a bit. I have 2 250 GB and one 500 GB HDD. I know thats not optimal for RAID5 and I'll only get 500 GB capacity in total. ...
1
vote
0answers
102 views

How to Install CentOS8 on LVM on Software RAID

I'm trying to do something that should in my mind be simple - I've done this plenty of times on other distros, but can't make any headway. I'm trying to Install CentOS8 on an LVM partition on ...
0
votes
2answers
114 views

unable to clear superblock on drive

I have a USB thumb drive that I briefly used in a raid 1 array. I don't need it in that array anymore (but need to add it to a different array) and hence would like to get rid of the old superblock ...
0
votes
0answers
182 views

Is it possible to use software RAID inside a Docker container?

Before anyone asks why you'd want to do that, I'm using molecule to test my "infrastructure as code" locally before deploying it to actual machines. Start by creating two block devices: # dd if=/dev/...
1
vote
1answer
69 views

Grow an mdadm RAID5 array with fewer, larger disks

I have a linux software RAID 5 array, made up of 5 x 3 TB drives, giving me roughly 12 TB in total. I want to replace the disks with newer 8 TB drives, but since these are still quite expensive, I ...
0
votes
0answers
91 views

mount vmfs datastore on synology raid1 array disk in ubuntu

I have a disk from a RAID 1 array connected to an Ubuntu 18.04 PC. It contains an md array, with a btrfs partition which contains a lun on which there is a vmfs datastore. How would I go about ...
0
votes
0answers
29 views

Working Nginx-PHP-FPM setup; then switched from RAID1 to RAID10, and now setup doesn't work

Converted a RAID 1 volume to RAID10. The file system appears to be exactly the same on the new RAID 10 volume as the previous RAID 1 volume. For some reason PHP-FPM won't take a symbolic link to ...
1
vote
1answer
95 views

Using raid-1 madm to shrink an existing 8TB EBS disk live. Possible ? Risks?

Initial situation I have a 8 TB EBS drive on Amazon (ext4, directly mounted without partitions) I didn't use sw-raid for ages, so my assumption might be wrong that I can shrink the disk that way. ...
1
vote
0answers
22 views

Single software RAID partition missing after replacing failing HDD

I have a raid-1 with 5 partitions (md0 - md4). Last night one of the HDDs failed (the faulty RAID partition was md4), I removed it, replaced it with a new one and now in the rescue system suddenly ...
0
votes
0answers
25 views

How to downsize partition and remove software RAID0 without lossing data

I have Fedora 26 Linux virtual machine under XenServer with 2 virtual disks, capacity is 2x 2TB. Under Linux, there are software RAID0 and in OS is 4TB capacity. Now I do not need 4 TB and need to ...
0
votes
2answers
63 views

Software linux raid using physical passthrough disks

I'm using Vmware ESXI and I followed this guide to pass through 2 physical disks for a raid 1 array. If I set up an mdadm software raid using these two physical passthrough disks will something go ...
1
vote
2answers
87 views

Debian10 , RAID : did it changed since Debian9?

I'm installing a backup server with a Debian10 installed and running on its NVMe disks. It also has 4x6TB SATA hard drives, and I'm trying to set these up as a RAID0 array. I'm usually following the ...
0
votes
0answers
134 views

mdadm: failed to set writable for /dev/md126: Device or resource busy

yesterday my one of SSDs on my server came into a faulty state. Well at least mdadm --detail /dev/md126 said that. Also mdstat showed [2/1] [_U] on one of raid partitions (md126 specifically). I ...
1
vote
0answers
23 views

mdadm doesnt't work in secure mode

Im trying to mount /dev/sda1 in secure mode (cause of troubles with boot loader), but i cant do it without mdamd. root@rescue / # mdadm mdadm will not execute and completion _mdadm exists. So, how ...
1
vote
0answers
54 views

How to configure RAID-5 for OS root (Ubuntu Server 18.04)

I have a fresh dedicated server I have provisioned running Ubuntu Server 18.04 and with 3x480GB SSDs (no hardware RAID controller though). The UI of the hosting provider will not allow the “/boot” or “...
0
votes
0answers
90 views

Can I make a mdadm raid on a file, not a block device?

I would like to play with mdadm, the Linux RAID system. I want to see what happens when you fail a drive, when you grow the raid etc etc. My initial thought was to create 4 equally sized files (...
1
vote
0answers
68 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 ...
1
vote
0answers
31 views

usb jbod enclosure, software raid1; after reboot, mdraid using wrong devices

I mirrored two disks in a USB enclosure on my Arch box, created a filesystem, mounted it, copied a bunch of data over. Everything was great. Then I waited until the md sync was done and rebooted... #...
1
vote
0answers
24 views

Recover a linux raid array after running “mdadm --create”?

So I did something stupid and I'm wondering if I have any options. I lost my OS drive (centos 7) but was able to keep my 4x 3tb raid drives. So I reinstalled centos on another drive and tried to ...
0
votes
0answers
46 views

mdadm unable to assemble after OS reinstall

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
0answers
39 views

Replaced raid controller, raid config missing, server not booting

My raid controller went bust, and my hoster OVH replaced it. They only offer hardware support, so after replacing the controller they left the machine in Rescue mode. When I put it in normal HD boot ...
1
vote
0answers
110 views

Broken RAID Array, no superblock detected

I run a CentOS system with 2x SSD in RAID1 and 4X SAS drives in RAID10. Linux is installed on the RAID1 array. This morning I noticed that my RAID10 array (md4) had gone missing, and that my RAID1 ...
4
votes
1answer
194 views

RAID10 array check slow, and slowing

I run a new CentOS 7 machine. Linux runs on 2x SSD setup, and I also have 4x SAS drives setup in software RAID10. The RAID10 array is large, 4x 12TB drives, so 24TB usable. File system is: ext4 Now ...
1
vote
2answers
73 views

Degraded soft raid1 not booting and showing raid0

I created a server setup with uefi boot and encrypted lvm partitions as you may can see here: root@debian:~# lsblk -o name,uuid,type,size NAME UUID ...
3
votes
1answer
59 views

mdadm raid5 was added as a spare to itself

I have a raid 5 device created with mdadm. I was working on it and long story short, I wanted to type mdadm --manage /dev/md127 -a /dev/sdd, but I accidentally typed mdadm --manage /dev/md127 -a /dev/...
2
votes
1answer
63 views

While RAID1 is resyncing after create, can i write files to it immediately?

I searched but i just found this. How to interrupt software raid resync? My question is can i write files to my raid1 device while... [root@centos ~]# cat /proc/mdstat Personalities : [raid1] ...
0
votes
1answer
33 views

Access clean RAID5 on new machine using 2 of 3 disks

A server of mine is dead. On the server I had 3x disk with a software raid on the second partition of every HD. Now I have inserted two out of three HDs in a PC (no place for the third!). Here what I'...
0
votes
0answers
71 views

How do I add disks to a mdadm RAID 6 array behind bcache?

My server running Ubuntu 18.04.3 LTS, is laid out as follows: An SSD with the system files A RAID6 array of 4 disks, (2 data and 2 parity) sitting behind another SSD acting as a bcache containing my /...
0
votes
0answers
102 views

How do I mount a linux_raid_member filesystem with my Ubuntu machine?

We have a server that just died after ten years of service. It has four hard drives. Two are in one Raid 1 array and two are in another. I have managed to merge the firs two back into being one ...
0
votes
1answer
63 views

Is it possible to reboot server from /dev/sdb while RAID 1 rebuilds /dev/sda?

I have a dedicated server with a Raid I with /dev/sda and /dev/sdb in which /dev/sda started to fail so I ordered its replacement. After the intervention the server went into rescue mode and I was not ...
1
vote
2answers
802 views

Kickstart CentOS 7 with software RAID 1, but no LVM needed

I am going to Kickstart a CentOS 7.x installation with software RAID 1 remotely for the first time. So I am kinda inexperienced at this and wondering what I need to make this work correctly. A CentOS ...
1
vote
0answers
248 views

Mdadm Create array on partitioned disks - failed to write metadata to disk

I'm trying to setup a raid array for a server. The array is going to be RAID 5, consisting of 4 disks, sdc, sdd, sde, sdf I need three partitions of specific sizes (2gb 200gb 700gb) and they need to ...
1
vote
0answers
63 views

Dismounting MD RAID1 LUKS-encrypted volume with partitions

Fedora 29. I created a 5TB RAID1 volume using mdadm. I then encrypted the volume with cryptsetup luksFormat. I then created ext4 partitions on the encrypted volume. (I did it this way so I can add ...
6
votes
1answer
151 views

Storage Setup for iSCSI/NFS servers

We are preparing to replace our storage servers (iSCSI+NFS). The current servers are Debian Wheezy using mdadm+lvm2 for storage, and failover using drbd and heartbeat (never got heartbeat to work). ...
1
vote
0answers
35 views

How can I find a broken disc?

I have a problem. I got 1 broken disc in RAID6. How can I find which one broke down? I've tried # cat /proc/mdstat <--- to check condition of raid. I want to know if this command mdadm –...
-2
votes
1answer
227 views

Hybrid RAID (SDD+HDD) gives unexpected results [closed]

I am doing some experiments with hybrid RAID in Linux. My test consists of the following: 2x256GB SSD in RAID 0 (/dev/md1) 2x256GB HDD in RAID 0 (/dev/md2) Then I made md1 and md2 into a RAID 1 (/...

1
2 3 4 5
15