Linked Questions

5 votes
3 answers
5k views

Add linux md raid write journal to and existing array

I have a raid5 array with quite large disks, so reconstruction is really slow in case of a power outage. Thankfully, there is the --write-journal option for linux md raid. The man page lists the --...
P.Péter's user avatar
  • 525
5 votes
2 answers
4k views

SSD/NVME friendly MD RAID1 rebuild in Linux

I use SSD and NVME RAID1 arrays to store mostly virtual machine disks. More than 75% of the data are zeros (preallocated images, free space). If a disk fails and gets replaced, the rebuild copies and ...
John Lee McMahon's user avatar
1 vote
1 answer
3k views

mdadm not enough devices to start the array - recovery possible?

MD raid5 array appears to have stopped working suddenly. Symptoms are somewhat similar to this issue in that I'm getting errors talking about not enough devices to start the array, however in my case ...
Blair's user avatar
  • 45
2 votes
1 answer
3k views

mdadm RAID array gone after reshape and reboot

My mdadm RAID5 array just underwent a 5>8 disk grow and reshape. This took several days and went uninterrupted. When cat /proc/mdstat said it was complete I rebooted the system and now the array no ...
Adam Barnett's user avatar
1 vote
1 answer
3k views

MDADM - Disaster recovery or move on from the state I put my RAID5 array into

Long story short, for my first thread here, I have a software RAID5 array set up as follow: 4 disk devices with a linux-RAID partition on each. Those disks are: /dev/sda1 /dev/sdb1 /dev/sdd1 /dev/...
Sbastien L. - GEOCONCEPT's user avatar
0 votes
1 answer
2k views

Recovering a Failed Software Raid5

I'm looking to recover data from 4 old HDDs set up in a software raid5 and it looks like a disk has failed. What I want to do is recover the raid so I can copy its data somewhere else. I have done ...
MarkoPaulo's user avatar
2 votes
1 answer
736 views

MDADM RAID1 Creation - Which device is "master"?

In a RAID 1 config with MDADM, which device is the master device during the initialization process? In a RAID 1 config with 2 devices, presumably (?) one device acts as a master and the other as a ...
user3728501's user avatar
1 vote
1 answer
2k views

md: kicking non-fresh sdg from array! md/raid:md0: and then not enough operational devices (3/7 failed)

today I run in a disaster... I have a RAID 6 with 7 HDDs and yesterday one disk failed. After replacing the disk and did a rebuild over night I found out that a 2nd HDD was out of the RAID... So today ...
LeChatNoir's user avatar
0 votes
1 answer
922 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 ...
Jeff Rebeiro's user avatar
3 votes
1 answer
380 views

Restore Hardware RAID5 using 'mdadm'

I have a Hydra LCM RAID device with 4 Bays (4x 2TB Hitachi). I was running it in RAID5 mode since 2010. Last year in May the device was starting giving messages that one drive was degraded and I ...
david's user avatar
  • 131
1 vote
0 answers
953 views

mdadm - How to re-mount the original array after the accidental deletion of superblock?

I had a Linux NAS that I have been using for a few years. Originally I created the MDADM-Array on a Debian OS, using the command-line interface. And at the time the OS was installed on 16GB Sandisk-...
raj47i's user avatar
  • 11
3 votes
0 answers
648 views

Is there any non-destructive way to change the preferred drive in a raid1 mdadm setup?

I have observed empirically that for a raid1 mdadm array, mostly serving sequential reads from single processes, the first disk is basically always picked. This is also confirmed by this code which ...
JoeSlav's user avatar
  • 128
1 vote
2 answers
495 views

Recover mdadm raid1 built with full disks (overwritten partition data)

While setting up my new PC I also setup a new RAID 1 with 2 drives with LUKS on top. After copying all the data to it I made sure everything was usable and afterwards shredded the old drive. But now I ...
felix jochems's user avatar
0 votes
0 answers
505 views

Problem mounting a raid 0 array with two disks:

I am trying to back up data of my Ubuntu system that's not booting. The data was on an ext4 partition with a raid0 arry of two SSD disks (/dev/nvme0n1p3 and /dev/nvme1n1p3). But I am not able to mount ...
Gree Fea's user avatar
1 vote
1 answer
335 views

RAID6 unable to mount EXT4-fs: bad geometry: block count exceeds size of device

On my server, I had an SSD as the boot drive with 11 6TB HDDs in a RAID6 setup as additional storage. However, after running into some issues with the motherboard, I switched the motherboard to one ...
jameszp's user avatar
  • 53

15 30 50 per page