Persistent storage is any data storage device that retains data after power to that device is shut off. It is also sometimes referred to as non-volatile storage. Magnetic media, such as hard disk drives and tape are common types of persistent storage, as are the various forms of Optical media such as DVD. Persistent storage systems can be in the form of file, block or object storage.
For the most part, storage persistence is a given, the very basic requirement of any storage system, whether it refers to a single drive, a shared networked storage system or a cloud storage service. Because persistence is assumed, it is rare that it is even mentioned among the technical specifications for storage devices and systems.
Persistent storage and containerization
There is, however, one exception related to recent developments in virtualized computing that has helped raise storage persistence as an issue. In recent years, containerization has become a popular way to bundle applications with their operating systems into discreet, transportable modules that be created and destroyed as often as needed. But containers initially didn’t support persistent storage which meant that the data created with a containerized app would disappear when the app finished its work and the container was destroyed.
Recently, however, a number of software and storage vendors have developed methods to retain the data created by container applications and maintain it in familiar storage volumes. Storage volumes are usually associated with stateful applications such as databases that remain available even if the application is shut down or finishes its processing. These advances in storage for containers solve the problem of retaining the more ephemeral storage volumes that live and die with the stateless apps that are run from containers.
Persistent solid-state storage
Solid-state drives are also examples of persistent storage, but differ from the other forms of persistent media in that they do not have any moving parts, either internally or with the drives required to access the media.
Some types of solid state storage, notably the chips used for RAM and cache systems are typically non-persistent (Volatile) storage devices which means that the data they hold is erased when continuous power ceases to flow into the devices. However, certain types such as non-volatile RAM and flash-based RAM are persistent; typically they rely on battery power when the main source of electricity is cut off. A degree of persistence can also be achieved by using super capacitors that store an electrical charge rather than a battery backup. Because RAM holds active work which may not yet have been saved to a disk drive or solid-state drive, RAM persistence may prevent data loss in the event of a crash or reboot.
Of course, volatile or non-persistent storage resources have one advantage: since they lose all their data when power is cut off, they generally present less of security risk compared to persistent storage equipment.