Saturday, November 18, 2006

Close Call

After an unsuccessful attempt to get /etc/acpi/action/sleep.sh to work (properly), the hard drive froze up after the lid was opened after closing. Even reboot could not help, a hard disk volume error was found and self-correction failed. System entered read-only mode, requring root privilige.

I was scared. Having poked around as root for some minor system setups and installations, I NEVER did anything related to system recovery.

I had 2 choices:

1) install FC6, it's about time to upgrade from FC4 anyway, but doing so I will lose all my data on the corrent FC4, including some project data (code) and all the network configurations I just finished.

2) try to fix the currupted file system, even though I have no clue.

Realising that failing to do (2) would still allow me to do (1) as a last resort, I held my breath and marched on. Having absolutely no idea what I was doing, I logged in as root and followed the instructions given by the system, word by word as I went alone. I turned out that it was mostly some (about 200) inodes were messed up and I was fixing them with the help of the system. And then, after reboot, it worked :)

System fully recovered and running without a problem.

No comments: