Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

0
votes
0answers
2 views

mdadm re-added a removed disk to my RAID1 and skipped re-sycning it, what went wrong?

I ran into what is a true mystery to me today, and would love if someone could give me an idea of how what happened is even possible. We had physically removed a disk from our software RAID1 (Ubuntu ...
0
votes
1answer
13 views

mdadm raid cretion: apparently superblock not written to disk

I am in exactly the same predicament as MDADM raid “lost” after reboot: I followed this giude to setup a raid-1 array with two disks (I was working in a recovery shell, so no "sudo"): mdadm --create ...
1
vote
1answer
73 views

raid 1 badly detected as raid 0 when one drive is missing

I'm learning raids, so maybe this is some basic question, but it's not covered anywhere... When I create raid 1, update /etc/mdadm/mdadm.conf as[1], run update-initramfs -u, I can reboot and mount it....
0
votes
1answer
21 views

File system corrupt after re-adding software RAID 1 member after test. Why?

A colleague and me set up a software RAID 1 with mdadm consisting of two physical disks, with two partitions on the virtual device. The set up went fine, and booting directly from one of the RAID ...
3
votes
1answer
77 views

Degraded RAID5 after complete disk failure - What to do Now?

I am running OMV 3.0.99 on my NAS. I have set up a RAID5 (with mdadm) containing of three 5TB WD RED drives. I have set up the RAID using the OMV GUI back in the day (2016). Recently one of the disks ...
3
votes
0answers
43 views

Linux Software RAID - Migrate from disk device to a partition

I have two 8TB disks configured as RAID1 using mdadm on Ubuntu 18.04 server. They way I created software RAID was on the whole device - /dev/sdb and /dev/sdc - instead of the partition such as /dev/...
0
votes
1answer
76 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 ...
0
votes
1answer
87 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 ...
0
votes
1answer
64 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 ...
0
votes
0answers
59 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 ...
0
votes
2answers
131 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 ...
0
votes
0answers
47 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[...
3
votes
0answers
185 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: ......
0
votes
1answer
44 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 ...
0
votes
1answer
112 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 ...
0
votes
0answers
30 views

cannot assemble mdadm RAID5 after fresh installation

I want to use my RAID5 on my fresh installed Ubuntu Server 18.04. I still have the old harddrive with my old Ubuntu 14.04 However I'm not able to assemble my RAID5 anymore. I've tried: sudo mdadm --...
0
votes
2answers
123 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)...
2
votes
1answer
77 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 ...
1
vote
0answers
358 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 ...
1
vote
0answers
24 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 :...
3
votes
0answers
97 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 ...
0
votes
0answers
63 views

MDADM RAID-1 grow root partition

Hello guys I have added a new HDD to my existing SSD server. Configuration as below: Server: CentOS release 6.9 (Final) Filesystem Size Used Avail Use% Mounted on /dev/md2 204G 179G ...
0
votes
0answers
41 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 space and ...
0
votes
2answers
76 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 ...
1
vote
1answer
111 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 ...
1
vote
1answer
47 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. $...
0
votes
0answers
266 views

MDADM recover raid 0 on new hardware

1) On machine A I had - MDADM RAID1 Mirroring with 2 drives on top the raid LVM 2) A spike destroy 1 HDD mobo power supply main HDD with MDADM conf leaving to me only 1 HDD with data(I suppose) Now ...
2
votes
0answers
198 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
400 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 ...
1
vote
0answers
113 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] [...
3
votes
0answers
140 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 ...
1
vote
0answers
206 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 ...
0
votes
0answers
404 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 ...
1
vote
1answer
174 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
205 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 ...
0
votes
1answer
330 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 ...
0
votes
1answer
309 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 ...
2
votes
1answer
303 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" ...
-1
votes
0answers
341 views

WD MyBook World Edition II (White Light) RAID 1 Recovery

I've been looking everywhere for a solution for this and I desperately need help. Ok, so the problem is: My work has a WD MyBook World Edition II NAS as the main file sharing method (which is wrong ...
0
votes
1answer
312 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 ...
3
votes
0answers
279 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 "...
0
votes
1answer
87 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 ...
2
votes
1answer
566 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 ...
0
votes
1answer
390 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 ...
0
votes
1answer
875 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?
0
votes
1answer
425 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. ...
0
votes
2answers
39 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 ...
1
vote
1answer
248 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 ...