On Sun, 29 Jun 2008 12:22:11 +0200, Carlos E. R. wrote:
1. Is there any way with reiserfs to find out which files are affected by the results of a badblocks test? ie, given a list of bad blocks, can I find out the filenames of any files that are going to be unreadable as a result?
Maybe, but I don't know it.
An alternative is to read every file till it fails, then delete and replace the file.
It's about 400,000 files in total. Ouch, that'll take a while. As I mentioned to Larry, doesn't seem to matter now, as it seems the drive has had some sort of physical malfunction. I managed to get only about 67 GB copied off of it before it croaked. I knew I needed a clean-out, but this isn't what I had in mind. :-(
2. Suggestion was made that I could maybe re-zero the drive to revive things. Could I just zero those blocks in the same way, and if so, how?
Better copy everything somewhere else, and then overwrite the entire drive, and reformat it. The overwriting on normal disks triggers the bad sector remapping, but I don't know about usb enclosures. I suppose it happens, the only thing is that you can't interrogate the chipset about it.
Well, ultimately that woudl be the ideal solution, but at that point, I didn't have another drive. But payday was Friday, so I now have a replacement drive, unfortunately just a little too late to pull all the data off the drive. What I'll probably end up doing is disassembling the unit and hooking the drives up to an IDE/SATA interface (depending on what it is internally) to see if there's any chance of recovering anything. Given it's two drives, it's probably just one that's failed, but it'll depend on how the data spans the drives as to whether or not that'll work. But I should be able to interrogate the electronics for the failure in any event. Not a good data week. :-( -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org