How to recover a failed segment