Improving the reliability of storage systems