Fixing the /dev/md127 problem

First written onOctober 18, 2018
Last updated onSeptember 13, 2021

A quick how to today.

/dev/md127. It happened again while I was adding a new RAID array to replace another one. You have no idea the number of times I had to look on the Internet on how to fix this problem. It usually take 1/2 hour to get the correct instructions, and I always tell to myself:

The solution to this problem is very simple. I know I will remember how to deal with it the next time.

But this is not the case, hence the reason for writing this post.

The fix is quite simple:

All this applies if you use mdadm and a GNU/Linux system.