Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

Filter by
Sorted by
Tagged with
6
votes
2answers
16k views

Mount a single hard disk that was part of RAID 1

So I had a RAID 1 with two hard disk. One hard disk failed, then I replaced it and I reinstalled on this new hard disk a fresh Linux. Now If I type fdisk -l I get: root@ns354729:/mnt/sdb2# fdisk -l ...
1
vote
1answer
775 views

Recover from raid-5 to raid-6 reshape and crash, mdadm reports 0K/sec rebuild

I have a question similar to older thread but I'm not stuck with 100 % CPU usage. I added one more disk (sdd1) to my 5x3TB raid-5 array and upgraded it to raid-6 which all went well until the power ...
1
vote
2answers
10k views

System unbootable - grub error: disk lvmid not found

I'm gettind this error at boot: grub error: disk 'lvid/caoMWu-o417-GMgh-6vFj-1qrw-iJMi-ypwm0f/Z2eotR-N0HN-nrol-3hUd-odMB-GzHy-4PrsnL' not found. Entering rescue mode.. I can't even get the ...
0
votes
1answer
563 views

Does Simulating mdadm failure require rebuilding entire Array? mdadm -manage -set-faulty

Based on this article and a few similar others I see how to simulate a mdadm failure, but it seems it's going to require a rebuild of my array. I don't want to give it that much IO and also it took ...
2
votes
1answer
559 views

Is it possible to undo LVM pvmove?

I'm about to convert my 2x3TB LVM setup to use software RAID1 with 2 additional drives. I'm just wondering if the following will be safe and if there is a way to recover at various steps. So I have /...
0
votes
1answer
492 views

mdadm 2x Raid 5 missing drives

I'm hoping someone can steer me here with a re-build/sync issue. I have a 3 raid 5's build in mdadm 4 disks in each md0 (Active, degraded), md1 (Active, degraded) and md2 (Clean) -no data on it, so I ...
3
votes
1answer
721 views

Error assembling mdadm RAID1 after resizing underlying partitions

I want to shrink a mdadm RAID1 from 2TB to 80GB. This is how the setup looks like before shrinking. root@rescue ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 3.7T 0 ...
0
votes
1answer
2k views

mdadm - not enough to start the array

I am trying to recover data from a MyBookLiveDuo 3TB*2 RAID1 setup, which is not responding to http/ssh access. I pulled one drive out of the enclosure and attached it via SATA to a Linux laptop. I ...
1
vote
1answer
74 views

Can I recover filenames from a failed RAID0 (Linux Debian 5.0.8)

Linux Debian version 5.0.8 is running on my Iomega NAS and it has a RAID0 array of four 3TB disks that failed on the "third" disk. I am aware of the non-redundancy of RAID0 but I would like to ...
0
votes
1answer
1k views

How to re-create RAID1 really properly

System: Laptop with Linux Mint 17.3, 1x SSD for system and 2x HDD intended for RAID1 using mdadm. Situation: Without knowing how to create RAID1 properly, I created it badly. GParted showed a ...
3
votes
1answer
589 views

Getting a Windows 7 installation to run virtualized under Ubuntu?

I've currently installed Windows 7 and Ubuntu via dualboot. To avoid switching the OS by rebooting, i want to be able to start my Windows 7 via a virtual machine. It is important to be able to boot ...
1
vote
0answers
1k views

Assistance with mdadm.conf syntax for reassembly of existing RAID0

I'm trying to recover a friends data from a Sony Vaio VGN-AW47GH Laptop. It has a pair of Toshiba MK5055GS 2.5" 500GB HDD combined (according to my reading) into a 1TB RAID0. The laptop is no longer ...
1
vote
1answer
910 views

What can slow down a RAID 5 with 3 disks recovery rate to sub-MB speeds?

