Stack Exchange Network

Stack Exchange network consists of 174 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
28 views

mdadm shows bad blocks presents

I'm checking a 4disk X 1TB raid5 array + cryptluks + lvm with 2partitions, / and /home. First I got a "not enough operational devices 2/4 failed" "Failed to RUN_ARRAY /dev/md/1: Input/output error. ...
2
votes
2answers
39 views

Two hard drives each with software RAID1 on CentOS 7?

Disclaimer: I did not create this server. From what I see below, it seems as if I have two identical drives, /dev/sda and /dev/sdb, and each one has its own software RAID1. Am I completely reading ...
2
votes
0answers
15 views

Boot failing to complete after resizing RAID 1 with GParted

So I have the following setup in Ubuntu 18.04: /dev/md0: / (ext4) /dev/md1: swap /dev/md2: /var/lib (ext4) I needed to free a couple of GB space after /dev/md2, so I decided to live boot using ...
0
votes
0answers
19 views

smartd daemon email frequency

I am struggeling with smartd.conf and disk auto-test/emails. My settings now: I set my MAILADDR in mdadm.conf and also ran smartd.service and ever since iam receiving info about disk failures, but ...
0
votes
1answer
42 views

Unable to use/mount the full size(20TB) of configured RAID5 array on centos7

Actually i have created software RAID 5 array md0 using mdadm linux. In this configuration i have used 6 Harddisk (4 TB each) and the final raid5 array size is 20TB approx. As we know raid 5 use n-1 ...
0
votes
1answer
26 views

mdadm - Drive has incorrect type after reboot

I have a raid 6 setup with six drives using mdadm. I noticed I had a failed drive (b) that was not responding at all. Making sure all drives are properly connected I stopped the raid, unmounted and ...
5
votes
2answers
264 views

mdadm RAID5 random read errors. Dying disk?

First the long story: I have a RAID5 with mdadm on Debian 9. The Raid has 5 Disks, each 4TB of size. 4 of them are HGST Deskstar NAS, and one that came later is a Toshiba N300 NAS. In the past days I ...
0
votes
1answer
34 views

How to convert swap partition from RAID1 to RAID0 using mdadm

