Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have copy the partition to a file with ddrescue, but the first sector is broken and filled with zeros.

I run xfs_repair -f -o force_geometry file.img, after it says "found candidate secondary superblock" and try to save modified primary ones, it exits as:

fatal error - primary superblock write failed!

So, it there anyway to repair it or re-construct the first sector ?

share|improve this question
What happened leading up to this? –  ewwhite Dec 1 '12 at 18:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.