Questions tagged [mdadm]

a utility to administrate Linux Software RAID devices

Filter by
Sorted by
Tagged with
-2 votes
0 answers
29 views

I need to create a RAID 1 using mdadm and the boot drive but it will not let me use the boot drive

I want to create a RAID 1 with 3 drives and use one as a spare. I installed Ubuntu on sda, but it won't let me create a RAID using sda and sdb with sdc as a spare drive. How to create RAID 1 using ...
senad cobaj's user avatar
0 votes
0 answers
26 views

How do I get my RAID array back and mounted after reboot

I had created a raid-1 array for two drives (sde and sdf) using the normal mdadm process and had created it under md1 and mounted it to /mnt/storage. After a reboot md1 no longer exists. My /mnt/plex ...
Adam's user avatar
  • 1
0 votes
0 answers
35 views

mdadm RAID10 device ordering not sequential

After a power outage one of the drives in my two RAID10s stopped working and put the arrays into 'degraded' state. The drive had two partitions, one which I think was for a swap raid and the other was ...
LancerDL's user avatar
0 votes
1 answer
88 views

Problem with MDADM / ZFS

Just reinstalled Kubuntu version 22 (was trying a 20=>22 LTS support upgrade and it all went badly wrong.) I'm now encountering problems getting my disk arrays working again. Couldn't remember the ...
user1417230's user avatar
0 votes
0 answers
31 views

md RAID spare disk partition has another partition?

I recently had a drive fail in my RAID 5 array with 3 disks and 1 spare. The spare was used automatically. All seems to be working OK. I then added a new disk as the new spare like this, where sdb was ...
TommyPeanuts's user avatar
0 votes
0 answers
30 views

Mixed HDD sized using Raid5 and mdadm

I currently have three 4TB HDDs in a raid 5 array using mdadm on Ubuntu 23.04. I only have 2 HDD open slots left. I am thinking about adding two 18TB HDD to my PC. Then combing the three 4 TB ...
SkiBum's user avatar
  • 70
0 votes
1 answer
35 views

How do I get my original RAID setup running again?

I was trying to upgrade my raid 5 to larger drives. I was following a guide I found at: https://rabexc.org/posts/mdadm-replace But I could tell something was wrong before I added the larger drive. ...
user160222's user avatar
0 votes
0 answers
45 views

mdadm check raid1 - does it even make sense?

what does a raid1 check actually do? I have a simple setup, two drives as mdadm raid1 (Ubuntu 20.04). I run a check and it says everything OK. I changed one byte on one of the physical drives using a ...
rp0's user avatar
  • 1
1 vote
0 answers
36 views

Repair a Ubuntu server installation after power fluctuation

I have an ubuntu server that includes a 256GB SSD as the boot device and 3 6TB SATA HDDs as a mdadm software RAID5 array. While it was up and running we had an electrical service interruption that ...
BrianC8's user avatar
  • 11
0 votes
0 answers
50 views

Reload raid at Ubuntu

I use Ubuntu with one big Mdadm (raid with two big disks) but: I've got new disk with OS (Ubuntu of course). I'm trying to reload my Mdadm. Without success. # cat /proc/mdstat Personalities : [raid0] [...
Lukáš's user avatar
1 vote
1 answer
117 views

Will gdisk or sgdisk commands delete my data? (mdadm e-mail alert)

I currently try to fix my mdadm /dev/md0 raid5 partition. I was informed via e-mail notification from mdadm e-mail alerts that there is a fail event and a DegradedArray event. I found this as a ...
befaro's user avatar
  • 13
0 votes
0 answers
50 views

Repeated corruption issues after expanding Raid6

I have a Raid6 array that has been functioning perfectly well for the past several years, but out of a desire to keep path names organized I expanded the array to include 2 additional devices. While ...
Oa10712's user avatar
0 votes
1 answer
148 views

Fresh install of Ubuntu Server - Will raid (MDADM) be detected without losing data?

