Page MenuHomeSolus

Update mdadm to 4.0
ClosedPublic

Authored by der_eismann on Oct 19 2018, 7:00 PM.
Tags
None
Referenced Files
F11065237: D4090.diff
Fri, Aug 11, 4:25 PM
F11025733: D4090.diff
Wed, Aug 9, 1:18 AM
F11022487: D4090.diff
Tue, Aug 8, 1:24 AM
F11014923: D4090.diff
Sat, Aug 5, 8:33 AM
F10959980: D4090.id10069.diff
Tue, Jul 18, 8:57 AM
F10921206: D4090.id10080.diff
Jul 9 2023, 11:45 AM
F10909011: D4090.diff
Jul 7 2023, 2:34 AM
F10896139: D4090.id.diff
Jul 1 2023, 10:16 PM
Subscribers
None

Details

Summary

Update mdadm from 3.3.4 to 4.0
This release adds support for journalled RAID5/6 and clustered
RAID1. It also includes support for IMSM 4k sector drives,
failfast and better documentation for journaled RAID.

Test Plan
  • Create a new RAID1 array
sysop@laptop ~/solbuild/mdadm $ sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sda1 
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
  • Check progress
sysop@laptop ~/solbuild/mdadm $ cat /proc/mdstat 
Personalities : [raid1] 
md0 : active raid1 sda1[1] sdb1[0]
      3912704 blocks super 1.2 [2/2] [UU]
      [=>...................]  resync =  7.5% (297152/3912704) finish=104.5min speed=576K/sec
      
unused devices: <none>
  • Format & mount /dev/md0

Diff Detail

Repository
R2056 mdadm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 20 2018, 11:08 AM
This revision was automatically updated to reflect the committed changes.