How to convert linux SWAP memory from RAID1 to RAID0? Start with:2 exact size swap formatted partitions (/dev/sdc5 and /dev/sdd5) on 2 physically separate disks that are used via Software RAID(named ...
0
votes
1answer
91 views

Unable to mount a RAID 5 volume

Evening all, Total n00b when it comes to Linux, I use Xpenology (Synology) as NAS software and following a faulty SATA cable lost my RAID 5 volume - within the OS it's sat in a crashed state. ...
0
votes
1answer
64 views

Less painful way to resize/rearrange RAID1 backwards with mdadm

Got the following scenario in a two-disk RAID1 (mdadm) Debian-based server (no LVM involved): Partitions (same for mirror /dev/sdb): Unassigned space (formerly /dev/sda1 with Windows). /dev/sda2 ...
2
votes
2answers
55 views

PowerEdge T610 H700 controller upgrade

I have a PowerEdge T610 server with Perc H700 RAID controller. I wanna use the controller for non-raid, but I read some posts and the H700 controller doesn't support the non-raid operation. The ...
2
votes
1answer
49 views

Uneven disk load with mdadm RAID5 and ext4 filesystem with journal

Recently I created a RAID5 with mdadm: mdadm --create /dev/md0 -l 5 -n 4 -c 512 /dev/sdb /dev/sdc /dev/sdd /dev/sde The usual tuning to speed up the initial sync: echo 32768 > /sys/block/md0/md/...
1
vote
0answers
53 views

mdadm hardware raid-5 broken after dist-upgrade

We have intel raid-5 in motherboard, which was assembled in ubuntu as well and mounted as home in fstab. I read later somewhere I shouldn't use hardware raid in ubuntu. However it was working. But, ...
0
votes
0answers
30 views

How to setup bootable RAID 0 on remote server

I have a remote server with 2 identical 500Gb SSD, sda and sdb. A rescue mode is also available from the cloud provider's interface. How to get Debian installed on a bootable RAID 0? I understand I ...
0
votes
0answers
13 views

kpartx does not enumerate partitions properly on Software RAID

When I boot my system, partitions on a software raid group are not being enumerated automatically. As a temporary fix I added the instruction break=mount in grub, so I can run manually kpartx -a /dev/...
0
votes
0answers
48 views

Messy RAID Array creation Needs Clean-up

I'd like some help to understand problems I am currently experiencing with a RAID 1 Array, created from Intel RSTe and managed with mdadm. Overall RAID 1 Configuration Both /dev/sda and /dev/sdb are ...
0
votes
3answers
83 views

Missing mdam RAID1 array during scan

I have built a new server (Ubuntu 18.04.1) with 4 HDD. My plan is to use RAID1 overall and came up with this layout after investigation: sda, sdb four primary partitions (all as fd) with sda1/sdb1 ...
0
votes
1answer
17 views

mdadm RAID configuration changes disk sdXX naming randomly on reboot

I have an issue with software raid i build over 2 expanders with disks loaded as JBOD. After every reboot of server, the naming of virtual drives changes and also the array numbers and logic are ...
1
vote
0answers
87 views

Debian software raid 50

I was given task to build large SW RAID 50 array on debian 9. Since now i was using mainly HW controllers to do so, which managed a lot of by them selfs. I have few question now I managed to build ...
2
votes
4answers
109 views

RAID6 failed instantly and switched to RAID0 - any chance to rescue?

I´m running a server ob Ubuntu 16.04. Data storage on this system uses a lvm on top of a software raid 6 whereas the os is installed on a separate raid 1 with lvm. The raid 6 is built up of 7 ...
1
vote
1answer
38 views

How to pre-emptively repair/replace drive in linux md array without going degraded first?

I have (had, it's already been swapped out, asking this for future use) a drive that is indicating pending failure with internal SMART tests and bad block remaps. It is straightforward to mdadm --...
1
vote
1answer
183 views

Is it possible to convert RAID1 to RAID0 without system reinstalation?

I bought the E3-SSD-3-32 server from the SoYouStart offer. There is a 3x120 GB SSD drive. Unfortunately, after some time, there was a lack of disk space. Is there any way to convert RAID1 to RAID0? ...
6
votes
3answers
498 views

Disabling ext4 write barriers when using an external journal

I'm currently experimenting with different ways of improving write speeds to a fairly large, rotating disk-based, software-raid (mdadm) array on Debian using fast NVMe devices. I found that using a ...
0
votes
0answers
131 views

Resize AWS EBS raid0

I've got an AWS raid0 array that I'm struggling to resize. The underlying EBS volumes have been increased in size, but I'm not able to re-size the array to resize the FS. I've tried using mdadm and ...
-1
votes
1answer
136 views

Recover RAID 1 after unclean unmount

I have two drives in my desktop in RAID 1. My computer locked up on me yesterday, so I used SysRq REISUB for a "safe" restart. When the machine booted back up, I realized there was no data on my RAID ...
1
vote
1answer
721 views

Why does mdadm --zero-superblock preserve file system information?

I have two hard drive partitions, which I have combined into a RAID1 using mdadm, and created an ext4 filesystem on the resulting device. When I mdadm --zero-superblock the two partitions, and re-...
0
votes
0answers
24 views

how to recreate a raid 1 array from a (failed) drive

A friend (yes, not me) had a RAID1 array where he didn't notice that both drives went massively bad (I suspect the computer was dropped or otherwise abused). I'm trying to recover what I can from the ...
0
votes
0answers
112 views

Recover data from a Linux software RAID1

I get a new customer with a failed old server (it does not boot anymore because of a failed CPU). Unfortunately the customer does not have a backup and I am trying to recover data from the hard ...
0
votes
0answers
269 views

linux how to run badblocks for software raid (mdadm)

For a normal HDD partition, we run badblocks on HDD partition before creating the file system, like the following: badblocks -o filename /dev/sda1 mkfs.XXX -l filename /dev/sda1 Note: XXX can be ...
0
votes
0answers
71 views

md RAID1 / ext4fs corrupting during nightly SMART self-test

I'm having this strange issue where my root-mount filesystem is terminally corrupted and auto remounted read-only seconds after a nightly S.M.A.R.T. short test begins. The filesystem is ext4 on top of ...
0
votes
1answer
207 views

RAID1 mdadm, automatically fail a drive and avoid a read-only file-system?

I am managing a server with two solid state drives configured in mdadm RAID1. The server is running RHEL6 with an ext4 filesystem. This evening the server went offline shortly after nightly backups ...
0
votes
1answer
39 views

How to create software raid on working ubuntu server with gpt?

i have this structure of hdd on my server: fdisk -l Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
0
votes
0answers
319 views

mdadm array disappears after system reboot

I have created an md array like so: mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdc /dev/sdd Then I used the resulting device in a ZFS pool: zpool attach tank sdb md0 That worked great....
0
votes
1answer
40 views

Debian Jessie RAID6 recovery mdadm

I have a Debian Jessie box that lost the RAID volume that had the OS, so I booted Live USB to try to recover the attached SAS controlled external drive bay which has my data RAID6 and it sees 3 of the ...
1
vote
1answer
44 views

Do more mirrors in raid 1 reduce the likelihood of spit-brain failures?

I'm setting up a server, and my predecessor had a habit of setting up multiple RAID 1s with only 2 disks, which eventually resulted in split-brain situations which were difficult to recover from. ...
0
votes
0answers
384 views

Creating a RAID1 mdadm array `--bitmap=none` VS `--consistency-policy=resync`?

I am on CentOS7 with mdadm-4.0-5. I have been experimenting with creating a RAID1 array on 2 SSD disks. The disks are not very large (~120G) so the rebuild time in case of failure should be very ...
0
votes
2answers
165 views

Cloning multiple SATA drives using dd with the assistance of software RAID1

So, I clone lots of Windows-based NTFS drives from images each day and I'm halfway through a project that could potentially help me and others to speed up this process dramatically. I currently have ...
1
vote
0answers
120 views

mdadm/ext4 chunk size on raid 1

Sorry for my noob question. I have a raid 1 system on mdadm in Debian, with the resulting partition formatted as ext4. Looking at the resulting share in Windows, it reports: Size: 618GB Size on disk:...
3
votes
0answers
64 views

Is it OK to prepare drives in mdadm RAID in LinuxMint live and then run CentOS7 installer?

I am planning to setup a CentOS7 server with software RAID. Since the CentOS7 installer isn't particularly good at preparing the disks, I wonder if it would be OK to boot up a LinuxMint 18 live, do ...
2
votes
1answer
954 views

TRIM issues with software RAID1 (mdadm) on two different SSDs (size and manufacturer)

I plan to do a server with 2 SSDs in RAID1 (for OS and boot) and 3 HDDs in RAID5 (for data). All Linux (CentOS7) with mdadm. We have in the office 2 leftover SSDs, but they are from different ...
-1
votes
2answers
59 views

Recover files from one of three mdadm RAID5 disks

I have lost 2 of 3 mdadm RAID5 disks. How can i recover whatever files are available on the remaining one disk? Sundeep
0
votes
0answers
59 views

Will my reshape result in an unrecoverable array?

I was adding an additional new drive to 4 drive raid 5 mdadm array. During the process that drive was marked as faulty, along with one of the original 4 drives. Previously to this the array had ...
0
votes
0answers
106 views

7-disk RAID 5 working with only one disk? Bug?

I've got a 7-disk RAID-5 (3TB each), on a CentOS 5.5 box. Today I was doing regular checkups on my system and found this weird bug(?): How is this possible? This filesystem is formatted as XFS and ...
1
vote
0answers
705 views

Troubleshooting `Buffer I/O error` on software-raid/md-device

I've got a RAID-5 mdadm array that reliably causes Buffer I/O error on dev md0, logical block 1598030208, async page read to be written do dmesg when reading that block. Of course, the read also ...
0
votes
0answers
124 views

raid problems after power outage

I was in the middle of copying data to a raid5 from a raid 1 when the power went out. Initially, I figured the raid was lost, so I zeroed the super-blocks. fdisked all the drives in the raid 5 and ...
2
votes
2answers
61 views

Raid 1 from already initialized disk

I have 4TB disk (A) with data in it. Now I've bought a new 4TB disk (B), and I want to start a RAID1 so that B becomes the mirror of A, without loosing data on A. I'm under linux with mdadm tool. The ...
3
votes
1answer
71 views

Mixing mdadm RAID with partially power loss protected SSDs

I have created a mdadm RAID 10 with 4 SSDs. 2 of those SSDs are consumer models and does not have the power loss data protection feature. At the RAID creation i have put 1 SSD with power protection ...
1
vote
1answer
203 views

Missing raid device in /dev/

I have two sata disks: /dev/sda and /dev/sdb. I have 4 partitions: /dev/sd[ab]1 /boot /dev/sd[ab]2 swap /dev/sd[ab]3 / /dev/sd[ab]4 /home And all of them are in raid1. Raid is working fine. Here is ...
1
vote
0answers
69 views

mdadm raid5 disk disabled, state clean, smart passed

i'm running a raid5 array with 5 disks. One disk got disabled. dmesg : ... [Tue Dec 5 01:02:08 2017] md/raid:md0: read error NOT corrected!! (sector 15263288 on sdb1). [Tue Dec 5 01:02:50 2017] ...
1
vote
1answer
60 views

Reasons for Linux to exclude a disk from the RAID10 array (degrade it) except for physical failure

I would like to understand the set of conditions on which Linux considers a drive really faulty, excludes it from array and considers RAID10 array degraded. As I know, neither SMART self-check ...