High Sierra erase drive fails .... both with disk utility and with terminal
I have tried to erase two different HDDs, (60GB Hitachi, and 120GB Toshiba) to re-purpose them for data exchange with my colleagues. I am running High Sierra 10.13.6 (17G4015) and have tried to use Disk Utility and Terminal.
With Disk Utility I get the following error:
I have then tried to use Terminal command as follows. The Terminal approach gives me two different issues as per the following:
Issue 1: Resource Busy (although the device successfully unmounted …finder was closed, nothing was accessing the drive as best as I can tell - it unmounted)
ZKMACPRO:~ zkmacpro$ sudo diskutil unmountDisk force disk3
Password:
Forced unmount of all volumes on disk3 was successful
ZKMACPRO:~ zkmacpro$ sudo dd if=/dev/zero of=/dev/rdisk3 bs=1024 count=1024
dd: /dev/rdisk3: Resource busy
1+0 records in
0+0 records out
0 bytes transferred in 0.026172 secs (0 bytes/sec)
or
Issue 2: Error: -69760: Unable to write to the last block of the device
ZKMACPRO:~ zkmacpro$ sudo diskutil unmountDisk force /dev/disk3
Password:
Forced unmount of all volumes on disk3 was successful
ZKMACPRO:~ zkmacpro$ sudo diskutil eraseDisk JHFS+ Backup /dev/disk3
Started erase on disk3
Unmounting disk
Creating the partition map
Error: -69760: Unable to write to the last block of the device
-------
Here is the output of diskutil list for reference ......
ZKMACPRO:~ zkmacpro$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 1000.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1000.0 GB disk1
Physical Store disk0s2
1: APFS Volume MacSSD1TB 888.3 GB disk1s1
2: APFS Volume Preboot 19.9 MB disk1s2
3: APFS Volume Recovery 514.9 MB disk1s3
4: APFS Volume VM 16.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *120.0 GB disk2
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *60.0 GB disk3
------------------------
I have tried the Disk Util or Terminal approach with 2 different manufacturer HDDs and HDD enclosures, different cables, and many permutations to isolate that its not a HDD or enclosure or cable issue. I have also tried on my wifes Mac (same OS level) but different hardware / USB connection - with the same issues. To me it's pointing to High Sierra.
I have looked through many entries but cannot find any resolution. I look forward to any advice and guidance on how to proceed.
Thanks Zoran
MacBook Pro 13", 10.13