So, I bought a WD’s EasyStorage 2TB drive. The case says it is Mac compatible but it is not. It comes with NTFS. DiskUtil (via UI) is unable to reformat / erase it and throws this error:
Unmounting disk MediaKit reports not enough space on device for requested operation. Operation failed…
So I followed commands in Terminal to fix this issue:
$ diskutil list
In my case the disk is “disk2”.
$ diskutil unmountDisk force disk2 $ sudo dd if=/dev/zero of=/dev/disk2 bs=1024 count=1024
After this I was able to use it. Help this helps.