I'm running (or rather, was running) Ubuntu
- The machine seemed fine yesterday; This morning, it was unresponsive
- It's a tower, so there were no mechanical disturbances in the meantime (the only plausible disturbances would be atmospheric temperature/humidity cycles or faults/irregularity of the building electrical supply). This is relevant because several similar questions are about laptops, where these errors are related to mechanical failures. I suspect this is simply an SSD drive failure or file-system corruption, but I don't know how to diagnose/repair/recover from it.
Reboot eventually ends up in busybox, after printing errors (abbreviated, since I'm copying these manually from the screen):
/dev/sda1 recovering journal
... failed command: WRITE FPDMA QUEUED (several times)
... COMRESET failed errno=-16 (a few times)
... drop into busybox
- Various error messages point to the boot drive,
sda
being corrupted in some way
- I can still get the GRUB boot menu, which tells me the drive is technically bootable?
- From busybox (or the Ubuntu Studio install USB stick),
fsck.ext4 /dev/sda1
results in a long message that, among other things, says superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem
- From the Ubuntu Studio install USB stick,
fdisk /dev/sda
results in cannot open ...: Input/Output error
- The drive passed the HP bios checks
- The drive passed the Dell disk tool checks
I would need to open the machine up again to determine, but I think it's an ADATA-brand SSD, if that matters.
The only Ubuntu version information I can read is that which is provided by GRUB. It says I have access to Ubuntu, Linux 5.4.0-128-generic, and 122 generic. Neither work, recovery mode or not.
Question:
- Can you point me to a clear, simple-to-understand, set of diagnostic procedures/commands to run, when simply running fsck/fdisk doesn't automatically fix the problem?
- Can you help me understand why the Dell/HP disk check tools think the drive is fine, and I can boot into GRUB and run Memtest, but I'm otherwise unable to boot (any installed) version of Ubuntu, or successfully inspect/repair the drive/partition from busybox or the Ubuntu Studio install stick?
- Assuming the drive has failed, but is partially working, can you point me to a clear, simple-to-understand, procedure for retrieving its data?
I've done a bit of research and these questions didn't help: