How do I rename a RAID array if I need to move the RAID array to another system, which already has an array with the same name?

Updated -

In the following example, /dev/md0 is the original and /dev/md6 is the new md device. /dev/sda5 and /dev/sdb5 are the two partitions that make up the RAID device. This can be done with the following commands:

# mdadm --stop /dev/md0
# mdadm -A /dev/md6 -m0 --update=super-minor /dev/sda5 /dev/sdb5


Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In