Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
0
votes
1 answer

Creative solution for a crippled zpool (aka help a dying raid to survive for 1-2 weeks)

I have a ZFS RAIDZ-7 made by 8x4TB on a Proxmox 6 (linux kernel version: 5.4.78-2-pve, openZFS version: 0.8.5-pve1). An unfortunate astral conjunction force me to remove 3 disk from my RAIDZ. In around 1 or 2 weeks 5 new disks comes to me. Not too…
Steve81
  • 13
  • 3
0
votes
1 answer

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 --add /dev/sdg1 sudo mdadm --manage /dev/md0…
CordlessWool
  • 131
  • 3
0
votes
1 answer

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 parted /dev/sde mklabel gpt sudo parted /dev/sdf…
Mitra
  • 113
  • 5
0
votes
1 answer

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 disks appeared as. They showed up as being blank…
user3728501
  • 231
  • 1
  • 3
  • 10
0
votes
1 answer

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] nvme3n1p1[3] nvme2n1p1[2] nvme1n1p11 6250967040…
Bastien974
  • 1,896
  • 12
  • 44
  • 62
0
votes
0 answers

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 file system of the disk. I realized with fdisk…
0
votes
0 answers

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, commonly referred to as FakeRAID. My ultimate goal here is to…
wes
  • 101
  • 3
0
votes
4 answers

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 still have the other drive with the data. So I got…
0
votes
0 answers

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 gives me this. sendmail: fatal: open…
0
votes
0 answers

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 owner and group. All the data on this filesystem…
teclinux
  • 39
  • 4
0
votes
2 answers

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 to the MB SATA. Just got a new CPU : E3-1275…
Memes
  • 408
  • 2
  • 4
  • 11
0
votes
1 answer

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! Here's mdadm: mdadm -D /dev/md0 /dev/md0: …
RobbieTheK
  • 400
  • 6
  • 18
0
votes
1 answer

nullmailer - Diagnostic-Code: SMTP; 550 5.1.0 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 down. I installed nullmailer as MTA on Ubuntu…
MeSo2
  • 254
  • 1
  • 3
  • 18
-1
votes
1 answer

Recover RAID 1 after unclean unmount

I have two drives in my desktop in RAID 1. My computer locked up on me yesterday, so I used SysRq REISUB for a "safe" restart. When the machine booted back up, I realized there was no data on my RAID drives (a few empty directories, but no actual…
Chris
  • 99
-1
votes
2 answers

Recover files from one of three mdadm RAID5 disks

I have lost 2 of 3 mdadm RAID5 disks. How can i recover whatever files are available on the remaining one disk? Sundeep