hoping you can help me. My server's current boot drive appears to be dead. I can't boot. Internally i have four drives. The last three were set up as raid 5 with mdadm. The drive in slot 1 was just a ...
David Royston King's user avatar
0 votes
0 answers
48 views

Access Windows Software RAID 5?

Moving to Ubuntu, running 22.04.2 LTS. Previously I had Windows 10 installed and created a software RAID 5 (or fake-RAID) following these steps: https://recoverhdd.com/blog/creating-software-raid-in-...
MagicVovo's user avatar
-1 votes
1 answer
73 views

Dual boot PC using Intel RST Raid

Has anyone been successful accessing (read and write) an Intel RST raid array from both Windows and Ubuntu on a dual boot PC? I have a single PC with 6 drives: Ubuntu O/S (m2) Windows O/S (SSD) 4 ...
SkiBum's user avatar
  • 70
0 votes
0 answers
291 views

How to install Ubuntu 22.04 Desktop with Raid 0

I have 4 identical SSD hard drives in my dektop and want to install Ubuntu 22.04 on it with a software raid 0. I know that RAID 0 is not a good idea in terms of data security. But I want to try ...
Janning's user avatar
  • 1,875
1 vote
0 answers
694 views

mdadm: error opening /dev/md?*:

I have a Ubuntu 22.04 LTS Jammy Jellyfish system with RAID0 and LVM on 2x 2TB hard. After rebooting, the server ended up in initramfs: mdadm: No devices listed in conf file were found. mdadm: error ...
webster's user avatar
  • 11
1 vote
1 answer
459 views

Unable to add new Disk to MDADM Raid: Failed to write metadata

When I try to add a new disk to mdadm, I am getting back an error: sudo mdadm --add /dev/md0 /dev/sdd --verbose mdadm: Failed to write metadata to /dev/sdd Is this a problem with my setup or ...
Patch's user avatar
  • 11
0 votes
0 answers
45 views

Disk failed and other removed of raid

I have "or I had :(" a raid 1 on my ubuntu.I had problems with a disk and I try to format this disk and rebuild the raid, but then, the system stop the rebuild syncronization about 51,2%. I ...
Andrés Fernández's user avatar
0 votes
0 answers
167 views

mdadm -c does not set the mode and so cannot be first option

I am following the instruction here I am stuck at this line mdadm –create /dev/md0 –level=1 –metadata=0.9 –raid-devices=2 /dev/sda1 /dev/sda2 I get the following error when I try to run it mdadm: -c ...
J.C's user avatar
  • 121
0 votes
0 answers
45 views

Do I need to create a raid with the iDRAC or better with LVM?

We bought a new DELL Server (PE R7525) with AMD EPYC processors and 7 SSDs (a 1.92Tb storage space). As I am not familiar with it I would like to ask for advice, before trying it the hard way. Does ...
Assa Yeroslaviz's user avatar
0 votes
0 answers
117 views

Replacing failed drive using mdadm

I have a test server running Ubuntu Server 22.04. The server boots from a small SSD. When setting it up I used mdadm to create a RAID1 with two 1 TB drives for data. After a few months, one of the ...
RCO's user avatar
  • 1
0 votes
0 answers
46 views

Raid 1 sincronization very slow and stop

I have a Raid 1 software in Ubuntu 22.04.1. One day I saw that I had two raids instead of one: md0 and md127, and that both had one disk. Then I looked for which of the raid was the main one, turned ...
Andrés Fernández's user avatar
1 vote
1 answer
3k views

mdadm: No arrays found in config file or automatically

On a 22.04.1 Ubuntu HP EliteBook 8570w laptop the following message is displayed a number of times when I boot it without an external disk (two partitions, data not system) plugged in: mdadm: No ...
manu's user avatar
  • 11
0 votes
0 answers
96 views

Are kernel modules (in this case: NVM Express) capable of completely disabling devices in bios on BMC-based systems, so that they seem to be vanished?

I am having an argument with one of our suppliers about a "vanished" NVMe. Server has two NVMe, running with in raid-1 via mdadm. syslog: Nov 20 01:31:21 server kernel: [4638997.424557] md/...
Benjamin Knodel's user avatar
0 votes
0 answers
29 views

