Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
3
votes
0answers
32 views

Can iostat output show mismatched read data for mdadm raid5 array?

I'm trying to understand this iostat output: tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd Device 500.30 58.9M 19.4k 0.0k 329.1G ...
1
vote
1answer
37 views

How does mdadm decide which disk to read from in mirrored arrays?

What exactly is the logic used to decide which block to read from diskA vs diskB in a mirrored array? Thanks
0
votes
1answer
31 views

Raid 5 is brocken after replace a disk

My server mailed me that one of my disks failed to read a block. So I decide to replace it before it failed completely. I added a new disk and replace the failing one. sudo mdadm --manage /dev/md0 --...
-1
votes
1answer
149 views

mount: /dev/md0: can't read superblock

I have a Raid 5 with 4 disk and is not working, I can't detect what disk is failing for replacement Could you help me? Thanks in advance Here is some information root@debian:~# mount /dev/md0 /mnt/ ...
1
vote
1answer
56 views

Moving raid array from USB to SATA

I have a raid 1 array of two 2TB drives which I set up a while ago, both of them were connected through a sata->usb adapter (external HDD cases). Now I moved them into a proper PC but mdadm does ...
0
votes
0answers
24 views

mdadm & unused space before superblock: How much space is lost when creating RAID arrays?

When creating a RAID array, data about structure and state of the array (metadata) must be stored somewhere. Is this the task of the "superblock" described in https://raid.wiki.kernel.org/...
1
vote
1answer
35 views

After Reboot Ubuntu 20.04 - RAID10 goes INACTIVE

I installed RAID 10 on a fresh Ubuntu 20.04 By the Following commands: 1. mdadm --examine /dev/sdc /dev/sdd /dev/sde /dev/sdf sudo parted /dev/sdc mklabel gpt sudo parted /dev/sdd mklabel gpt sudo ...
0
votes
0answers
67 views

From mdadm raid to LVM (raid or mirror) decisions and how to monitor

We are migrating some server from linux raids (0 and 1) to LVM with stripe or mirrors. At the moment our systems are mainly configured something like | /tmp - /home - /others |------------------------...
0
votes
0answers
34 views

“root account locked” after removing one RAID1 hard disc

I tried this out in a VirtualMachine to hope I can learn somethign. Problem My Debian 10 does not boot anymore and tells me that I am in emergency mode and Cannot open access to console, the root ...
0
votes
0answers
21 views

How to recreate boot partition to boot my ubuntu on mdadm

I installed ubuntu 20.04 on esxi 7.0. 4ssd passthrough as raid 10 mounted on /, with a virtual disk as boot partition. now virtual disk lost. how to recreate boot partition to restore my system?
0
votes
0answers
12 views

Unpartition mdadm /dev/md3p1 btrfs

I have a synology nas with a one single HDD. Synology SW partitioned that "Basic" storage to 3 partitions. 1,2 are raid for SW, and the 3rd is a member of mdadm raid. After my NAS felt to ...
0
votes
0answers
24 views

Optimal way to create mdadm raid 1 on USB adapter and then put it into slot on motherboard

I'm looking for the optimal way how to perform the task. On one of my debian servers: I have 2xSSD connected via USB adapter (no free ports on motherboard) I need to create RAID 1 MDADM array (2USB ...
1
vote
1answer
33 views

How is 'mdadm' stopped from doing an auto scan at startup?

Debian 10 VM has no software based RAID config, neither is there any intention of creating a software based (mdadm) RAID array. mdadm is installed purely as a dependency for cockpit-storaged mdadm ...
0
votes
0answers
33 views

Rebuilding mdadm RAID-5 from existing disks (2/3)

I have a server running Ubuntu Server 16.04 LTS with 3 x 3TB drives in a RAID-5 setup. A few days ago my system jumped into recovery mode and it seemed to have something to do with the array. ...
4
votes
1answer
74 views

mdadm: power failure during raid1 rebuild

RAID1 array created with mdadm; array was rebuilding when there was a power failure. On coming back up, the array seems to be dead. # cat /proc/mdstat Personalities : [raid1] md0 : inactive sdb1[2](S) ...
0
votes
1answer
56 views

mdadm - Attempted to move raid array to new system, superblocks gone?

I attempted to move a mdadm raid 1 array to a different system this evening. I took the 2 SSDs out of one system and put them in another, then booted that system. I opened gparted to check what the ...
5
votes
4answers
1k views

How to change the file system of a partition in a RAID 1?

