Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
-1
votes
0answers
24 views

how to update Linux Kernel on “Ubuntu LTS 20.04” Windows Subsystem for Linux 2

is it possible to update Linux kernel on WSL2 ukuu isn't possible and dpkg --install *.deb gives me an error (Reading database ... 68035 files and directories currently installed.) Preparing to ...
0
votes
1answer
1k views

XFS on LVM on soft raid10 stripe alignment

I am working on setting up a backup server using a bunch of 3TB disks. I've put a lot of thought into this, and I'd like to use the following setup: I'll partition the disks with a single partition, ...
1
vote
1answer
13 views

How to add extra mirror drive to existing raid array using mdadm?

I created an array with: mdadm --create --verbose /dev/md3 --level=mirror --raid-devices=2 /dev/sdc1 /dev/sdd1 The above has now completed succesfully. Now I want to add an extra drive to end up ...
3
votes
1answer
2k views

Understanding iostat with Linux software RAID

I'm trying to understand what I see in iostat, specifically the differences between the output for md and sd devices. I have a couple of quite large Centos Linux servers, each with E3-1230 CPU, 16 GB ...
0
votes
1answer
2k views

Fsck on partition inside RAID broke file system AND RAID

What was: RAID 1 with mdadm on whole disks say /dev/md0 from /dev/sda and sdb, GPT with one partition on md0 and ext4 on this partition (md0p1). What I think happens: after changing motherboard linux ...
1
vote
2answers
11k views

System unbootable - grub error: disk lvmid not found

I'm gettind this error at boot: grub error: disk 'lvid/caoMWu-o417-GMgh-6vFj-1qrw-iJMi-ypwm0f/Z2eotR-N0HN-nrol-3hUd-odMB-GzHy-4PrsnL' not found. Entering rescue mode.. I can't even get the ...
1
vote
1answer
1k 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 ...
4
votes
0answers
40 views

Why do 5 drives disappear when I scan for them?

I am trying to diagnose why my raid6 array of 20 hard drives stopped working on my ubuntu installation. I noticed that when I tried to force it to start, several drives simply stopped being listed in ...
0
votes
0answers
9 views

Boot Message after “RAID: Clean”-Message: “Failed to send exit request: Connection refused”

I just installed Manjaro on a (md-adm) RAID10 consisting of two Samsung 970 Evo Plus NVMe M.2 SSDs. During boot, the following message flashes up twice. What could it mean / what does it tell me? ...
0
votes
1answer
23 views

mdadm raid resync

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 ...
1
vote
1answer
68 views

mdcheck_start Service Fails to Start

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 ...
2
votes
1answer
6k views

“rcu_sched detected stalls on CPUs/tasks” - jiffies - ESXi Ubuntu 16 FileServer Guest

I have a VERY simple Ubuntu 16 x64 VM setup on my ESXi host which acts as a fileserver. It has NFS/SMB and MDADM installed. It is fully updated. Twice in the last week it has hung with an error ...
3
votes
1answer
1k views

How to check/fix nvme health?

I'm running debian stable with a 2 x nvme Raid 1. Here is the hardware/hoster it's running on https://www.hetzner.com/dedicated-rootserver/ex62-nvme?country=us Almost every second day mdadm monitoring ...
0
votes
1answer
36 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
22 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
1answer
32 views

Accidentally executed luksFormat instead of luksOpen

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 ...
0
votes
1answer
30 views

Access to N4100pro RAID array fails with message “unknown file system type LVM2_member”

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 ...
2
votes
1answer
2k views

lsblk shows non-existent md partitions after reboot

I'm getting weird behaviour while setting up an mdadm RAID1 array on debian 8.2. After I set-up the array, lsblk shows: simon@debian-server:~$ lsblk NAME MAJ:MIN RM SIZE ...
0
votes
0answers
22 views

Is it possible to shrink raid5 software array in a safe way?

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 ...
2
votes
7answers
11k views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
0
votes
1answer
2k views

raid wont start on boot

