I recently bought 2 Patriot 220 2Tb SSDs, ne oof them failed upright the ther one passed, after some latency hiccups on boot. So i added it to my LVM on my homeserver tower PC as i needed storage fast.
7 months later , my ssh sesssion started to return input/output errors and no coommand can be executed without this error showing up. I rebooted my PC hoping this would go away (i thought it was a bad cabe connection), but i wasn’t ablel to boot, it seems the boot process can’t create the LVM back as it is noot finding my Patriot SSD, i was dropped too the initramfs.
this PC is my homelab and i run multiple services like immich and multiple personal projects with unbacked databases and multiple services that i would like to backup. some files and services are working fine, but nayuthign that is partially or fully saved on the faulty drive seems too have issues.
i tried t. chatGPT it and it got me to use a live USB too check oon the “faulty” drive and it was fine, i was able to see the drives, activate the LVM and mount it, i wasn’t able to read all files some still show input/output error. So it asked too run fsck.
in the liveUSB, I ran fsck on the unmounted volume and it tok about 48h and didn’t finish, until i lost power home and it had to stop, i wasn’t able to rerun fsck initially (can’t recover the journal) but n subsequent reboots it did work. The problem here is that i can’t always see the drive when booting, running `lvs` commands randomly yields [unknown] drives as part of the LVM which gpt said cannot be used to run the fsck again.
Right now, i am looking at a full image backup f my entire LVM (~< 3Tb) and then easier recovery, of what can be recovered, but without having to deal with a failing SSD.
How can i do that? what are my options, chatgpt suggested “ddrescue” and “SystemRescue” image, but i woudl like to get a better help.
Note : i am going t buy an 8tb external HDD to use foor this backup, homefully this will not be a recovery bottleneck