Last night I lost the data drive on my desktop. I was unable to access a directory on it and the machine locked up. I rebooted and when it came back on it booted to rescue mode (or whatever the condition is called). I could login as root and check logs, but nothing on that drive could mount. Including /home.
I figured out which of the 3 drives in the box was at fault and dragged out a spare 3 TB replacement. It was bedtime and I packed it in for the night. I'll be trying to put this back together tonight, but as I think through the process, I'm unsure as to how I can get the disc partitioned and get enough /home restored from backups via BackupPC to get everything back in action.
I know I can access man files on fdisk (or whatever tool it will take) but I may be able to run drakdisk over ssh from my file server or a laptop. Trouble wit that is my user ssh credentials are in my /home directory and that's gone. I could be overthinking the whole thing.
Does anybody have any experience or tips on how to minimize the time and heartache involved in all this?
I do appreciate it.