The quake struck off Sumatra's west coast near Padang, on part of the so-called "Ring of Fire" system of faultlines and volcanoes that make Indonesia one of the most quake-prone countries in the world.