(no subject)

Jan 19, 2007 23:36

Beware my technosavagery!

It looks like I may just have just managed to salvage all those old files off the old webserver.

I had formated the old SCSI drive with ext3, but when Taz's motherboard died, it must have been right when the drive was writing to the first superblock, as the drive was unmountable. But it was still recoverable:
-use dd to copy the contents of the whole of the SCSI device's contents to a file on another drive
-reformat the drive, note the location of the superblock copies when they are created
-use dd to copy the file back onto the device
-fsck it, giving it one of the alternate superblock locations, let it repair stuff
-tada!

Yeah, I'm a Linux n00b, but being able to do that is pretty cool (in the geek sense).

I'm backing up those old files now, then I should be able to merge them in with the current files. I think if I can replace Gir's CPU fan with something that spins at more than 8 RPM, it might just make it as the new webserver.

Maybe I'll learn my lesson and make backups of stuff more often. I'm probably due for another drive failure on one machine or another :)
Previous post Next post
Up