daknetworks.com

You are here: Blog md1 was automatically renamed md127 after using gparted livecd.

md1 was automatically renamed md127 after using gparted livecd.

md1 was automatically renamed md127 after using gparted livecd.

Boot into file system recover mode (no live cd or rescue).
Look at:

1./cat/proc/mdstat

Now md1 was automatically renamed md127 thanks to gparted livecd.

Go into single user mode:

1.telinit 1

Take a look at the mdadm.conf

1.mdadm --detail /dev/md127

If it says "Preferred Minor : 127" this this is your problem. You need to update the preferred minor.

1.mdadm --stop /dev/md127
2.mdadm --assemble --update=super-minor /dev/md1 /dev/sda1 /dev/sdb1

This will rebuild, without data loss, md1.

Or to be more exact, use the uuid of the raid disk, md1, and update the name.

1.mdadm --assemble --update=super-minor --uuid ce917023:5da6a14f:2a9c304f:a380120a /dev/md1

Of course you need to re-adjust for your raid situation. In my case, md1 was built from sda1 and sdb1.

Then you'll have your md127 assembled as md1. And it should stay this way in the future too.

Contact Dak Networks

We are not taking on new clients at this time.