The drive partition isn't visible, and it seems to be missing from the system.
The drive partition isn't visible, and it seems to be missing from the system.
My SSD paired with my media library isn't displaying any partitions. I don't know when this started; I only found out today. Can I still recover the data? It's the main storage for an Ubuntu server. My thought is that a reboot occurred at the wrong time while writing to the disk. I have a backup from 20 days ago, but I didn't set up the script right after the server was rebuilt, so this must have happened. If I lose new files, I'd miss out on the backup too—plus the backup is stored on a questionable drive (I'm ordering a new one now). I've checked lsbkl and fdisk for the partition, but it doesn't appear. I'm running some commands just to be safe: badblocks, fsck, gdisk, and I even tested the SATA cable physically. The system has been rebooted. Is there any way to avoid this? It's happened more than once, but I've never lost a partition before.
You adhered to the guidance, even after running previous commands, and now the drive is ready. The badblock command seems to resolve the issue as it progresses. The fdisk -l tool doesn’t appear to fix anything.