Detecting and replacing failed hard drives

OpenStack Object Storage won't be of much use if it cannot access the hard drives where our data is stored; therefore, being able to detect and replace failed hard drives is essential. OpenStack Object Storage can be configured to detect hard drive failures with the swift-drive-audit command. This will allow us to detect failures so that we can replace the failed hard drive, which is essential to the system health and performance.

Getting ready

Ensure that you are logged in to the swift-proxy nodes. If you created this node with Vagrant, you can access it by issuing the following commands:

vagrant ssh swift-proxy
vagrant ssh swift-01

How to do it...

To detect a failing hard drive, carry out the following ...

Get OpenStack: Building a Cloud Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.