First, sorry if the question has already been asked and correctly answered, I did not find anything that satisfies me. I rent a dedicated machine in a datacenter, the machine run with a Debian 10 and ...
6
votes
0answers
279 views

Write performance is 5 times worse with LUKS on top of mdadm RAID10 than without LUKS

I have servers with many NVMe disks. I am testing disk performance with fio using the following: fio --name=asdf --rw=randwrite --direct=1 --ioengine=libaio --bs=16k --numjobs=8 --size=10G --runtime=...
0
votes
0answers
34 views

mount mdadm / bcache device at boot failing

I am setting up an mdadm raid1 array with an nvme ssd as a cache drive. I followed this instruction https://www.kernel.org/doc/html/latest/admin-guide/bcache.html to set it up everything works fine, ...
1
vote
0answers
32 views

Debian 10: mdadm raid superblocks “dissappear” after reboot?

I'm very confused by some issues I'm having with a raid setup with mdadm. I have a Debian 10 system, which I installed a KVM VM on, to use as a NAS server. I had problems with the raid superblocks ...
1
vote
2answers
29 views

mdadm RAID5 array recovery stops without SCSI errors

I have an md-based RAID5 array which has been working without issue for about 2 years. Yesterday I've had spontaneous disk and/or PHY resets on one disk (but not actual read errors). md marked the ...
0
votes
0answers
27 views

linux software raid in virtual environment case

I created a virtual machine VMware Workstation with two disks. Installed in it Centos 8 with software raid 1 using the Anaconda installer After turning off the virtual machine and removing one disk, ...
0
votes
1answer
20 views

Increase space by growing mdadm RAID10 from 4 to 6 (and more)

I'm running Centos 7.8 with mdadm v4.1 I have 4 NVMe (3.2TB each) configured in a RAID 10, so 50% usable space (6.4TB): Personalities : [raid10] md0 : active raid10 nvme5n1p16 nvme4n1p15 nvme0n1p1[4] ...
0
votes
0answers
54 views

Possible solutions for Linux mdadm “raid5” over devices with different sizes?

I have server with 5 disks of 4TB, 2 with 8TB, and 1 10TB. I'd like to bundle them all together into Raid5/Raid6. As far as I understand one cannot do it nicely with disks of varying sizes. But I ...
0
votes
0answers
116 views

mdadm RAID 10 filesystem corruption — recoverable?

PROBLEM: I had a degraded disk in my RAID 10 array which I created using mdadm. I first removed the disk, replaced it with a new one, but when I rebuilt, I got an error saying it couldn't detect the ...
1
vote
3answers
213 views

Added 4Tb HDD to Iomega IX2-200 but cannot extend the volume

I have a Iomega IX2-200 which came with 2Tb (1.8Tb usable) space. It has two disks set up as RAID1. I am trying to upgrade this to 4Tb disks. So far this is the process I have followed: Remove the ...
1
vote
1answer
71 views

MDADM RAID-1 “not large enough to join array” on identical partition tables

I have two disks with identical partition tables (sudo sfdisk -d /dev/sda | sudo sfdisk /dev/sdb) that mdadm refuses to merge as a RAID-1 array. $ sudo mdadm --manage /dev/md0 --add /dev/sdb1 mdadm: /...
1
vote
0answers
73 views

Virtual disks raid 10 array with ramdisk cache using bcache

I was trying to simulate a scenario with mdadm and bcache. I created 4 raw img files using qemu-img. I have created raid 10 using mdadm and created tmpfs on /mnt/ramdisk and created a raw ramdisk.img ...
0
votes
0answers
136 views

Using Intel fakeraid (imsm) on Linux - can I move the drives to a new server?

I'm using Dell Precision T3610 towers as Linux servers for various applications. These have Intel "Rapid Storage Technology" controllers onboard, with a rudimentary RAID functionality, ...
0
votes
4answers
157 views

Using mdadm - RAID1 array doesn't mirror other disk

Currently I am building a nextcloud server on Ubuntu 20.04. I got one disk for the OS to run on a 320GB harddisk. And I want the data directory to be in a raid1 array, because if one drive fails we ...
0
votes
1answer
381 views

Recommended approach for booting from Linux software RAID for redundancy

I am looking for the recommended approach to setting up software RAID (using mdadm) on Centos 8 to provide redundancy. In my setup I have 4 identical disks, but I assume the answer should also be ...
0
votes
0answers
31 views

