RELATED: How to Securely Wipe a Hard Drive on Your Mac One pass should be good enough, but you can always do a few more if you feel like it. You can use this feature to securely wipe a hard drive. Click a drive, then click the “Erase” button, then click “Security Options” to select a number of passes to overwrite the drive with.
You can also choose to only erase its free space. The Erase button allows you to erase an entire hard disk or partition. Simply click the drive you want to check, then click the “First Aid” button. Be warned that these checks can take a while, and running them on your system drive will leave you with an unresponsive computer until it’s done. This feature checks the file system for errors and attempts to correct them, all without much intervention from you. If a hard drive is acting up, Disk Utility’s First Aid function is the first thing you should try.
RELATED: How, When, and Why to Repair Disk Permissions on Your Mac One of them: volumes on the same drive pool storage space, meaning you’ll see two separate drives in Finder, but won’t have to manage how much storage space each volume uses. To add a new APFS volume, simply select your system drive, and then click Edit > Add APFS in the menu bar. APFS is Apple’s new file system, the default on solid state drives as of macOS High Sierra, and it’s got all sorts of clever tricks up its sleeve. If you want to repartition your system drive, you’ll need to do this from within Recovery Mode, with one exception: APFS volumes. RELATED: APFS Explained: What You Need to Know About Apple's New File System Note: Many of these operations are destructive, so be sure you have backups first. You can also resize, delete, create, rename, and reformat partitions. You can adjust the partitioning layout scheme here. To manage your partitions, click a parent drive and select the “Partition” heading. Each “parent” drive is a separate physical drive, while each little drive icon below it is a partition on that drive. This annoyingly leaves out empty hard drives, but click Views > Show All Devices in the menu bar and you’ll see a tree of drives and their internal partitions. RELATED: How to Show Empty, Unformatted Drives in Disk Utility on macOS On the left side of the window you’ll see all mounted volumes. Partition Drives and Format Partitionsĭisk Utility shows internal drives and connected external drives (like USB drives), as well as special image files (DMG files) that you can mount and access as drives. This allows you to use Disk Utility to wipe your entire drive-or repartition it. Note: do not mess with the GUID_partiton_scheme or the EFI partition doing so (unless you know exactly what you are doing) will likely result in a very sad system administrator.In Recovery Mode, macOS runs a special sort of recovery environment. The resultant command would end up being:ĭiskutil createRAID mirror ServerRAID JHFS+ disk2 disk3 The name of the RAID will be ServerRAID and the file system will be Journaled HFS +. To use this in an example, we will build a mirror of disk2 and disk3 from our above list. So simply list then as disk2, disk3 or whichever disks you are looking to add to the RAID. Each disk was identified in the #: column from the list command previously run. The final aspect of the command that will build your RAID is the disks that will be included in the RAID set. Most administrators are going to choose “JHFS+”, which is an available shortened version of Journaled HFS+.
Available file systems in Mac OS X Server include “Journaled HFS+”, “HFS+”, Case-sensitive HFS+”, Case-sensitive Journaled HFS+”, HFS”, MS-DOS FAT16″, “MS-DOS FAT32″, MS-DOS FAT12”, “MS-DOS”, “UDF”, “UFS” and “ZFS”. Next you will include the file system type to put the RAID on. Following the RAID type you will provide a name for your RAID by using the setName verb followed by the name of the disk. Available raid types from the command line include mirror, stripe and concat which result in RAID 1, RAID 0 and JBOD respectively. When you run diskutil list you will see a listing of all partitions on your disk as can be seen below:ģ: Apple_HFS LeopardServer 15.0 Gi disk0s3Īs you will likely want to create a RAID for the boot volume of your server you will likely use the createRAID verb followed by a flag indicating the type of RAID to create. As with the Disk Utility application, double (nay, triple) check your drives to make sure that either they are backed up or you absolutely positively do not need any of the data they contain, or you will not ever likely see your data again (my precious). Now that you are looking at a command prompt on the target server use the diskutil command to prepare the hard drives for installation.