It is impossible to prevent the mechanical failure of a hard drive, it is possible to reduce the impact of such an event. Using a redundant array of independant disks (RAID) setup; two or more hard drives work in unison to form a system's main storage. More advanced RAID setups can survive the failure of a hard drive and repair or reconstruct lost data on the fly.