Fix error - Mediakit reports not enough space on device for requested operation

If you tried use MacOS’s disk utility to erase or format a old/new hard drive, you may encounter some issue. MacOS will show below error when you tried to erase or format the drive, regardless your hard drive space:

Erase process has failed, press done to continue

The detail message will say:

Volume erase failed: Media kit reports not enough space on this device for requested operation

This error appear mostly when you try to convert Windows formatted hard drive to HFS+ (OSX Journaled). Some new external hard drive come with NTFS format. If you have this issue, you can still use diskutil to do this, but in terminal. Step 1, find your disk name you’re trying to format. You can use command:

diskutil list

or find that from disk utility. Disk Utility Step 2, unmount that usb from terminal. From step 1 we got the disk name is disk3. Replace disk3 with the correct disk name you found using step 1 for below command.

diskutil unmountDisk force disk3

Step 3, Filling the disk with all zeros (This may take a while, as it is making every bit of data 0.

sudo dd if=/dev/zero of=/dev/disk3 bs=1M

Step 4, partition it The following command will create one partition with JHFS+ format. You can change JHFS+ to APFS, ExFAT if you like.

diskutil partitionDisk disk3 GPT JHFS+ "My External HD" 0g

If you have issue with Windows, you can see the tutorial for Windows: Properly Delete Extra Partitions on USB Drive using DiskPart

Asus Z87-A MacOS high sierra upgrade prepare with clover Best and easiest way to sterilize baby bottles - UV sterilization