MacOS USB drive no longer auto-mounts
So, I have a USB drive I have used for years and it suddenly does not mount anymore.
I have tried a number of things. But I always get an error when trying to mount it via the Disk Utility GUI. Specifically, the error "Could not mount “Andromeda”. (com.apple.DiskManagement.disenter error 49180.)"
However, if I use the terminal via "sudo diskutil mount -mountPoint /tmp/Andromeda /dev/disk2s1" it does work and everything sees the volume. Everything seems fine until I unmount it (via Disk Utility or Finder) and I can then no longer mount it again.
The other thing is that the directory in /Volumes continues to remain to be there for the drive/volume.
This has now spread to a second drive that was working just fine for well over a year of temporary mounting and unmounting. That drive also has multiple partitions on it.
Finally, I tried reformatting one of the drives (it was a backup) and named it the same as the prior volume and it would not mount, even with a full reformat.
The exact same drives mount perfectly fine on another MacBookPro running the same version of the MacOS (11.2.3)
As best as I can tell, the OS has corrupted itself somewhere with respect to the mount volumes.
Unfortunately, MacOS has changes a lot from when I did lower level work on it so I don't know where the data may be about the automounting and existing volumes.
Finally, I can not seem to delete the /Volumes/Andromeda and two other mountpoints even after rebooting, rebooting into safe mode, and rebooting into the recovery console. It may be that the existence of those directories in /Volumes is the problem.
I have run first aid from Disk Utility (and in the recovery console) and it always says things are just fine.
This has made using these external drives very complex as I must go into terminal and manually mount them. It is sad that the other MacBookPro is working just fine. (Albeit it is not the machine that is normally used for this work)
MacBook Pro 16″, macOS 11.2