Skip to main content

Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
3 votes
2 answers
3k views

I've got a brand new Ubuntu 20.04 machine built out which is using a mdadm RAID5 configuration (3x 10TB). The system is throwing an error every time I log in. I can see from systemctl that the ...
Game Poop's user avatar
0 votes
1 answer
3k views

i have a raspberry pi with two USB thumb drives that are in a mirror raid array and store my data that I share using Nextcloud. Now randomly, I caught today that one USB drive LED was flashing without ...
stdcerr's user avatar
  • 2,109
0 votes
1 answer
2k views

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 ...
uteNTION's user avatar
0 votes
1 answer
1k views

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 ...
Jeff Rebeiro's user avatar
0 votes
1 answer
514 views

I have two disks as RAID-1 encrypted via LUKS: # blkid ... /dev/md0: UUID="x-x-x-x-x" TYPE="crypto_LUKS" Accidently I executed cryptsetup luksFormat /dev/md0 instead of cryptsetup luksOpen /dev/md0 ...
user1753343's user avatar
0 votes
1 answer
281 views

My old NAS Thecus N4100pro NAS unfortunately broke down. Now I try to access the NAS via the Knoppix Linux live CD (http://www.knoppix.org/). I connected the hard drives via USB using an UGREEN USB3 ...
Max's user avatar
  • 101
0 votes
0 answers
377 views

Is it possible to shrink ext4 filesystem and the underlying raid5 array in a safe way? I would like to shrink my 15 TB / 6 drive raid array that contains an ext4 filesystem. Before I do that on live ...
Adam Golebiowski's user avatar
0 votes
2 answers
744 views

I have to re-setup my RAID array and I'm faced with some different sized disks. I'd like to do raid 1 mirror w/ 2x 5TB and 1 8TB drive. I'm not sure the best way to do this. Two options I thought of ...
FreeSoftwareServers's user avatar
2 votes
2 answers
1k views

Due to my increasing amount of important data, I need a software RAID5 array for redundancy, flexibility and cost effectiveness. ZFS is not an option for me, since my distro (OpenWrt) does not ...
Livy's user avatar
  • 455
0 votes
2 answers
20k views

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 ...
Michał Walenciak's user avatar
0 votes
1 answer
876 views

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 "...
FreeSoftwareServers's user avatar
3 votes
1 answer
1k views

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 ...
Dennisw95's user avatar
0 votes
1 answer
2k views

I am running Ubuntu 18.04 and recently installed two new hard drives running a RAID 1 that I set up using mdadm. But when I shut down and unplug the computer, plug back in the power, then turn the ...
twcardenas's user avatar
0 votes
1 answer
2k views

I had a very simple RAID0 set up with just two disks, and it was assembling fine for a long time after rebooting. Then suddenly it is not loading anymore. mdadm.conf: DEVICE partitions ARRAY /dev/...
simernes's user avatar
  • 315
1 vote
0 answers
2k views

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) : ...
hexen's user avatar
  • 11
2 votes
1 answer
39 views

So I had a Synology machine that went bottoms up (motherboard). I built a debian system myself and installed the hard disks today. After some twiddling with mdadm I was able to mount the both hard ...
A. Munir's user avatar
  • 121
2 votes
0 answers
356 views

I have 6 1TB drives from several years ago. There was a problem with the Seagate drives's microcode, so I updated it. Unfortunately, this reset the UUID of two drives and the RAID6 array was broken....
JohnT's user avatar
  • 21
2 votes
0 answers
2k views

Yesterday my raid5 array with 3 disks was suddenly unmounted. After examining it, it seemed it had become degraded and one of the disks had a much lower event count than the rest. I started running: ...
David Planella's user avatar
2 votes
1 answer
1k views

When I installed Linux, the block-device-path of my root LUKS device was /dev/md125 and the unencrypted partition was /dev/mapper/md125_crypt. I have since renamed the MD device to /dev/md0, and now I'...
ATLief's user avatar
  • 338
0 votes
1 answer
136 views

My root partition is XFS on LVM. Before I did anything, I had two physical disks which were combined using md as /dev/md126 into a PV. That PV was the only member of a VG centos_x5backup, and there ...
Daniel's user avatar
  • 123
0 votes
1 answer
6k views

I have searched extensively for this answer and cannot find it... might anyone please know how to set up a linux software mdadm RAID 1 array, such that the computer will still be bootable and ...
ninjagecko's user avatar
0 votes
0 answers
69 views

Is there any way to determine what may have happened in the following scenario? We have a RAID5 that should have been originally built with 5 drives. As it stands, this is some of the state that I'm ...
Rail24's user avatar
  • 141
2 votes
1 answer
2k views

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 ...
Christian Eriksson's user avatar
1 vote
1 answer
357 views

I'm trying to setup a raid 5 for my Nextcloud but when I run the mdadm --create command it stops. Here is my configuration : Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 732566646 sectors Units: ...
Izaya's user avatar
  • 111
3 votes
0 answers
3k views

I currently setup a NAS with Ubuntu 18.04 on a Netgear ReadyNAS 102device. The machine has a Armada Marvell 370/XP SoC with a hardware encryption accelerator called "CESA". The kernel drivers for CESA ...
SDwarfs's user avatar
  • 159
