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
178 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 ...

15 30 50 per page
1
2 3 4 5
7