What happened:
Our apartment building lost power for an hour today, and because I don't have a UPS my computer suddenly turned off without Kubuntu being shut down properly. Having been a Windows user for too many years, I'm trained to believe that file system corruption is very likely on such occasions.
What I did:
My questions:
Our apartment building lost power for an hour today, and because I don't have a UPS my computer suddenly turned off without Kubuntu being shut down properly. Having been a Windows user for too many years, I'm trained to believe that file system corruption is very likely on such occasions.
What I did:
- Reboot from my Kubuntu install CD and open a Konsole
- fsck /dev/sdb3 (An EXT3 partition on my external USB hard drive)
- Reboot Kubuntu from my hard drive
- Console login
- sudo touch /forcefsck (the filesystem is EXT3)
- Reboot and observe the fsck progress bar
- cat /var/log/fsck/checkroot
Code:
$ cat /var/log/fsck/checkroot Log of fsck -C -f -a -t ext3 /dev/sda3 Sat May 30 13:14:22 2009 fsck 1.40.8 (13-Mar-2008) /dev/sda3: 169985/6111232 files (1.8% non-contiguous), 14627623/24414783 blocks
- Given the sparse output from fsck above, may I safely assume my filesystem is intact and no data was lost?
- Is there a way to make fsck a little more informative about what it is fixing (if any)?
- The next time my computer looses power unexpectedly, what should I do to be better assured my file system remains intact without data loss?
- Is there a thread or article with in depth discussion of backup methods and options?


Of course, if you have you've just worked ten hours on your thesis and haven't automated saves in OOo or saved manually in between then the data is gone.
Comment