Skip to main content

All Questions

Tagged with
2 votes
1 answer
4k views

Mounting a raid1 device - no suitable drives found

I'm having some problems with my disks; long story.. but right now I'm trying to mount a device that was part of a 2-disk raid1. For that, I tried to assemble it into a new array, but... % mdadm -Av /...
1 vote
0 answers
56 views

New NAS: Enhancing MDADM against long-term bitrot and random errors [closed]

For the last 15 years I was running MDADM(Raid6)+EXT4 under Ubuntu Server on smaller arrays <25Tb. Typically, all my arrays grow over the years, so I was starting with 4-5 drives and ending around ...
0 votes
1 answer
50 views

resize2fs wont grow an mdadm array (raid6, lvm, ext4)

I've decided to grow my raid6 array: - from: 7x 2TB drives (giving usable space of ~9TB in ext4/raid6) - to: 7x 4TB drives (giving usable space of ~18TB in ext4/raid6) I have replaced all seven ...
2 votes
0 answers
143 views

Mounting External Intel Raid Device on Linux Failing, No Suitable Superblock and Read Past End

I have a hard-disk from a dead machine that I'm trying to mount on my Linux machine. For reference, I'm using Fedora 39 and mdadm v4.2. First, I tried just mounting it, correctly showing it's a RAID ...
0 votes
0 answers
66 views

Degraded four-drive RAID 5 with missing superblock on single drive

I'll start with the question: Based on the following information, is there a mdadm command I can make in the readyNAS to reassemble all four drives in the raid 5 in a working state where I can pull ...
6 votes
4 answers
4k views

Linux software RAID robustness for RAID1 vs other RAID levels

I have a RAID5 array running and now also a raid1 that I set up yesterday. Since RAID5 calculates parity it should be able to catch silent data corruption on one disk. However for RAID1 the disks are ...
0 votes
0 answers
16 views

USB disk on a VBox on RAID was repartitioned

I have an Ubuntu on a VBox on Windows 10 Pro. The Ubuntu had a Raid 1+0 with 2 external USB disks. Suddenly, when I restarted the server, both disks got repartitioned with these: PARTLABEL="...
2 votes
1 answer
184 views

How to recover a RAID 5 after deleting the partition table and fstab?

