This is how to initialize a hard drive within macOS using the command-line. If you’ve encountered errors initializing a hard drive using Disk Utility, there is a good chance that following this procedure to initialize the hard drive via the command-line may work. I found this procedure because I had built a concatenated RAID disk set that contained six hard drives. One of the six hard drives failed, rendering the entire RAID array useless. I wanted to initialize the five non-defective hard drives, so that they could be repurposes. When I attempted to initialize the drives within Disk Utility, errors appeared. This was my fix for formatting a hard drive within macOS. #macOS #how-to