6

I read the question here Reusing Raid 5 Drive? but I'm not sure it applies 100% to my situation.

What is the standard practice when removing a drive from an array to use as a spare for another array? Is it absolutely necessary to wipe the drive and remove the array, or can I literally just take a drive from a decommissioned server and plug it into another one?

I'd like to break a RAID 1 array on a production server (so I have a backup drive), and if an upgrade goes well return the drive to the array to restore the mirroring function without introducing a brand new drive; however, I can logically see things wrong with doing it this way.

Thoughts?

The server is an HP DL380 G7 running RAID 1 on the OS drive (ESXi is the OS), and a RAID 5 array with 4 300 Gb drives for data.

nullByteMe
  • 419
  • 2
  • 5
  • 17

1 Answers1

5

You don't need to wipe the drive to do what you're describing. You'll find that you won't even have a convenient way to erase a single disk.

I'd urge you not to break the RAID 1 array as a form of backup, though. What happens if the upgrade "goes poorly"?

This practice shouldn't be promoted because it carries some risk, and doesn't scale to other RAID levels or larger groups of disks.

HP does have a sanctioned approach to do this type of operation. It's called Split/Recombine Mirror Array.

Edit:

You're doing this with VMware ESXi. It's unnecessary to go through this trouble for ESXi. When you upgrade VMware, there's an option to revert to an alternate Bootbank.

See: How is the /altbootbank/ partition used in ESXi?

Or the VMware ESXi architecture paper.

The ESXi system has two independent banks of memory, each of which stores a full system image, as a fail-safe for applying updates. When you upgrade the system, the new version is loaded into the inactive bank of memory, and the system is set to use the updated bank when it reboots. If any problem is detected during the boot process, the system automatically boots from the previously used bank of memory. You can also intervene manually at boot time to choose which image to use for that boot, so you can back out of an update if necessary.

ewwhite
  • 201,205