Did you by any chance format the SD card as internal storage?
There have been a lot of problems related to SD as internal storage in the past. If you use(d) it, I would strongly recommend switching to external storage.
Here’s some more information on that matter: