SSD dead? "The operation couldn’t be completed. Invalid argument"
I had an internet service failure during an upgrade of the OS (to 14.7). I recovered by booting to recovery, erasing the boot drive, reinstalling the OS (14.7), and using Migration Assistant to restore my files, programs, and settings from a recent Time Machine backup.
Now, an external SSD (APFS) in a USB3 enclosure will not mount. Disk Utility first aid fails, so does erase. When I boot into recovery, and from there again try, I get the same error message, "The operation couldn’t be completed. Invalid argument." I have targeted the Volume, not the Volume Group, nor the Container. There is no hub externally: the enclosure is directly attached to the M2 MacBook Air via a known good TB4 cable.
Have I explained clearly? Are there any suggestions?
I must confess that I wonder what argument it is that is invalid, and also if I might be able to approach this fruitfully from the command line when booted into recovery.
MacBook Air, macOS 14.7