Earth's magnetic field has reversed quite a number of times--see NASA's Earth's Inconstant Magnetic Field for an overview and a model of how this reversal occurs. These reversals produced magnetic patterns on moving plates at the mid-Atlantic Ridge, as described in The Mobile Crust. For a timeline of the many reversals, see When Compasses Point South.