1. A data storage method comprising: writing data to a ferromagnetic shape-memory material in its ferromagnetic state by creating surfaces for magnetic poles to collect, the material exhibiting more than two stable states; and erasing the written data.