Is it possible to send mdadm alerts using s-nail instead of postfix?

I run a mailcow server. I am able to send mail using s-nail from the terminal. I'd like to tell mdadm to just use that when sending email alerts, but when I run mdadm --monitor --scan --test -1, it ...
1
vote
1answer
57 views

How to take backups resilient to data corruption , fast and reliable on Linux? [closed]

I need a resilient backup solution. I was using tar with pigz, however I am afraid of tar.gz corruption and losing data. Projects are between 4TB - 25TB of data for each project folder. We are talking ...
1
vote
1answer
50 views

Very bad write speed on mdadm RAID1 with SSDs

I have two Samsung 860 QVO in RAID1 with mdadm. The write speed of a single disc is around 450MB/s. I reach a maximum of 70MB/s on the RAID 1. The reading speed is normal. xfs is used as the file ...
2
votes
0answers
50 views

mdadm alerts configuration

I have a dedicated server in OVH. mdadm is installed and configured automatically, but I need configure scans and alerts. I checked some guides in internet but I'm not safe that this is the correct ...
0
votes
1answer
393 views

How can I configure Smartmontools in a server with SSD NVMe?

I have server with two SSD NVMe in RAID1. This server have CloudLinux and cPanel, and he installed automatically Smartmontools. What command I need use for Smartmontools monitorize the SSD?: -This?: ...
1
vote
2answers
35 views

Why Megaraid-sas and mdadm Raid 1+0 = Raid 10 Slow actual read speeds?

One of raid cards were giving multibit ecc ram module failure , thats why I am moving 60TB of data from one server to another ... Getting 60-100 Mb/s read speeds 3 Megaraid sas raid1 s 8+8+6 x 10TB ...
0
votes
0answers
36 views

mdadm fails to automount array with dependencies to other arrays and external bitmap

My setup is a bit atypical in order to reuse some old disks (I'm aware of the performance disadvantages but I don't want to throw away fine disks). It's a raid5 of two 6T disks, a raid0 of 2x3T disks ...
0
votes
0answers
17 views

Folder in Ubuntu Became a File and the other Show Question Mark in Owner/Group

I encountered a very weird issue, appreciate if someone could help. One of my folder stored in a LVM2 XFS filesystem (mdadm RAID6), silently became a file and a folder showing question mark on both ...
0
votes
2answers
57 views

how to get disks on a PERC H310 visible again

My setup : small home server with Asrock H67M-ITX, CPU : i3-2120T, PERC H310 RAID with 7 disks all passthrough (I use MDADM for the raid functionality). The system (Ubuntu 20.04) is on a SSD connected ...
1
vote
0answers
70 views

RAID 5 reshape halted after hardware failure, tried to add disk again but, now it is added as spare

I have a 4 disk RAID5 (at a system with centos7). Space was all used up, so decided to add another disk and grow the array. So purchased a SATA card, added it to the machine and added disk on it. Then ...
4
votes
0answers
134 views

Rebooted Ubuntu, Raid6 degraded, Raid5 ok [closed]

Boot Drive is a WD 1TB SSD running Ubuntu 18.04 LTS... I have 2 arrays running off 1 LSI Card... 16 x 8tb IronWolf inside a RaidMachine (Raid 6) [my main data] 11 x 10tb Exos inside a SuperMicro (Raid ...
0
votes
0answers
135 views

ddrescue of a software RAID drive to an .img file, trying to mount results in unknown filesystem type 'linux_raid_member'

I had a Linux sofware RAID10 fail 2 disks on me and after I tried to force an assembly with the start a RAID10 with 2 disks trick, all I got was an empty lost&found directory. So I ran a ddrescue ...
4
votes
1answer
87 views

Struggling to grow my physical VDO size after MD grow

I'm hitting a bit of a brick wall here with vdo growPhysical -n pool. I've recently replaced my 3TB HDD's with 4TB HDD's in an md RAID5 array, which is now showing the correct capacity (8TB) but not ...
0
votes
1answer
233 views

SMART failure of a 4 disk software RAID10, mdadm, 2 drives show REMOVED state

Running Fedora 32 connected to a 4-port e-sata. One of the drives is clearly failing, with this message in the logs: smartd[1169]: Device: /dev/sdd [SAT], FAILED SMART self-check. BACK UP DATA NOW! ...
1
vote
1answer
252 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
231 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
24 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
36 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 ...
30
votes
7answers
5k 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" ...

1
2 3 4 5
16