Areliable and energy-efficient storage system with era sure coding cache