mdadm change wrong device name md127 fix and solution in Linux

md127 issue, it should be /dev/md3 per mdadm.conf

Any time something is mounted as md127 it almost always means there is no entry for this mdadm array in the mdadm.conf in initramfs (which is separate from your actual /etc/mdadm.conf).

cat /etc/mdadm.conf
ARRAY /dev/md3 metadata=1.2 UUID=b6722845:381cc94e:7a2c5b5f:8e3b7c4f


The reason for this is something strange, most Linux OS's bizarrely always keep their own copy of /etc/mdadm.conf in the initram for the kernel, it will not automatically update or check the newest contents on your root partition.
This is why so many people have the problem and try different hacks and fixes that I have never seen work (eg. reassembling etc...).

Solution In Centos here is how you would fix the problem (assuming your /etc/mdadm.conf is correct/updated):


dracat --force


Tags:

mdadm, md, linuxmd, dev, conf, mounted, entry, array, initramfs, etc, metadata, uuid, cc, linux, os, bizarrely, initram, kernel, automatically, update, newest, contents, partition, hacks, fixes, eg, reassembling, centos, updated, dracat,

Latest Articles

  • Linux tftp listens on all interfaces and IPs by DEFAULT Security Risk Hole Solution
  • python import docx error
  • Cisco Unified Communications Manager Express Cheatsheet CUCME CME
  • Linux Ubuntu Debian Missing privilege separation directory: /var/run/sshd
  • bash how to count the number of columns or words in a line
  • bash if statement how to test program output without assigning to variable
  • RTNETLINK answers: Network is unreachable
  • Centos 7 how to save iptables rules like Centos 6
  • nfs tuning maximum amount of connections
  • qemu-kvm error "Could not initialize SDL(No available video device) - exiting"
  • Centos 7 tftpd will not work with selinux enabled
  • Debian Ubuntu Mint Howto Create Bridge (br0)
  • How To Control Interface that dhcpd server listens to on Debian based Linux like Mint and Ubuntu
  • LUKS unable to type password to unlock during boot on Debian, Ubuntu and Mint
  • Debian Ubuntu and Linux Mint Broken Kernel After Date - New Extra Module Naming Convention
  • Wordpress overwrites and wipes out custom htaccess rules and changes soluton
  • Apache htaccess and mod_rewrite how to redirect and force all URLs and visitors to the SSL / HTTPS version
  • python 3 pip cannot install mysql module
  • QEMU-KVM won't boot Windows 2016 or 2019 server on an Intel Core i3
  • Virtualbox vbox not starting