Questions tagged [md]
The md tag has no summary.
29 questions
1 vote
0 answers
35 views
How to use dm-mirror, or 'dm-raid raid1', with dmsetup only (no LVM automation)?
The goal is to create a mirror (aka raid1) device from two devices (to be mirrored), and (if needed) a third device that serves as the dirty region log / metadata / whatever. That, without using LVM ...
0 votes
1 answer
132 views
Is it safe to use device name such as sda to create md and ZFS RAID array?
In md we can scan or assemble an array using UUID: mdadm --assemble "/dev/md/raid5" --uuid "b9a09187:a1ac838f:b4e90395:d6293c19" And in ZFS, we have a service for that purpose: rc-...
1 vote
0 answers
130 views
`md(4)` command turns screen on when it starts or stops checking the arrays
Every time md (or is it mdcheck?) performs a RAID check or pauses/continues it, the screen of my device turns on. These are the relevant syslog entries, the screen turned on at 6:15: Jul 4 06:11:25 ...
1 vote
1 answer
3k views
slow access/reads of linux md raid1 array
I have a Linux md-raid raid1 array (ext4 fs), with 2 3TB disks. The array has been showing significant slowness in access and read times over the last few months. Doing an ls on a directory w/ less ...
0 votes
0 answers
2k views
How to debug frozen md raid?
We have an old backup server with lots of disks and one mount with md raid 5 setup has now frozen. How to diagnose the problem and get it to running again? I would like to avoid restarting the whole ...
0 votes
1 answer
53 views
Recovering failed RAID5
md0 : active raid5 sdc2[5](S) sda2[4] sdd2[3](F) sdb2[1] 17510688768 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/2] [UU__] What happend: sdc failed I have repleaced it with a new HDD ...
2 votes
1 answer
339 views
What should I expect to see if md/linux RAID is properly compensating for a failing drive?
Does the md subsystem output any messages (to syslog/systemd-journal) to indicate that it's running in a degraded state (or anything else that might indicate that it has successfully reacted to a ...
11 votes
2 answers
10k views
MD device name changing to include "HOSTNAME:" after first reboot. How do I get a consistent name?
On Ubuntu 18.04 I create a RAID 1 array like this: mdadm --create /dev/md/myarray --level=1 --run --raid-devices=2 /dev/sdc /dev/sdd I then add the output of mdadm --detail --scan /dev/md/myarray to /...
5 votes
1 answer
1k views
What are data integrity / bit-rot protection options on CentOS 7?
I have a 2 disk CentOS 7 machine build that I need data integrity / bitrot protection on. How can I achieve this? Note from my reading btrfs,zfs and DM-Integrity does not seem to be options. Btrfs ...
1 vote
1 answer
100 views
convert a md file in odt with correct name
I added this command in Dolphin menu for convert a .md (Mark Down) file to .odt (Open Document Text ) file: pandoc %U -o %F.odt and I get the right file, but with two extension: fileorig.md.odt How ...
3 votes
1 answer
2k views
linux "mdadm --write-journal" and lvmcache - how do they relate?
In linux mdadm man page I saw the option "--write-journal". How does this relate to lvmcache as lvmcache is built on top of dm-cache? Are they different things or does lvmcache do something like "--...
0 votes
0 answers
663 views
RAID1 resync doesn't keep syncronized disks when one device was manually changed
After some crash on a RAID1 I did some investigation and tests. Doing the following: # dd if=/dev/zero of=1 bs=1M count=256 # dd if=/dev/zero of=2 bs=1M count=256 # losetup /dev/loop1 1 # losetup /...
3 votes
1 answer
24k views
How to wipe md raid meta?
I have Ubuntu 16.04 host with 3 Ubuntu 17.10 guests in KVM (Virtual Machine Manager 1.3.2). I export several block devices from 2 guests to the other guest (let's call it frontend) via iSCSI portal ...
2 votes
1 answer
4k views
EFI system partition on top of MD RAID and LVM
I'd like to put a EFI system partition on top of a MD RAID 1 + LVM setup. So the ESP would be a Logical Volume on top of the MD RAID device. I've heard mixed things about whether this is possible. Has ...
1 vote
0 answers
526 views
Tried to grow my raid6 array with a new drive, got "Failed to restore critical section"
I added a new drive to my RAID6 array, before I added the drive my array looked like this $ cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid6 sde[5] sdc[1] sdb[6] sdf[4] ...