My guess is that earthquakes powerful enough to cause a head crash are powerful enough for widespread destruction anyway, but I’m no expert. I did some quick searches for hard drives damaged by earthquake, and the only results I got were scenarios where the hard drives or the whole rack got knocked over by the earthquake and hit the floor.