Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Reformat an SSD with a Larger Allocation Unit Size

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Reformatting an SSD with a larger allocation unit size (also called cluster size) can improve performance for certain workloads, especially when storing large files like videos, disk images, or game libraries. It reduces the number of clusters the drive has to manage, which can speed up reads and writes for big contiguous files. However, it also wastes more space when storing many small files. This guide walks you through the process safely, with steps for both Windows and macOS.

What You'll Need

  • An external drive enclosure or a free SATA/M.2 port to connect the SSD if it's not already installed.
  • A USB drive or another storage location to back up any data you want to keep.
  • Administrator access on Windows or admin user on macOS.
  • If you're formatting the drive that contains your operating system, you'll need a Windows installation USB or macOS recovery access.

Step-by-Step

Before You Start

  1. Back up your data. Formatting erases everything on the drive. Copy any files you need to another drive or cloud storage. Verify the backup is readable before proceeding.
  2. Identify the correct drive. Open Disk Management (Windows) or Disk Utility (macOS) and note the disk number or name. Double-check that you're selecting the right SSD to avoid wiping the wrong drive.

Windows 10/11

  1. Open Disk Management. Right-click the Start button and select "Disk Management".
  2. Locate your SSD. Find the disk that matches the capacity and model of your SSD. It's usually labeled "Disk 1", "Disk 2", etc. If the drive has partitions, right-click each partition and choose "Delete Volume" until the disk shows as "Unallocated".
  3. Initialize the disk if needed. If the disk shows "Unknown" or "Not Initialized", right-click the disk label and select "Initialize Disk". Choose GPT if your system uses UEFI (most modern PCs), or MBR for older BIOS systems.
  4. Create a new volume. Right-click the unallocated space and select "New Simple Volume".
  5. Set the allocation unit size. In the wizard, when you reach the "Format Partition" step, you'll see a drop-down for "Allocation unit size". Choose a larger value like 64 KB or 128 KB. For most users, 64 KB is a good balance. If you're storing files larger than 1 GB, 128 KB may be better.
  6. Complete the wizard. Choose a file system (NTFS is typical for Windows), set a volume label, and check "Perform a quick format". Click Finish and wait for the format to complete.

macOS (APFS or Mac OS Extended)

  1. Open Disk Utility. Go to Applications > Utilities > Disk Utility.
  2. Select the SSD. In the sidebar, click on the physical disk (the top-level item, not the volume underneath).
  3. Erase the drive. Click the "Erase" button in the toolbar.
  4. Set the format and scheme. Choose a format: APFS for modern macOS (especially if it's your boot drive), or Mac OS Extended (Journaled) for older systems or compatibility. For the scheme, choose GUID Partition Map.
  5. Set the allocation size. macOS does not expose the allocation unit size in the standard Erase dialog. To set it, you need to use the command line. Open Terminal and run the following command, replacing disk2 with your actual disk identifier and 64K with your desired size (e.g., 64K, 128K):
diskutil eraseDisk APFS "SSD" GPT disk2

This creates an APFS volume with default allocation size. To set a custom cluster size, you must first create the file system, then use diskutil apfs resizeContainer or re-format with newfs_apfs with the -s flag. However, this is advanced; for most users, the default APFS allocation size is fine. If you need a custom size, consider using a third-party tool or formatting as exFAT with a custom cluster size via Terminal:

sudo newfs_exfat -c 64 disk2s1

This formats the volume as exFAT with 64 KB clusters. Replace disk2s1 with your volume identifier.

Common Mistakes

  • Choosing too large a cluster size. If you store many small files (like documents or photos), a 128 KB cluster can waste significant space. For a typical mixed-use drive, 4 KB (default) or 16 KB is safer.
  • Formatting the wrong drive. Always double-check the disk number and capacity. Deleting the wrong partition can cause data loss.
  • Not backing up. Even if you think you don't have important data, back up anyway. Mistakes happen.
  • Using quick format on a used drive. A quick format only removes the file system pointers, not the data. If you're selling or disposing of the drive, use a full format or secure erase.

Tips

  • Align partitions correctly. Modern operating systems align partitions to 1 MB boundaries automatically, so you don't need to worry about this.
  • Consider TRIM. After formatting, ensure TRIM is enabled. On Windows, open Command Prompt as admin and run fsutil behavior query DisableDeleteNotify. If it returns 0, TRIM is on. On macOS, it's enabled by default for internal SSDs.
  • Use the right file system. NTFS is best for Windows-only drives. exFAT is good for cross-platform compatibility (Windows and macOS) without the 4 GB file size limit of FAT32.
  • Test performance after formatting. Run a benchmark like CrystalDiskMark (Windows) or AmorphousDiskMark (macOS) to see if the larger cluster size actually helps your workload.

Troubleshooting

  • Drive doesn't show up in Disk Management. Check the SATA/power connections or try a different USB enclosure. If it's a new drive, it may need to be initialized first.
  • Format fails with "The device is in use". Close any programs that might be accessing the drive, or boot from a Windows installation USB and format from there.
  • macOS Terminal command not working. Make sure you have the correct disk identifier. Run diskutil list to see all disks and their identifiers.
  • Drive becomes very slow after formatting. This could be due to a too-large cluster size for your file pattern, or the drive may need a secure erase to restore performance. Try reformatting with a smaller cluster size.
  • Cannot delete volume in Disk Management. If the volume is the system or boot volume, you'll need to boot from a recovery drive. Otherwise, try using DiskPart in Command Prompt: diskpart then list disk, select disk X, clean.

Frequently Asked Questions

Does a larger allocation unit size improve SSD performance?

It can, for large files. The drive has fewer clusters to manage, which can reduce overhead. For small files, performance may actually decrease due to wasted space and more read/write operations.

What allocation unit size should I use?

For a general-purpose drive, 4 KB (default) is fine. If you store mostly large files (video, ISOs, games), 64 KB is a good choice. Avoid going above 128 KB unless you have a specific need.

Will reformatting with a larger cluster size damage my SSD?

No. Formatting is a safe operation, though it does erase data. It doesn't cause physical damage.

Can I change the allocation unit size without reformatting?

No. The allocation unit size is set during formatting. You must back up, reformat, and restore your data.

Does the allocation unit size affect SSD lifespan?

Indirectly. A larger cluster size can reduce write amplification because fewer write operations are needed for large files. However, it can also increase wear if it causes more frequent partial writes for small files. The effect is minimal in most real-world usage.

Is it safe to use a larger cluster size on an external SSD?

Yes, as long as the drive is formatted with a file system that supports it (NTFS, exFAT, APFS). Just ensure the device you connect it to can read that file system.