A linux utility used to manage software RAID devices.
Questions tagged [mdadm]
844 questions
0
votes
1 answer
Have to manually build RAID array every boot and cannot add third drive - MDADM
I have a RAID1 array that I've had to manually rebuild every time the system boots for a long time. Never had time to figure out why. This is the command I've been using to rebuild it every boot:
sudo mdadm --build /dev/md0 --level=1…

Gradyn Wursten
- 113
- 4
0
votes
1 answer
Replaced all mdadm RAID1 drives with new, larger drives. Now can not boot from the RAID1
I have simply replaced all of my mdadm array hard drives with some larger drives. I then went to reboot the system and upon booting it comes up with a grub error. I'm not sure what is needed to be done to the mdadm drives to get them to boot…

Derek Edwards
- 33
- 6
0
votes
1 answer
Separating /boot from the rest of the System
I have a theoretical system configuration question; If I build my system on a software RAID1 but put /boot on a USB.. could there be problems if the RAID becomes dirty? The setup would be as follows:
USB -----------> /boot
RAID1
sda
sdb --> md0…

Will Roberts
- 53
- 1
- 6
0
votes
0 answers
RAID10 software raid converted as RAID0
On one of the server, The RAID10 software raid volume had became RAID0 after one the disks in the RAID10 disk group failed. Also the converted RAID0 volume has become inactive.
How can we recover the RAID volume after replacing the failed…

Chandra
- 1
- 1
0
votes
1 answer
Recover Linux RAID1 - FAT32 but shows ext2, can't assemble, but shows backup superblocks...I am STUCK
I have 2 physical disks in linux RAID1, I am not sure what happened, I think someone who should not have been in the system partitioned the md0 by mistake while the system was running while trying to add a new disk. Regardless, on reboot, it went to…

Rob
- 1
- 1
0
votes
2 answers
Mount a HDD from a RAID to recover some data
I'm struggling to mount a HDD from a Synology DS214 RAID1 on my computer to backup some data from it.
I can't mount directly because this HDD come from a raid
mount /dev/sda1 /mnt
mount: unknown filesystem type 'linux_raid_member'
So i installed…

VHUSB
- 1
- 2
0
votes
1 answer
How to use mdadm to assemble arrays from crashed windows server
I got 12 hard disks from completely crashed server, some of them are failing, too. I successfully saved bit copy of all of them, even not always error free.
I found 512MB superblock on each end of disk starting with a word DSREGION. The 512MB of…

schweik
- 263
- 2
- 9
0
votes
1 answer
different mdadm RAID on same disk?
I am looking for factual knowledge or actual measurements to validate or not my idea. Please, hold answers without data just saying it is a weird idea because not the most common setup.
short question: Are the concrete problems on running two raids…

gcb
- 344
- 1
- 4
- 18
0
votes
1 answer
mdadm how to use an array as a "member disk" in another array
I HAD a 4-disk RAID 5 array with MDADM. One of the disks failed.
I bought a new disk three times the size of original disks as replacement.
I now have
3x5TB disks in a degraded RAID5
1x16TB disk free unused
I want to change the existing raid from…

velis
- 233
- 2
- 10
0
votes
1 answer
Raid-10 mdadm - How to Manually Configure Mirrored Drive Order?
How do I configure a new mdadm software RAID-10 to use a specific order for its drive mirroring?
Say I have 4 hard drives: A, B, C, and D.
For my own reliability and performance reasons, I want drive A to be a mirror of drive C, and drive B to be a…

Crash Override
- 601
- 1
- 10
- 21
0
votes
1 answer
mdadm : assemble raid5 created with missing disk
2 years ago i've created a raid5 array with 2 disks like this :
mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 missing
Now i've rebuilt my system with latest ubuntu server LTS, and mdadm does not reassemble a running array…

Alexandre Barth
- 1
- 1
- 1
0
votes
1 answer
Better way to share HDD between KVM guests
Is there a better way to share HDD between multiply KVM guests at the same time then NFS? I have MDADM RAID 1 with all of my info and also I'm planning to take my Nextcloud to a KVM guest and want Nextcloud to be able to read/write all of my files…

mailoo95
- 13
- 1
- 5
0
votes
0 answers
Recover mdadm array
I had a raid5 array built with mdadm and btrfs filesystem on top of it.
My sata card failed and all my drives dropped at the same time. What should I do if I wanted to rebuild the array or restore some data?
❯ mdadm --assemble /dev/md1…

warbaque
- 111
- 2
- 5
0
votes
1 answer
Ways to make a backup on RAID5 filesystem (mdadm) with many files
I have a NAS containing RAID5 array (5.4TB in total, 2.9TB in use) using mdadm.
Now I plan to modify some hardware of it (especially SATA controller), so I'd like to have a whole backup of this RAID5 filesystem to the external HDD before…

NON
- 13
- 2
0
votes
1 answer
Partition of mdadm raid0 array passed through to win10 20H2 via virto driver is suddenly lost. How can I figure out why?
I have checked the logs. System has been working for a month then suddenly they could not see the drive on network. It is a linux file server with a virtual windows on top of it ... Virtual windows has the virtio drive of 12*10 TB Disks shared over…

Gediz GÜRSU
- 536
- 4
- 12