MDADM 3TB RAID1 add continous 6TB RAID

I have software RAID1 with SDA + SDB (3TB). I make them via this commnad: sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb and this mirror RAID working nice. Now I ...
Peter's user avatar
  • 101
0 votes
1 answer
204 views

Is bit rot still a thing?

In short: I have a NAS which died once and since repairing it I have a secondary backup machine which runs ubuntu. On the ubuntu machine I used mdadm to create a raid5 storage space. Is it fine on ...
yusisushi's user avatar
  • 158
0 votes
1 answer
73 views

Is there a way to replace a magic superblock?

Following instructions from the Internet (Without doing research first) I have blanked out the superblock on the incorrect RAID disk. Using this command; sudo mdadm --zero-superblock /dev/sdd Now ...
Taihlo's user avatar
  • 1
0 votes
0 answers
32 views

Is it possible to salvage what is left of a Raid array? Raid 0

So we had a 22.04 LTS update go bad on our Zoneminder server and we had a raid array for our video storage setup. All the 1.82 TiB drivers are part of that raid 0. Picture Showing the different Drive ...
Loren Tedford KC9ZHV's user avatar
0 votes
0 answers
74 views

Mdadm commands for RAID5 array are doing nothing (Ubuntu Server 22.04)

I upgraded to ubuntu server to 22.04 from 20.04 and since then I have been unable to retrieve my RAID 5 array of 4 6tb drives. Since trying to get it back up and running, all mdadm commands have been ...
tasksnstuff's user avatar
1 vote
0 answers
561 views

How to mount a single hard disk from a former QNAP NAS with a DRBD volume under Ubuntu for data recovery?

Under Ubuntu, how to mount a single disk from a defunct QNAP NAS with a DRBD volume with a software RAID 1, for the purpose of data recovery? QNAP NAS, which was using software RAID1: https://www....
Alfred.37's user avatar
  • 279
0 votes
0 answers
141 views

Kernel Panics Unable to mount rootfs, HELP

Hej, I need some serious help, I recently updated to 22.04. I'm not unable to start server with out getting this error. I upgraded from 18.04 to 20.04 with no issues so am surprised I now got this. ...
weavil's user avatar
  • 1
0 votes
1 answer
182 views

What is a "SparesMissing event" of a md RAID 5 array?

I have set up a Ubuntu Server 22.04 installation with a xfs filesystem on a RAID 5 /dev/md0 array. Now I get e-mail notifications from the mdadm monitoring, that a "SparesMissing" event has ...
John L.'s user avatar
  • 61
1 vote
1 answer
218 views

I cannot boot if mdadm RAID1 array is in FSTAB

Context: Due to a failed update from 20.04 to a 22.04, I decided to reinstall from zero the 22.04. All things went fine, but I’m with an unbootable system if I left RAID entry at FSTAB. I have a 2 ...
Marcelo Scofano Diniz's user avatar
2 votes
1 answer
639 views

Ubuntu 22.04 LTS freezes during RAID recheck of multiple RAIDs

I run Ubuntu 22.04 on a machine with three software RAIDs of different size and geometry, with two of them (they are called md5 and md6) very large. Disks are shared between these arrays for certain ...
Kai Petzke's user avatar
-1 votes
1 answer
328 views

How to identify a bad disk in a RAID setup on Linux?

I am observing the below error on dmesg for a RAID Array. How can i go about finding which drive in the RAID is bad [Fri Aug 26 19:31:13 2022] EXT4-fs warning (device md0): ext4_end_bio:349: I/O error ...
shravan's user avatar
  • 21
0 votes
0 answers
283 views

After I installed Ubuntu 22.04 "error processing package mdadm (--configure)"

I upgraded to Ubuntu 22.04LTS from 20.04LTS. Now it appears that the "mdadm" package is giving me hassles. Whenever I want to look for upgrades in terminal I get this error message: Setting ...
JohnPta's user avatar
  • 11
0 votes
1 answer
905 views

Recover data from RAID 1 member