I have a RAID5 set up for my storage drives on my Nixos 23.11 machine. I followed this guide to set up the RAID (and I followed it very closely). I have just reinstalled Linux on my boot drive (...
0 votes
0 answers
16 views

Using mdadm to perform no-downtime backupd

I have a server running Ubuntu 23.10. It contains several RAID 1 arrays created using mdadm. One of these holds the virtual machine disk images of my web-servers. Currently, to backup these images, I ...
0 votes
0 answers
54 views

Unable to access data on Intel "fake RAID" after failed Ubuntu update

Recently I did an update of my Ubuntu, it seems to work at first but after restart it shows: kernell ofset relocation range kernel panic not syncing: VFS I try to use different older kernel from Grub ...
0 votes
1 answer
265 views

mdadm grow fails with "mdadm: Cannot add bitmap while array is resyncing or reshaping etc."

We have a RAID-1 setup. We changed the old 1TB disks for 3.7TB disks. The disk changes worked without a problem, the disks are in sync. We did have to change the partition type from MBR to GPT, but ...
0 votes
1 answer
157 views

UEFI Intel RST RAID issue, can it be solved with MDADM?

I had two disks running on RAID0 on a Gigabyte GA-X38-DQ6. They contained a Windows installation, although not used at all as I was running linux from another SSD disk. They were running on the Intel ...
32 votes
11 answers
61k views

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to ...
2 votes
1 answer
336 views

Read data from a raid1 disk, superblocks erased

I have a disk that used to be inside my qnap NAS (it was in raid1 with another disk, which I still have). The NAS died and I mounted the disk on my ubuntu machine using mdadm to create the raid array ...
1 vote
1 answer
3k views

mdadm device missing

After a reboot my /dev/md0 device was missing. This is a RAID-1 array from two partitions of two harddrives. On each of the harddrives is another partition, which together belong to dev/md1. However, ...
0 votes
1 answer
179 views

Mdadm raid 5 array is half the size than expected

I crated a Raid 5 array with mdadm consisting of 4 x 4TB drives, i was expecting the array to be 11-12Tb in total space. But after building the array I noticed it is actuall half the size of the ...
2 votes
0 answers
445 views

Mayhem with partitions and GPT: mdadm RAID overwritten by Windows partition - possible to fix partition table?

dear Community, I’m writing as I may have wrecked my system up. I launched disk manager in Windows; as one of my disks was not recognized, and as Windows kindly suggested me to initialize the-said ...
5 votes
2 answers
4k views

Does TRIM avoid the performance impact of mdadm RAID 1 on SSD?

It has already been mentioned in other questions that Red Hat recommends against using mdadm RAID 1 on SSD. Red Hat also warns that software RAID levels 1, 4, 5, and 6 are not recommended for use ...
0 votes
1 answer
176 views

Recovering RAID 6: drives are ok, but partitions are "lost"

I faced strange issue with my RAID 6 array (8 HDDs, mdadm). Accidentially 3 drives were disappeared from it, with corresponding result - array has been ruined, but - all 8 drives are perfectly fine, ...
0 votes
1 answer
443 views

Why MDADM removes disk with no errors from array and marks it as failed

I have a Raid6 that keeps automatically marking a disk (/dev/sdi) as Failed and removing it from the array even though the long test does not show any errors: Test results sudo smartctl -l selftest /...
1 vote
1 answer
297 views

Clean up left-over around a RAID5 coming from a QNAP NAS

I just moved a 12TB RAID5 (4 disks of 4TB) from my QNAP NAS into my Linux Server (/dev/md0), and I noticed that there are three "left-over" partitions on each disk (/dev/sd*1, /dev/sd*2, /...
1 vote
3 answers
1k views

Disable warning from mdadm for “degraded” RAID1 with missing drive

I recently had a server outage due to a failed drive. Because of that I set up the server with a new SSD in RAID1 this time but until I managed to get another SSD drive the mdadm-based RAID1 runs with ...
0 votes
0 answers
131 views

mdadm lost RAID5 after new motherboard and processor

I moved my mdadm RAID5 to a different motherboard/processor, same boot drive. The array is no longer found during a mdadm --assemble --scan The motherboard was previously running INTEL RAID, so when ...
2 votes
0 answers
266 views

Raid6 mdadm reshape operation interrupted - now cannot mount or examine

Edit: Once the reshape finished the drive became fully accessible again. I had a power failure while a raid6 array was being reshaped, and now certain operations cannot be run against it, including ...
0 votes
1 answer
2k views

Remove RAID metadata from HDD so it can be repurposed as a single disk

Previous RAID config was RAID6 in a QNAP NAS, I now want to repurpose the disks as 8 individual disk in different machines. Each disk appears to have some RAID metadata (superblock) that is stopping ...
1 vote
0 answers
835 views

Restoring/Accessing Synology Raid 1

I was recently asked to try to restore the data from a raid on a synology NAS. The raid consists of 2 disks of 2TB in size. It is a raid 1. From what I was told, One of the drives has failed and the ...
3 votes
1 answer
3k views

Is there a way to show RAID details in a similar way to MDADM?

I find mdadm --detail <device> very useful when I need to know what is going on with the device (/proc/mdadm too). Example: /dev/md0: Version : 1.2 Creation Time : Mon Mar 4 08:35:...
5 votes
1 answer
538 views

Mount Btrfs raid 5 from failed ReadyNas 104 on Linux - aka how I restore data from my ReadyNas

After about 7 years my ReadyNas finally failed, I would expect from Neatgear detailed recovery instruction, but I read dozens of threads - my problem is not uncommon, but solution was not found. After ...
1 vote
1 answer
4k views

Linux MD software raid stripe cache size

From what I can piece together the /sys/block/md0/md/stripe_cache_size is for raid5 and 6 set at a very low default value to avoid starving machines for memory. By increasing this value you can get a ...
2 votes
1 answer
5k views

Failed raid1, how to add a new disk with mdadm?

I have a home raid1 with 2 disks and one of them just failed (lightning strike on the house). I'm really unfamiliar with mdadm so I'm asking before doing anything stupid. I can hot-plug a new HD on ...
1 vote
2 answers
2k views

How to migrate mdadm RAID10 with 4 disks to RAID5?

I have a software RAID10 based on Linux’ mdadm under Debian Buster. Originally I found RAID10 had best performance. But I need more space and accept to trade some write performance for +50% space. # ...
1 vote
2 answers
2k views

mdadm - Raid 1 arrays do not assemble after reboot

I rebooted my server after creating 3 raid 1 arrays with mdadm, and after rebooting, systemd was spitting out errors about the raid devices timing out when trying to assemble them at boot. I was given ...
-1 votes
2 answers
490 views

Unwanted, surprise device mapping causing problems with linux raid

Original title: Unwanted, surprise LVM disk mapping causing problems with linux raid I've done linux raid on ubuntu for almost a decade but never messed with LVM although I'm vaguely aware it exists. ...
0 votes
1 answer
649 views

MDADM array rebuilding after every reboot

I have just grown my RAID-1 mirror in to a RAID-5. After adding a 3rd disk, the array rebuilt successfully, but after restarting the array was showing as inactive, and the new disk (sde) had lost all ...
7 votes
1 answer
21k views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
0 votes
2 answers
3k views

How to restore my RAID5 after mistakenly failing one of the drives?

I have a RAID5 on Xubuntu 20.04, created with mdadm. I failed one of the three drives by mistake. The array is still working, but I get errors or responses I do not understand from my attempts to ...
1 vote
1 answer
937 views

CentOS 6 LVM RAID5, unable to activate VG / LV. "device-mapper: reload ioctl on (253:119) failed: Input/output error"

I've found myself in a complex Linux LVM-RAID5 / device-mapper problem after one temporary device failure, and one bad block encountered during that time. The logical volume can now not be activated ...
3 votes
0 answers
746 views

MD RAID 6 with XFS Periodic Kernel Panic -- Possible Kernel Bug?

This now appears to be a bug with the combination of MD and XFS after finding similar kernel panic reports elsewhere. A bug report with Ubuntu has been filed here ( https://bugs.launchpad.net/ubuntu/+...
2 votes
1 answer
2k views

"ext4lazyinit" running since 6 days on a new RAID5 array

I know there are a lot of "ext4lazyinit" topics. But they are all about 4-6TB HDD, and poster stating that it has in the end been completed after a few hours. On my side i have a newly ...
1 vote
2 answers
4k views

mdadm one disk sometimes is missing after reboot

On a debian system my home directory is on a raid1 md array. After creation it worked fine for some time, but once the second drive disappeared from the array. # cat /proc/mdstat Personalities : [...
5 votes
4 answers
15k views

New mdadm RAID vanish after reboot

I have problems with mdadm after reboot, I can't reassemble /dev/md0 . I work on debian wheezy. I have done the following steps:: sudo mdadm --create --verbose /dev/md0 --level=6 --raid-devices=4 /...
32 votes
6 answers
29k views

Does RAID1 increase performance with Linux mdadm?

I have a cheap 2-bay NAS with a 2TB HDD. To be robust against disk failure, I'm thinking of buying a second 2TB HDD and putting it in RAID1 with Linux mdadm. The file system is ext4. Will this ...
0 votes
0 answers
173 views

Raid 10 gone - how to rebuild / find informations

Because of another task, i had to disconnect all the raid hdd's from my pc. Shutdown -> disconnect hdd's -> boot -> shutdown -> connect hdd's -> boot -> raid completely lost. mdadm --...
1 vote
0 answers
219 views

Is it possible to create a RAID from only partial disk?

We have a dual boot system where we install firmare on two partitions, additionally we have a data partition. We have two disks on the system and I wonder if we can create a raid for the data ...
0 votes
1 answer
185 views

raid 4 3 disks + 2 parity disks

I have a raid 0 with 3 disks and I want to be able to lose some disks without losing data. I'm using mdadm and I already started to grow my config Current config: Personalities : [raid0] [linear] [...
1 vote
1 answer
130 views

My Software RAID 5 has 4 3TB HDDs, now two of them have bad sectors. What is a good way to replace them?

I run mdadm on Ubuntu 18.04 to build a RAID 5 array of 4 3TB drives several years ago. The machine was not running for years. Yesterday I powered it on and found two of the disks have a bunch of bad ...
11 votes
3 answers
16k views

mdadm RAID Fast Setup with Empty Drives?

I am recreating some RAID5 disks as RAID6 with mdadm. There is no data on the drives that I care about. Setting up RAID takes a while to setup the shape - I accept that when there there is data that ...
0 votes
1 answer
513 views

Linux Software Raid Rebuild on machine failure

I have a debian home server that has a 4 disk software RAID 5 array. My OS runs only on a normal nvme SSD. I know thats not secure, but it is a home server, so I didn't really care when I installed it ...
14 votes
7 answers
33k views

Adding drives to a RAID 10 Array

How would I grow a RAID10 array using mdadm? Obviously I would need to add 2 drives at a time, or would it have to be 4 drives? I have a feeling its just a bad idea. Or would be just wiser to just ...
0 votes
1 answer
361 views

Will Synology still recognize its drive after it's been assembled via mdadm on another OS?

I have one HDD with a single Basic ext4 volume, and accidentally deleted some of my files on it. I want to try extundelete or ext4magic under Ubuntu, but I'm worried - does mdadm assembly modify the ...

15 30 50 per page