i need help critical, rifht now a HDD in my server its corrupt, need to force fsck over the partition (ext2 ubuntu 8.10), but I need to extrack files before the command for secure reasons..
I get mounted the partition in a live CD, and mount a external USB driver, and need to copy the files in the /var/www of corrup drive to the external.
The question, is I need to copy ALL files and dirs (cp -R), BUT IGNORING POSSIBLE CRC ERRORS.
It is possible?
Thanks a lot!
If you have a large enough (good) drive, try with ddrescue. It will try to copy your whole drive/partition, and try to separate end exclude bad sectors. After that, you can mount that partition on the other system ("mount /somewhere/partitiondump.dd" /mnt -o loop"). You can also make a copy of it, and try running fsck on it, to see if it helps, or messes up things even more.