Back up important files immediately
Open Disk Utility
Select the SSD and each affected volume
Run First Aid on the volume, then the container, then the physical disk
Restart the Mac and test whether the partition issue is resolved
Use Terminal and run `diskutil list`
Verify the disk identifier for the SSD
Run `diskutil repairDisk /dev/diskX` with the correct disk identifier
Run `diskutil repairVolume /dev/diskXsY` on the affected volume
If the partition map is damaged, use `diskutil apfs list` to inspect APFS containers and volumes
If needed, mount the disk read-only and copy data off before making changes
Avoid erasing, repartitioning, or formatting the SSD until data is secured
If the partition table is corrupted, use a trusted data recovery tool before modifying the disk
Check for macOS updates and install them
Reset NVRAM and SMC if the SSD is not being detected correctly
Boot into macOS Recovery and run Disk Utility from there
If the SSD is external, try a different cable, port, or enclosure
If the SSD still shows partition errors, consult a professional data recovery service
