savita88 wrote:
I use few SanDisks SSD and with this new OSX it seems to be terrible.
1) formatted in APFS it just takes few days before it suddenly cannot be mounted - you just see it in Disk utility and not on Mac.... You have to erase it and wait till this happens again :((
Hard to say what is causing this as multiple things could corrupt a volume. If it occurs with more than one drive, then either you got a bad batch of them or you have something else going on with this Mac (or another computer using these drives) which is causing a problem. Are these SSDs connected directly to the Mac? Do you need to use an adapter with this Mac? Have you tried connecting these SSDs to another USB port especially on the other side if it is a laptop? Also, try using another USB cable.
Make sure to disconnect all other external devices from the Mac in case one of them is causing a problem. There have been cases since macOS 11.x Monterey where some external devices may interfere with the proper operation of external drives. One known example is a compatibility issue with Wacom tablets where external drives may have intermittent issues, but everything will work perfectly fine as long as the external drives are mounted before the Wacom tablet is connected (no idea whether a macOS or Wacom software update ever resolved this issue, but there is always a chance another third party device or driver could cause a similar problem).
Check to see whether there are any firmware updates available for the external SSD. Also check with the manufacturer to make sure these SSDs are compatible with your Mac if you are using an M1/M2 Apple Silicon Mac since not all external devices are compatible (usually older devices).
Are you saying you are not able to use First Aid on it the volume? If the volume is not seen in Disk Utility, then try running First Aid on the physical drive and the hidden Container. Within Disk Utility you may need to click "View" and select "Show All Devices" so the physical drives and hidden Containers appear on the left pane of Disk Utility.
2) if you erase some files and folders and want to empty the bin - it is impossible. Whatever you want to erase: "xy can't be erased because it it in use". Or - go through each file, unlock it etc.
That is not uncommon on macOS. I regular encounter this issue and it is annoying as it can be difficult to determine what process still is trying to access the mounted volume. Many times it will be Spotlight trying to index the volume, but I have also seen various apps including the Finder itself refuse to let go of a file or volume. Sometimes you may be able to use the command line and use the "lsof" and "fs_usage" utilities to check for what process may still be accessing the volume.
Sometimes closing the app which was access files on that volume will release its control of the volume. If it was the Finder, then you may need to Force Quit the Finder.
This #2 issue now gives me another idea why your SSDs are having a problem. Maybe when you eject them macOS has not completely flushed the file buffers for that drive, so you end up corrupting the file system. Usually if this is the case you should see a "disk not ejected properly" message. I miss the old notification "It is now safe to remove the device" when ejecting drives so I now wait at least 15 seconds or until the LED on the drive stops flashing in order to allow macOS time to flush the cache even if the drive I'm ejecting is a super fast SSD.
It is really horrible. I wonder - what is going on ?
You can't seriously work like this - not knowing when next the disk can't be mounted ??
While the new APFS file system should be much better and less prone to corruption, I find that it still has some growing pains as I have found times when First Aid is unable to repair the APFS file system. I personally prefer to keep using the older HFS+ (aka MacOS Extended (Journaled)) file system. Maybe you should try this file system to compare results.
Within the System Settings, uncheck the option to "Put drives to sleep when possible" to see if that makes any difference. This is either in the Battery Settings for a laptop, or the Energy Saver Settings for a desktop Mac, but with Ventura if the setting is not in these locations, then you will need to enter that parameter into the System Settings search field to locate it.
Edit: Just thought of something else as well. SSDs can be susceptible to power related issues which can corrupt an SSD.