Our dedicated server's hard disk was recently diagnosed with bad-sectors, and each time certain data on the disk are about to get accessed, the whole server goes non-responding before i i issue a restart over robot panel. We asked our server provider to install a new disk drive, and they did. Now i want to hard-copy everything onto the new disk (as the old disk is also still attached), so i start the server in rescue mode (network boot) and run the following on the network-booted server via SSH (root):
ddrescue -d -f -r3 /dev/sdb /dev/sda /home/ddrescue.log
after about 5 minutes the server goes non-responding, and not even responding to SSH (as if the port is closed).
What could cause it? how can i prevent the server from going bananas when some faulty sectors are about to get accessed.