Questions tagged [mdadm]

A linux utility used to manage software RAID devices.

844 questions
4
votes
3 answers

What are the advantages and disadvantages of constructing an mdam array from whole disks vs. partitions?

Let's say I've got six identical drives and I'm going to use them all in a RAID10,f2 array constructed using mdadm. I've always put a single partition on each disk and constructed the array from /dev/sd[bcdefg]1 rather than the whole disk. But, I'm…
kbyrd
  • 3,672
  • 2
  • 24
  • 34
4
votes
1 answer

MD RAID 1 with external bitmap doesn't fully resync

I have an interesting configuration: dual boot system with a RAID 1 that needs to be visible in both Windows and Linux. The Windows install is Win 7 Enterprise, and the Linux install is Kubuntu 10.04. To get the RAID to work, I set it up using…
user64744
  • 41
  • 3
4
votes
1 answer

Growing a RAID5 using mdadm with multiple drives?

I have a RAID5 array that consists of 3, 2TB drives. I want to add 2 more drives. The tutorials involve adding a single drive to an array, such as this: https://raid.wiki.kernel.org/index.php/Growing Can I add both drives at the same time? Can I do…
Geoffrey
  • 273
  • 1
  • 4
  • 12
4
votes
2 answers

Failed MDADM Array With Ext.4 Partition - "e2fsck: unable to set superblock flags on /dev/md0"

Had a power failure and now my mdadm array is having problems. sudo mdadm -D /dev/md0 [hodge@hodge-fs ~]$ sudo mdadm -D /dev/md0 /dev/md0: Version : 0.90 Creation Time : Sun Apr 25 01:39:25 2010 Raid Level : raid5 …
4
votes
1 answer

Does Linux md-raid store backup metadata anywhere on the disk?

I know that with ext2/3/4 and other filesystems, copies of the superblock are stored throughout the disk in case the primary superblock is corrupted (https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout). With md-raid (software raid), the…
Paul Brannan
  • 161
  • 4
4
votes
1 answer

Linux mdraid resync speed on 36 drive array

I have some performance issue with mdraid. I have one 18x10TB soft raid6 array that is resyncing at ~70MB/s: kernel 5.8.13-1.el8 /dev/md0: Version : 1.2 Creation Time : Mon Oct 5 15:11:15 2020 Raid Level : raid6 …
forke
  • 143
  • 10
4
votes
1 answer

mdadm RAID5 RAID6 how to check consistency on running array

On mdadm softraid 6 (about 12 disks, 60TB) there appeared accidental misswrites in large files (>100GB). All system was checked - RAM, NIC, LSI RAID card. The most suspected is the LSI because its battery BBU is flat and write back / write through…
schweik
  • 263
  • 2
  • 9
4
votes
1 answer

mdadm: power failure during raid1 rebuild

RAID1 array created with mdadm; array was rebuilding when there was a power failure. On coming back up, the array seems to be dead. # cat /proc/mdstat Personalities : [raid1] md0 : inactive sdb1[2](S) sda1[3](S) 15627751424 blocks super 1.2 # mdadm…
user5416
  • 83
  • 1
  • 6
4
votes
0 answers

Rebooted Ubuntu, Raid6 degraded, Raid5 ok

Boot Drive is a WD 1TB SSD running Ubuntu 18.04 LTS... I have 2 arrays running off 1 LSI Card... 16 x 8tb IronWolf inside a RaidMachine (Raid 6) [my main data] 11 x 10tb Exos inside a SuperMicro (Raid 5) [backups] Everything was fine, and has been…
PerryCS
  • 141
  • 3
4
votes
1 answer

Struggling to grow my physical VDO size after MD grow

I'm hitting a bit of a brick wall here with vdo growPhysical -n pool. I've recently replaced my 3TB HDD's with 4TB HDD's in an md RAID5 array, which is now showing the correct capacity (8TB) but not allowing expansion of the VDO backing. sudo mdadm…
4
votes
0 answers

MDADM Raid10 event mismatch after restart

I made a raid10 with 8x8TB drives the file system on it is XFS. I never had any issue with it. The raid is configured as near2 and internal bitmap. The drives are connected to a LSI-9211-8i in HBA mode. Last week, I finally bought another set of…
3
votes
1 answer

mdadm raid5 was added as a spare to itself

I have a raid 5 device created with mdadm. I was working on it and long story short, I wanted to type mdadm --manage /dev/md127 -a /dev/sdd, but I accidentally typed mdadm --manage /dev/md127 -a /dev/md127 -a /dev/sdd which added the raid as a spare…
qspitzer
  • 141
  • 2
3
votes
2 answers

Kickstart CentOS 7 with software RAID 1, but no LVM needed

I am going to Kickstart a CentOS 7.x installation with software RAID 1 remotely for the first time. So I am kinda inexperienced at this and wondering what I need to make this work correctly. A CentOS 7.x kickstart with hardware raid, I use the…
HudsonHawk
  • 103
  • 2
  • 14
3
votes
1 answer

Linux Raid: mystical md_d device

I have a 64bit Ubuntu Jaunty server (kernel 2.6.28-17-server) installed on two SATA disks (sdc and sde) in a mirror RAID, this being my current raid configuration: cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]…
Norb
3
votes
2 answers

Does KVM/QEMU support mdadm RAID5 properly?

I'm not able to get anything close to usable performance using a guest file located on a mdadm RAID5 array. I've believed I optimized all the parameters of the array and filesystem for best R5 performance: set bitmap=none set stripe-cache=32768…
MrCalvin
  • 354
  • 1
  • 6
  • 18