How do you create a shared hot spare device for software raid devices?

Updated -

A hot spare device can be shared between two software raid devices, such as /dev/mdX and /dev/mdY. These raid devices can be configured with Raid levels like 1,5 and 6.

Assume the hot spare device has /dev/sdx1

Initially, it is required to add the spare device /dev/sdx1 to any one of the raid devices.

mdadm /dev/md0 -a /dev/sdx1

After adding the dis...

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