1 vote
1 answer
406 views

So something strange is with my partitions. root@rescue ~ # mdadm -A --scan mdadm: WARNING /dev/sdb1 and /dev/sdb appear to have very similar superblocks. If they are really different, please --...
Viktor's user avatar
  • 227
1 vote
0 answers
221 views

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 ...
infernalcucumber's user avatar
3 votes
1 answer
265 views

I am running a Zyxxel NAS540 with 4x4TB Hard Drives. A few days ago the NAS started beeping and I saw that the RAID is in a degraded state. Since one of the drives had really bad SMART values, I shut ...
stainless's user avatar
0 votes
1 answer
815 views

I connected a 4-bay enclosure with 4 new 8TB disks to my rPi. This disks appeared in lsblk as sda to sdd. Following this tutorial I created the array doing mdadm -C /dev/md0 --level=raid5 --raid-...
Zegpi's user avatar
  • 103
6 votes
1 answer
3k views

I've been using an mdadm RAID1 array with 2 2TB disks for a few years without issues. Recently I needed to upgrade it to 4TB so I bought 2 new disks of 4TB and plan to replace one, wait for the ...
José Luis R.P.'s user avatar
1 vote
1 answer
2k views

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 ...
Galen Zhao's user avatar
1 vote
0 answers
331 views

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 ...
Muszyn8's user avatar
  • 11
1 vote
1 answer
2k views

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 ...
stuck.intraffic's user avatar
1 vote
1 answer
287 views

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] ...
Cerrie Russell's user avatar
0 votes
1 answer
2k views

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 ...
Prototype700's user avatar
0 votes
0 answers
247 views

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 ...
Krzysztof Jakóbczyk's user avatar
0 votes
0 answers
497 views

I am running a home server with three RAID1 arrays, each with two drives: md0, md1 and md127. After an accidental reboot, md0 and md1 are running on one device only, and I cannot add back the ...
giovi321's user avatar
  • 919
0 votes
1 answer
358 views

I have a RAID1 array with one sligtly damaged disk /dev/sdb. I put a fresh hard disk /dev/sda into this array in order to mirror sdb (then I’m gonna replace sdb with a fresh HDD). # cat /proc/mdstat ...
MaximAL's user avatar
  • 101
1 vote
1 answer
900 views

I noticed a strange issue when creating RAID array with mdadm. As far as I see, it creates additional devices of md type. According to the kernel.org documentation, the md device type is Metadisk (...
Alan Kis's user avatar
  • 283
11 votes
2 answers
10k views

On Ubuntu 18.04 I create a RAID 1 array like this: mdadm --create /dev/md/myarray --level=1 --run --raid-devices=2 /dev/sdc /dev/sdd I then add the output of mdadm --detail --scan /dev/md/myarray to /...
EM0's user avatar
  • 515
2 votes
1 answer
505 views

Maybe it's an XY Problem, so here's a full situation: We have lots of servers now which will be used as storage/databases. All of them have similar setup: SSD drive for OS (Ubuntu 18.04.2 LTS) and 6 ...
Groosha's user avatar
  • 315
2 votes
1 answer
3k views

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 ...
Nick's user avatar
  • 23
3 votes
2 answers
3k views

It looks like my system is suffering from some sort of catastrophic failure, and I'm panicking at the moment, not sure what to do. I had a 3 drive raid 10 array. I noticed this morning that I was ...
user361233's user avatar
2 votes
1 answer
3k views

I have a 4 disk RAID5 setup with mdadm in Ubuntu 16.04. sdb : good sdc : 8 bad sectors according to SMART, 8 pending, 4 reported errors sdd : bad blocks present according to mdadm --examine sde : ...
JDWK's user avatar
  • 41
2 votes
0 answers
608 views

How might I be repeatedly corrupting my superblocks on RAID1 I have had two occasions in the past six months of RAID1 root arrays becoming unusable because of problems with the superblock. ...
Stonecraft's user avatar
2 votes
1 answer
570 views

I have Centos 7 I have a 7 drive RAID6 Array created using mdadm. (This is composed on WD 4TB Red drives) I have setup the RAID array as a LVM PV - all this has been working well for ages. I have ...
Craig's user avatar
  • 31
3 votes
2 answers
448 views

I have a mdadm raid 6 file system, which only has 3 disks out of 4 running. I have 4x2tb disks, whenever I add the 4th disk (I tried all week) and do a ls it gives me some file system errors: $ ll /...
simonzack's user avatar
  • 762
2 votes
1 answer
1k views

I've place the bitmap on an external EXT4 drive (1xHDD) but I would expect the file to be written too whenever data is changed on my RAID10 array, right? I even did checksum of the bitmap file, and it'...
MrCalvin's user avatar
  • 776
1 vote
2 answers
154 views

My initial raid setup was 2x2TB RAID 1 using mdadm. I have bought a 3rd 2TB drive in the hopes to upgrade the RAID's total capacity to 4 TB using mdadm. I have already run the following two ...
cloudcalvin's user avatar
3 votes
0 answers
332 views

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 (/...
Daniele Testa's user avatar

1
3 4
5
6 7
13