Toygun_ wrote:
Even i tried to erase with terminal i got same issue.
If you are familiar with the command line, then write zeroes to the beginning of the drive to destroy the existing partition table. Sometimes Disk Utility gets stuck if there is some unknown value or configuration in the system area at the beginning of the drive. Here is a template of the command you can use, just make sure to replace "diskX" with the proper drive ID for the external drive at the time (keep in mind the driveID can change every time the external drive is connected, so always check for the current driveID immediately before using this command:
sudo dd if=/dev/zero of=/dev/diskX bs=100m count=10
This command will prompt for your admin password. Nothing will appear on the screen as you type the password, so press the "Return" key to submit the password.
After doing this, then try using Disk Utility again to erase the whole physical drive.
I tried SSD on my ps4 and windows laptop but there is no problem with their
May just be a compatibility issue with this drive and this laptop. However, you should check to see which version of the SanDisk SSD you purchased since the older model (maybe still sold at some locations) had a known issue that required a firmware update. Some people suspect that even other models are affected and perhaps even the newer revision as well.
https://support-en.wd.com/app/firmwareupdate
If this is not the exact model or revision, then you may want to check the WD site to make sure there are no firmware updates for your exact model SSD.
Make sure to disconnect all other external devices in case one of them is causing a problem. Maybe even try using a powered hub or dock to see if that makes any difference. I know I just saw a post regarding an external drive issue and they found using a hub/dock allowed the drive to be accessed.
Try using each of the other USB-C ports especially on the other side of the laptop. Even try using another USB-C cable.
Try booting into Safe Mode to see if it makes any difference. If this works, then you most likely have some third party software installed which is interfering with the normal operation of macOS.
When you erase the SSD on Windows, is macOS able to see the volume? Can it be mounted on macOS? Sometimes Windows may use a file allocation size with exFAT that macOS does not understand, so maybe try formatting the drive to NTFS on Windows. macOS should at least be able to read & mount an NTFS volume. This is only meant as a test to eliminate possible file system issues.