How to resize RAID1 array with mdadm?

Just use mdadm –grow –size max /dev/md2 Then you’ll be able to use resize2fs /dev/md2 To let file system match the raid size. All of that is done online without even unmounting the md2.