i have a problem with a raid 1 on my raspberry pi 2. as system is use jessie-lite. If i reboot or boot the system, raid won't start. root@raspberrypi:~# cat /proc/mdstat Personalities : unused ...
0
votes
2answers
23 views

raid 2 smaller drives with one larger drive

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 ...
1
vote
2answers
39 views

Can the Volume Group be resized if I put LVM on top of mdadm and the md device size changes?

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 ...
0
votes
1answer
4k views

mdadm mounting array no such file or directory error

I used NAS system(Readynas) with Raid5 , but somehow trouble happened. So I connected every four disks to my Ubuntu machine and trying to rescue data. $cat /etc/mdstat/mdstat.conf ARRAY /dev/md/1 ...
1
vote
1answer
1k views

Linux does not recognize Fake-RAID 0

I am trying to set up Linux (preferably Linux Mint) with Dual Boot alongside my Windows 10 installation. Now the problem is, I'm using a Fake-RAID 0 setup, because I really dislike having partitions. ...
0
votes
2answers
127 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 "...
1
vote
1answer
2k views

SW RAID-1 grub-install

I just changed /sda system disk in SW RAID using following steps, simply put: sfdisk -d /dev/sdb | sfdisk /dev/sda mdadm --manage /dev/md0 --add /dev/sda2 Now disk is initializing chcked by: cat /...
1
vote
1answer
15 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 ...
0
votes
1answer
42 views

fstab issue on mounted drives

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 ...
0
votes
1answer
21 views

Linux raid suddenly not assembling when rebooting

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/...
1
vote
0answers
52 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) : ...
1
vote
1answer
20 views

Help me understand the recovered file system

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 ...
2
votes
0answers
31 views

Mdadm Raid6 Re(assemble|build|create) from 6x disk images of original array

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....
2
votes
0answers
129 views

How to recover journal superblock on mdadm RAID5 array

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: ...
1
vote
0answers
34 views

How can I change the name of an unencrypted LUKS partition mounted as the root filesystem?

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'...
0
votes
1answer
26 views

Added space to LVM, shows up in Size, but as Used

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 ...
3
votes
1answer
3k views

How to create a 3x3TB RAID 5 array without losing data from 2 of the drives?

I currently have 2 3TB HDDs, one that is always almost full, and another with ~200GB free. I would like to purchase an extra 3TB drive and setup a RAID 5 array, but I am concerned about losing the ...
0
votes
1answer
199 views

Simple mdadm RAID 1 setup for booting degraded and reverting upgrades?

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 ...
0
votes
0answers
24 views

Investigating a failed drive in a raid array

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 ...
1
vote
2answers
360 views

bash script to execute a command,when RAID rebuilt has been finished

Does anyone have have a script to check when a RAID-rebuild is done and then execute a command? I am checking the status of /proc/mdadm and when the resync is done, it should execute a command that ...
1
vote
1answer
125 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 ...
1
vote
1answer
44 views

mdadm create raid 5 stopped after ony few hours

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: ...
2
votes
2answers
389 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 ...
1
vote
0answers
155 views

Slow write speed on encrypted drive, while benchmark shows much higher encryption / raw disk write rates

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 ...
0
votes
0answers
31 views

How to mount a RAID1 drive?

I have a 2TB drive from my two-bay Synology NAS that I want to access via Linux Mint. fdisk shows: root@HUB:/# fdisk -l Disk /dev/sda: 111.8 GiB, 120033041920 bytes, 234439535 sectors Units: ...
1
vote
1answer
62 views

Getting an error “appear to have very similar superblocks”. Ways to fix it?

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 --...
1
vote
2answers
872 views

4-drive RAID-6 implementation and GPT

My current idea is to create one software array, class RAID-6, with 4 member drives, using mdadm. Specifically, the drives would be 1 TB HDDs on SATA in a small server Dell T20. Operating System is ...
1
vote
0answers
75 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 ...
3
votes
1answer
63 views

RAID5 repair froze on NAS, trying to restore with mdadm now

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 ...

1
2 3 4 5
9