PDA

View Full Version : linux server always hang.... pls advice



gabriellai
5th August 2005, 01:51 AM
Hi,

I have a live linux server, running 24hours a day. This server will always hang, but once we restarted, it will be fine. Then it will continuosly doing the same thing.

I suspected is the hard disk issue, how can I check the hard disk whether is working fine ??

And, can I clone the HDD to another HDD, but running on the same machine to prevent it from corrupting?

Please advice.

Furball
5th August 2005, 07:55 AM
I don't know if your hard disk is causing this errors, but one way to test it would be:


badblocks -v /dev/sda

Replace sda with your hard disk device. This command will scan your complete hdd for bad sectors.