Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
0 votes
1 answer
827 views

mdadm raid has unknown filesystem after adding new disk

My Computer is running ubuntu 1804 but i am new to linux. I am using mdadm and created a raid-5 with 3x 4TB drives (sda, sdb sdc). OS is on a separate SSD (sde). No, I don't have a backup. Yes it is ...
dallyger's user avatar
1 vote
1 answer
1k views

Software RAID Nonfunctional after power outage

My server lost power yesterday. It automatically booted up when power came back, but my RAID is now nonfunctional. The RAID array is a software RAID6 built with mdadm. Originally, the array used 8 ...
Uze's user avatar
  • 31
0 votes
1 answer
259 views

Can't boot from MDADM array after creating other arrays and rebooting

I recently installed Ubuntu 18.04 Server on a pair of drives in RAID1, which I set up using the installer. Previously, I was able to boot into the RAID install without any problem (even though it ...
Stonecraft's user avatar
1 vote
1 answer
711 views

MDADM reshape 2 disk raid 5 to 4 disk raid6

I have a somewhat non-standard mdadm reshape going on. I have a 2 disk raid5 (clean state) which I want to reshape into a 4 disk raid6. The reason this was created as a 2 disk raid5 instead of a 2 ...
Sunday's user avatar
  • 466
0 votes
2 answers
641 views

mdadm repair single chunk / sector

I want to build a NAS using mdadm for the RAID and btrfs for the bitrot detection. I have a fairly basic setup, combining 3 1TB disks with mdadm to a RAID5, than btrfs on top of that. I know that ...
user10186803's user avatar
0 votes
0 answers
115 views

Computer crashed, raid array in trouble

I arrived home today to find my home server was off (not idea why). Turned it back on again and the raid array was failing to mount. /proc/mdstat shows: Personalities : md0 : inactive sdh[7](S) sdc[...
Azelphur's user avatar
3 votes
0 answers
1k views

mdadm RAID 1 not activating spare after replacing faulty drive

Have issue with mdadm similar to Simple mdadm RAID 1 not activating spare: have replaced faulty HDD in RAID 10 fdisked and added new hdd to mdadmn mdam resynced array After that I see following: ......
user2650367's user avatar
0 votes
1 answer
247 views

Would it be advisable to have 2 raid-1 (mirror) using just 2 physical drives compared to just 1 raid-1 on 2 physical drives?

I'm using 2-bay drive Synology (implies I'm using linux mdadm software based RAID system). The motivation for doing so is to lessen the time rebuild RAID-1 array after it goes degraded. I currently ...
supertonsky's user avatar
1 vote
1 answer
751 views

How to check/repair a RAID1 array?

I’m currently using a software RAID-1 array on linux, built on top of a HDD and a SSD. I have a strong feeling that the SSD is failing. I’d like to check how bad the SSD is behaving. I ran a check of ...
user2233709's user avatar
1 vote
2 answers
2k views

Shrinking a RAID1 to free up space on the HDD for a new RAID1 Partition

I set up a webserver a while ago and made a mistake. I do have the following: /dev/md0 swap (made from sda1 and sdb1) /dev/md1 /boot (made from sda2 and sdb2) /dev/md2 / (made from sda3 and sdb3)...
damaltor's user avatar
2 votes
1 answer
514 views

RAID5 mdadm faulty / blk_update_request: I/O error

I have five raw images of a server's disks (stored on one external HDD). Each of those disks contains two partitions which are "Linux raid autodetect" (fd) and are members of RAID1 (boot-related; 3 ...
user3388087's user avatar
2 votes
0 answers
2k views

Recovering a Synology Raid 0 from Ubuntu (Healthy drives)

I am trying to remount a Synology raid 0 with 3x2GB drives. As far as I know, the drives are in healthy condition. I simply don't have enough space to do a full image of these before I proceed, so I ...
Eleganze's user avatar
1 vote
0 answers
379 views

Disks have become spare with fake Raid. Is there any change to remount the volume?

I used the Intel Rapid Storage Technology (fake RAID) with 8 disks (6 disks for RAID 5 and 2 hot spares). ~# mdadm --detail-platform Platform : Intel(R) Matrix Storage Manager Version :...
Nicolas Roduit's user avatar
3 votes
0 answers
176 views

Metadata of the assambled raid inconsistent with the metadata of the individual drives?

We have a raid 10 with two failed drives, with one drive from each set still functional. When booting into rescue system the metadata seems to be fine and consistent with the expected state. The ...
user910763's user avatar
0 votes
0 answers
48 views

Fedora change disk then install error and which solution is faster?

I use fedora and mdadm(2hdd create to raid1), but if I change one disk then on fedora install program not work have error message. I use "sfdisk -d /dev/sda | sfdisk /dev/sdb" create sdb of ...
Zhang ZX's user avatar
0 votes
2 answers
615 views

What happens when you remove a drive from linux raid?

I have a home media server that gave me a message today saying one of the drives is soon to fail (not happy, still under warranty, that's another issue) I am running Mdadm raid 0 on a 3 drive system ...
JonYork's user avatar
  • 153
3 votes
1 answer
740 views

RAID5 does not spindown after grow (ext4lazyinit)

I had a RAID5 array consisting of 3x5TB disks assembled using mdadm. On top of that, I created a LUKS/dmcrypt encryption layer and formatted the encrypted device with ext4. I want the disks to spin ...
LukeLR's user avatar
  • 1,531
1 vote
1 answer
115 views

How can I repair the disk by command?

I have NAS system which has 6 discs /dev/sde3 I started Raid6 like this $madam --assemble /dev/md127 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3 /dev/sde3 /dev/sdf3 Now my /dev/sdb3 is broken. $...
whitebear's user avatar
  • 705
2 votes
0 answers
891 views

RAID5 fails while recovering (mdadm): Any chance to resync?

My RAID5 is going to die because, while restoring a failed HDD, on another HDD read errors occurred and a restore is impossible. I just want to know whether it's possible to restore only a part of ...
swat's user avatar
  • 21
1 vote
3 answers
9k views

MDADM raid "lost" after reboot

I am kind of scared right now, so I hope you can bring light on my problem! A few weeks ago, I bought a new 2TB drive and decided to setup a software RAID 5 with MDADM on my HTPC (drive sdb, sdc and ...
Patrick Pruneau's user avatar
0 votes
1 answer
2k views

Can I read a single MDADM RAID 1 disk from the software RAID array and/or from another computer?

I've been using a HPE MicroServer Gen10 for a while, and I'm about to setup a RAID 1 configuration for my OwnCloud storage. The server is running Ubuntu 17.10. The disks are simply two Western ...
swaglord mcmuffin''s user avatar
1 vote
0 answers
369 views

reassemble mdadm raid6 with 3 of 5 disks showing possibly out of date?

Not sure what happened but my raid 6 serving as xfs storage stopped to work First I checked SMART of all devices but non of them showed an error. cat /proc/mdstat Personalities : [raid6] [raid5] [...
Steve 's user avatar
  • 111
2 votes
0 answers
276 views

May have just screwed the pooch attempting to follow instructions in another thread to shrink my RAID

I used @Paul (https://superuser.com/users/89018/paul) instructions in his answer to Shrink RAID by removing a disk? but I think I may have made a terrible mistake. Here's the lowdown... I've been ...
Klober's user avatar
  • 21
1 vote
0 answers
532 views

One RAID1 missing after reboot

I'm using Open Media Vault 3 that is based on Debian 8. I already have a RAID1 of 2x4TB WD Caviar Red, and now I'm tring to build a RAID1 with two Seagate Ironwolf 6TB. Whe I build it anything is ...
Ansem's user avatar
  • 21
4 votes
0 answers
3k views

How to prevent an mdadm array check from consuming excessive system resources?

Once a month I've been doing echo check > /sys/block/md2/md/sync_action in order to force a software raid consistency check. The problem is this is a 7.2T RAID 5. The consistency check takes ...
pgoetz's user avatar
  • 181
1 vote
1 answer
547 views

Can't find RAID1 after reboot

I have Debian8 with Open Media Vault on it. I'm tring to build a RAID1 with two Seagate Ironwolf 6TB. I can build the RAID1, create an ext4 partition on it and use it without a problem. The problem ...
Ansem's user avatar
  • 21
0 votes
1 answer
90 views

Raid unresponsive for a few minutes

I have a raid 5 on my desktop where I save my work (scripts in python or js mostly). Sometimes when I edit a file with vim and save it, it takes a few minutes to save, in that time the vim window is ...
Enuff's user avatar
  • 175
0 votes
1 answer
1k views

mdadm wont mount due to checksum error

I have ubuntu raid5 on 4 disks of 1tb disks which had no dirty shutdown or power issue. The bootdisk is 5th disk which is not on mdadm. I also have XP on my bootdisk which I just started today. XP ...
thevikas's user avatar
  • 361
0 votes
1 answer
603 views

On an HP proliant DL380 G9 with P840 RAID10 vs mdadm RAID10

On an HP proliant DL380 g9 with smartarray P840, I have a ubuntu 17.04 vm acting as an ownCloud server. Does it make difference if I use a HW RAID10 instead of mdadm RAID10? Is there any data that ...
Fawzi Masri's user avatar
2 votes
1 answer
2k views

Why did mdadm disable a disk on my raid array?

In syslog I see: Jun 3 15:07:12 storage kernel: [36518.430143] md/raid1:md0: Disk failure on sdd1, disabling device. Jun 3 15:07:12 storage kernel: [36518.430143] md/raid1:md0: Operation continuing ...
oliver602's user avatar
  • 147
2 votes
1 answer
966 views

force mdadm to be read-only on disk failure

Is it possible to configure mdadm to become read-only when a drive fails? I want to leave users with the most robust mdadm failure notification system. I've seen people ignoring a "degraded array" ...
Maxim Imakaev's user avatar
0 votes
1 answer
693 views

RAID 10 - Switching from software RAID to hardware RAID

Introduction So currently I have a software RAID setup using MDADM on Debian. It is setup as a RAID 10 through a NAS so available over the network. All of the drives are connected through a USB ...
Eric F's user avatar
  • 3,330
4 votes
1 answer
742 views

Raid Spare Spin Down

I have a software RAID 5 array (mdadm under Debian Linux) that has been up for the better part of a decade and has seen it's fair share of drive failures. I've always been leery about setting up a "...
julienj's user avatar
  • 183
0 votes
1 answer
187 views

AMD SP5100 Raid 0 rebuild

I was using an onboard AMD SP5100 raid controller for a Raid 0 on two 1TB drives. The motherboard has failed. I have two questions - firstly if I replace with an identical motherboard, will I be able ...
kevinl's user avatar
  • 1
4 votes
1 answer
2k views

Can I create a degraded mdadm raid10-near (raid 1e) array?

I have three drives in my current system (all 1TB). The current setup is: sdb - raid0 member (failing soon) sdd - raid0 member sde - backup I'd like to change it so all three drives are part of a ...
Violet's user avatar
  • 191
1 vote
1 answer
1k views

MDADM Raid Recovery and Questions

I've been working through this in my head for the entire day, and wanted to branch out and get some feedback/opinions on this setup, and how I can handle it if it ever happens to fail. I have a ...
Justyn Bell's user avatar
0 votes
1 answer
2k views

RAID10 with 2 disks with far2 layout

RAID10 with 2 disks is reliable with far2 layout? Will it provide fault tolerance in case of one hard disk failure? Any advantage over plain RAID1?
GBhai's user avatar
  • 1
0 votes
1 answer
573 views

QNAP TS-419U+ Raid5 not rebuilding

I replaced the hard disk number 1 on a QNAP TS-419U + with RAID5. It is a hot-swapping replacement without turning off the machine. It was smart of the new HD is good, but it was not added to Raid 5. ...
incal's user avatar
  • 1
0 votes
2 answers
56 views

RAID 1 vs background copying daemon

I'm using my Raspberry Pi as a Linux powered NAS. I have two old HDDs, one of which is near failure and the other seems fine. I want to mirror the drives for redundancy. I've tried setting up a RAID ...
Matthew's user avatar
  • 283
2 votes
1 answer
1k views

Ubuntu server remove extra partition and resize current larger in mdadm RAID1

I am running an Ubuntu Server. Currently, I have the hard drive configuration shown below: I want to remove the /mnt/winback partition and add the extra space to the /mnt/data partition. What is the ...
J Spen's user avatar
  • 241
0 votes
1 answer
83 views

Software RAID0+1 using 3 disks

Is it possible to use mdadm to do RAID0+1 using 3 disks? My scenario is 1x2TB disk and 2x1TB disks. Not interested in the RAID0 performance boost, just want to combine them so I can mirror them with ...
Laurence Sacha Stant's user avatar
5 votes
1 answer
4k views

LVM: How should I attempt to recover from PV and possible LV corruption?

This was my home file storage setup. It does not have backups because the RAID setup was meant to be the redundancy. I did not account for what happened and am paying the price. The setup: Ubuntu 16....
Craig Wright's user avatar
0 votes
1 answer
78 views

Need to recover RAID0 disks from failed linux box

I have two drives from a failed old Linux box that were configured as RAID0. I have created two dd image files using the following commands on my Mac: dd if=/dev/disk3 of=disk0.img.dd bs=512 dd if=/...
An Old Guy and His Dog's user avatar
0 votes
1 answer
52 views

RAID system with adaption to changed number of disks

I have to build a RAID 6 with the following 3 requirements: Use different kinds of disks with different sizes. When a disk fails and there's enough space, the RAID should be able to ...
user avatar
0 votes
0 answers
63 views

restore mdadm raid5 after 2 of 3 disks have been reformated with xfs

I have a 3 disk raid 5 where 2 disks have been accidentally formatted with the xfs file system. The disks are partitioned into 6 partitions - sd[a,b,c][1-6] The disks were present in a Buffalo ...
nafetsreuab's user avatar
0 votes
2 answers
239 views

RAID0 data recovery & recovery strategy validation

I have a Synology expansion (DX213) connected to my NAS. It houses 2 disks of 2TB and they are in a RAID0 configuration (awful idea, I know and I don't need a reminder ;) ). Last weekend, the array ...
mstaessen's user avatar
  • 101
1 vote
1 answer
105 views

Why is mdadm shorting me 33 sectors on my linear virtual software raid device?

I am building a new computer system, with Windows 7 Professional and Ubuntu. I am following this tutorial: http://fds-team.de/cms/articles/2013-12/use-a-real-windows-7-partition-in-virtualbox-kvm-...
Wyllow Wulf's user avatar
0 votes
2 answers
2k views

Boot Linux from degraded RAID1 with /boot installed on md0

First of all I'd like to say that I'm very new to managing RAID arrays in Linux so my questions are probably very basic, but I can't seem to find my exact scenario on the internet. I have a RAID1 ...
Railander's user avatar
3 votes
0 answers
4k views

how to force mdadm to sync to device after raid6 repair and how to get number of errors?

The Question After a component device suffered unexpected bit-flip, and after a raid6 repair was successfully performed on the raid device, how to force mdadm to sync the changes from buffer(?) back ...
Max-Julian Pogner's user avatar
0 votes
1 answer
44 views

Linux software Raid5 DegradedArray with mdadm

So I changed my case and I don't know why but one my SATA port does not work anymore. So only 5 of my 6 RAID5 disks were recognized. The volume was automounted anyway and I already wrote new files on ...
tachikoma01's user avatar

1 2
3
4 5
7