I have a RAID 5 on 3 disks 4K aligned (2x WD2001FFSX and 1x WD20EFRX). One of the disks has failed, and i replaced it with an other WD2001FFSX. After partitioning it the same way than the other (1 ...
3
votes
1answer
588 views

CentOS 7: RAID 1 high I/O wait

I am running CentOS 7, with RAID 1 (md) on the hard drives. I have the partitions set as shown below. md0 -> root (sda1, sdb1) md2 -> swap (sda2, sdb2) md3 -> misc (sda3, sdb3) on md3, I ...
1
vote
0answers
849 views

RAID0 worse that write speeds of hard drives independently

So I have two hard drives one connect with SATA and one with USB3.0 SATA (/dev/sdc1): Apple HDD Toshiba USB (/dev/sde2): Western Digital Technologies, Inc. Elements SE Portable mounted ...
2
votes
1answer
2k views

Convert a non-boot single HDD to RAID 1 without deleting it

I bought a second HDD identical size as the one I already have. My goal is to add it to the existing one as a mirror (RAID 1). But I don't have enough space on a system SSD to move data there. So I ...
2
votes
1answer
968 views

Is it possible to create a mdadm RAID10 with both near and far layout options?

How do you create a mdadm RAID10 with both near and far layout options? The wiki indicates it is doable. The "near" and "far" options can be used together... The man pages for mdadm don't mention ...
6
votes
3answers
2k views

Install mdadm without postfix in ubuntu trusty

I want to build a RAID system on top of Ubuntu Trusty. When I do apt-get install mdadm A screen pop up asking me to configure postfix. Because I will run this installation in automation script. Is ...
1
vote
0answers
210 views

mdadm does not automount raid0 disks under /media/storage

I've beat my head against this issue all night and I can't seem to wrap my head around it. I've recently installed Linux Mint 17.3 Mate to replace my Windows 10 machine and after some tinkering I've ...
3
votes
0answers
294 views

Debian boot with encrypted disks: RAID is not assembled [closed]

[Update: This is fixed with Debian 9] Situation I am running Debian 8 on my machine. The disk setup is as follows: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
6
votes
1answer
8k views

How do I (re)build/create/assemble an IMSM RAID-0 array from disk images instead of disk drives using mdadm?

The question: Using Linux and mdadm, how can I read/copy data as files from disk images made from hard disks used in an Intel Rapid Storage Technology RAID-0 array (formatted as NTFS, Windows 7 ...
5
votes
2answers
3k views

Adding new devices to an mdadm raid10 - new device has fewer sectors

I'm trying to add two new drives to grow a raid10 created with mdadm v3.4 on debian testing with kernel 4.4.6-1. The problem is that the new drives I have have just a few sectors less that the ...
0
votes
1answer
170 views

Automate replacing failed disk in software RAID

Can mdadm automatically recognize a plugged disk as a spare, partition it and add? My config: [root@okvmh2 ~]# lsblk -a NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 ...
1
vote
1answer
2k views

How to mount HDD extracted from singledrive ZyXEL NAS?

Gparted Information and Warning: <i>Filesystem volume name: <none> Last mounted on: /i-data/f128dac5 Filesystem UUID: c2f55399-a8ab-400b-a144-d605ceb58c9d Filesystem ...
3
votes
1answer
2k views

mdadm RAID - Restart during Grow (Shrink) reshape - not working (stuck)

I have a linux software Raid6 array (mdadm). I grew it from 6x4TB disks (16TB usable) to 7x4TB (20TB usable). The reshape went fine, but when I did resize2fs, I got the fairly well known issue of ...
1
vote
1answer
72 views

Hard drive failure at service provider - how to restore/remount data from/on Raid

First I am not a server administrator - and am volunteering to help a non-profit with a crisis. I start from the beginning. The non-profit has a dedicated server contract with 1&1 internet. On ...
6
votes
1answer
5k views

md raid not mounted by dracut

Background I'm running Centos 7. Originally, it was running on a single disk that looked something like this: 1 200M EFI System (/boot/efi) 2 500M Microsoft basic (/boot) 3 465.1G ...
2
votes
0answers
2k views

Install CentOS on RAID (manually) on UEFI system

I'm struggling with the manual configuration of a RAID1 + RAID10. I'm trying the procedure on a VM (VirtualBox 5.0.14 r105127) on OSX 11.10.3. The strategy I took is: The complete set of commands I ...
5
votes
1answer
5k views

mdadm: no devices listed in conf file were found - Debian 8 with GPT

I have a Debian Jessie (3.16.7-ckt20-1+deb8u3) system with RAID1 on 2x 3TB hard drives. Grub can't be installed into MBR on drives >2TB, thus I have GPT with 1MB bios partition: Device Start ...
1
vote
1answer
3k views

Why is uEFI firmware unable to access a software RAID 1 /boot/efi partition?

BIOS firmware can boot a BIOS formatted /boot partition installed on a software RAID 1 pair no problem. It can even boot from a /boot installed on LVM volume that lives on a software RAID 1 pair. But ...
3
votes
2answers
2k views

create raid1 from existing lvm local volume

I have an existing LVM, with one physical drive (say /dev/sdb), and one volume group (say volgrp1), here I have three logical volumes (say lvSys, lvHome, lvSwap). Now I worry about my data and by a ...
1
vote
1answer
2k views

Dependency failed for mount after dist-upgrade

Last weekend, I ran an apt-get dist-upgrade on a home Debian 8.3 system, and was surprised to see that it entered emergency mode on the next boot. The server in question runs LVM on top of a mdadm ...
2
votes
0answers
584 views

MD RAID 5 module doesn't load at boot

I recently upgraded my NAS to kernel 4.4 and now my md raid 5 array doesn't assemble itself at boot. dmesg reveals this: [ 2.299666] md: personality for level 5 is not loaded! and doing lsmod | ...
1
vote
1answer
907 views

raid5 array reassembles as raid0

I found simmilar problem here: Missing mdadm raid5 array reassembles as raid0 after powerout, but mine is a bit different. Here too my raid5 reassembles as raid0, but i don't see any of my devices ...
1
vote
0answers
744 views

Ubuntu Server: How to make bootable bios_grub RAID device?

I have a stable Ubuntu (14.04.3) Server-powered file server that I have set up, and want to set up a RAID10 array for it. For reference, I have been following this guide so far, but using RAID10 ...
5
votes
0answers
645 views

What chunks are mismatched in a Linux md array?

This is a repost of a question I asked on ServerFault and was automatically deleted for lack of activity. Let's hope it will have better luck here. After performing a "check" (by writing check to /...
2
votes
1answer
1k views

lsblk shows non-existent md partitions after reboot

I'm getting weird behaviour while setting up an mdadm RAID1 array on debian 8.2. After I set-up the array, lsblk shows: simon@debian-server:~$ lsblk NAME MAJ:MIN RM SIZE ...
1
vote
1answer
88 views

What happens if Host OS of MDADM md0 crashes

So I am debating getting software RAID. But I am trying to reduce the single point of failure problem. I don't think hardware raid is an option as I can't afford a high-end adapter, and I think I like ...
2
votes
1answer
55 views

Is there a way to rebuild only part of a disk in an mdraid5 setup?

Last night I accidentally used dd to overwrite the first ~20GB of a drive in a RAID5 array. When I noticed, I repaired the array with $ mdadm --fail /dev/md127 /dev/sdb $ mdadm --remove /dev/md127 /...
1
vote
0answers
206 views

RAID5 needs drive to be added every reboot

I have a 3 disk RAID5 mdadm array total 4TB on an Ubuntu Server 14.04.3 LTS. Since a kernel panic caused by an already replaced device unrelated to the array, after every reboot the array starts [UU_]...
1
vote
0answers
257 views

RAID1 superblock recovery

I have a big issue with my RAID1 array. I transferred my RAID1 (mdadm) to a new PC, but when I was installing it, I rebuilt the array as a RAID0. No data has been written to the disks. When I try ...
1
vote
1answer
56 views

What happens if my RAID fails while the swap is on it?

Today I removed swap partition from the system drive on my Debian. Instead, I created a swap file on /dev/md0. So, I have a software RAID 1 array for data and a swap file. The system with boot ...
0
votes
2answers
2k views

How to to verify any mdadm RAID array is doing fine

Is there something like: mdadm --verify <device> Or similar command, which would read all sectors of all drives of a Software RAID array in any mdadm implemented RAID to verify the array is ...
1
vote
0answers
21 views

How to make mdstat ignore specified devices

I have a hypervisor with KVM that uses zvols for virtual machine storage. One such virtual machine was moved from a physical one and has software RAID inside it. Zvols are detected as block devices on ...
6
votes
1answer
965 views

Why does mdadm believe my raid1 “has failed so using --add cannot work”?

TLDR: Trying to add a blank partition to a degraded RAID1 with mdadm 3.3.2 (Debian Jessie) fails, saying the (perfectly working!) array has "failed" and "--add cannot work". Is it telling me of a real ...
6
votes
1answer
3k views

Configuring a mdadm RAID-1 on SSD and HDD

I need to configure a RAID-1 on one SSD and one HDD. Both SSD and HDD has some preinstalled software, which I don't need so both can be fully wiped if that is any advantage. My research so far lead ...
1
vote
1answer
604 views

FIx RAID configuration after upgrade to Debian/Jessie with ICH9 chipset

I upgraded from Squeeze to Wheezy without problems. But after upgrading to Jessie the system cannot boot anymore (using LILO). LILO ERROR: Duplicated Volume ID O 24.1 Loading Linux ....(snip) BIOS ...
3
votes
2answers
793 views

MDADM RAID 0 Failure

Last night I noticed my system clock on my Ubuntu Server was 5 minutes fast so I ran an 'ntpdate pool.ntp.org' command and went to bed. This morning I noticed that SAMBA shares were not working. ...
2
votes
1answer
11k views

mdadm: /dev/md0 assembled from 3 drives - not enough to start the array

I had a drive in my raid5 fail a while back. I believe the problem was due to a power failure at the time, but originally thought it might be the hard drive controllers on the motherboard (this is a ...
1
vote
1answer
997 views

how to access data on RAID10 (consisting of 2 disks) using only 1 disk?

A long time ago I setup a RAID consisting of 2 disks. I wanted more than else safety/redundancy and indeed I think I wanted a RAID1. Now I have only access to one of those 2 disks and looking at it I ...

1
3 4
5
6 7
9