I am trying to recover data from a drive that was part of a RAID1. First a little background. The RAID1 consisted of 2 disks (/dev/sde and /dev/sdf). It was built ~6 years ago using mdadm. In recent ...
Peter's user avatar
  • 101
0 votes
1 answer
951 views

Ubuntu 22.04 server autoinstall software RAID 1

I'm working on an Ubuntu 22.04 Server autoinstall. So far it works great on a single drive. But the next step is RAID 1... According to the cloud-init docs this is not supported as part of cloud-init ...
Andre Courchesne's user avatar
0 votes
0 answers
187 views

Ubuntu server destroyed my raid5 array

I have a machine running Ubuntu server at home with a 4 drive mdadm ext4 raid5 array. It was running 20.04.4 until about 3-4 weeks ago when I upgraded it to 22.04. It was running well until 5 days ...
marj's user avatar
  • 1
0 votes
1 answer
373 views

RAID validation fails during Ubuntu Server 22.04 installation

I've followed Install Ubuntu 20.04 Focal Fossa with RAID 1 on two devices to set up RAID 1 during the installation of Ubuntu Server 22.04, yet installation always fails with a RAID validation error (I ...
Filippo Bastianello's user avatar
0 votes
1 answer
126 views

How do I mount this laptop harddrive using a Live CD?

I have a Windows laptop that went wrong, and I would like to mount the harddrive using a live CD to rescue a couple of files. I don't know how the drive is formatted or arranged but from my early ...
RenegadeAndy's user avatar
0 votes
2 answers
1k views

Dual Booting Ubuntu 22.04 LTS with Raid 0 grub installation failure

I am fairly new to Ubuntu so bear with me. I recently built a PC and I wanted to run software RAID 0 on my two 1T SSDs; however, I also want to dual boot Ubuntu 22.04 alongside Windows 10. In the ...
yungdankblast's user avatar
0 votes
0 answers
48 views

Assembled two arrays with mdadm with same characteristics in the disks but ended up with slightly different sizes

I'm having problems with the size of the arrays created by mdadm. First of all, some context. I've recently upgraded from ubuntu server 18.04 to 20.04. I'm running several raid5 arrays and a raid10. ...
samazzitelli's user avatar
0 votes
0 answers
90 views

Help with mounting mdadm array

I recently lost my NAS and am trying to recover the data in my RAID. The disks are fine, its just the NAS hardware that stopped booting and I can't get any support as its discontinued. I attached the ...
duskiez's user avatar
1 vote
1 answer
196 views

How to determine which physical disk in a RAID needs to be replaced in the event of a failure?

If I have a RAID array configured (using mdadm), what's the best way of making sure I can tell which physical disk to replace in the event that one fails? cat /proc/mdstat will tell me that (say) /dev/...
TommyPeanuts's user avatar
1 vote
0 answers
344 views

Problem dealing with corrupt file and mdadm

I'm running ubuntu server 20.04 with 4x 4TB drives in a RAID5 array using mdadm to provide a non-root, ext4 partition. I have a few rsync scripts to backup key folders and one of them generated an ...
M Szil's user avatar
  • 31
2 votes
1 answer
3k views

How can I create mdadm RAID1 without losing data?

I have a 4TB hard drive. I mounted that hard drive in /var, to be able to store and make backups of a production server, and I came up with the idea of creating a RAID 1. For that I requested another ...
DarckBlezzer's user avatar
1 vote
0 answers
910 views

mounting EXT4 linux raid1 array with WSL2 on a windows host machine

Two years ago I created a linux/ext4 raid1 array of two 4TB WD Red HDDs to mirror my data. At that time I was using a small ARM64 device, and used mdadm to assemble the array. That small computer was ...
Fuji Yakabongo's user avatar
0 votes
0 answers
171 views

Try to read raid 1 (mirror) disk

I have the raid 1 (mirror) disks coming from an enclosure that stopped working. So I am trying to recover the data putting one disk into a USB adapter. When I connect the adapter /dev adds item sdb, ...
Franz's user avatar
  • 1

1
2 3 4 5
10