On my Debian Squeeze server, a filesystem crashed badly. I ran fsck.ext4 on it and it corrected many things. Now everything seems to be fine. Additionally, ran an rsync from a recent backup to the failed filesystem.
My question: Now that rsync has run, can I safely assume that the file contents on my server are identical to those in the backup? Or would it be advisable to just recreate the filesystem and re-copy all data from the backup? I'd rather not do this, due to the high traffic (it's a large filesystem ...)
Any help is greatly appreciated =)
EDIT: I'm not exactly sure how the ext4 got corrupted. It's on top of LVM on a Debian box, and I used it as a /
filesystem for a paravirtualized xen domU. Somehow, at some point, I wanted to reboot the domU, and it didn't mount the filesystem. After that, I was not able to run fsck on the (offline) filesystem, I got an "filesystem is in use" kind of error. However, I didn'T see it in the output of the mount
command, and lsof
didn't return anything related to the device. Very strange thing indeed.