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

We had 2 failed drives in our ZFS raidz1 pool. One had been resilvered to a spare and another was just out. The pool was in degraded mode.

I replaced both drives and began the resilver on the non-spare drive. Without thinking, I forced a resilver on the one that was currently running on the spare. The pool is now reporting LOTS of data errors.

Is there any way to recover from this or am I totally screwed? I would think that since the spare is still available, we're still only down 1 drive and the data should technically all be there. Also, did I cause this or did I just uncover existing data corruption?

share|improve this question
    
What exactly did you do? You can't force ZFS to "resilver", it does it on it's own. –  Chris S Sep 26 '12 at 18:27
    
Obligatory "RAID is not backup" comment. –  David Schwartz Sep 26 '12 at 18:42
    
Chris: I did a zpool replace -f app-pool (disk ID) for both disks. –  Derek Sep 26 '12 at 18:50
    
Yeah, you're screwed. Can I ask why you would have included the -f option? It's one of those things they shouldn't have included in the first place, and there's no valid reason to use it ever. –  Chris S Sep 26 '12 at 19:03
    
I did it to the 1st disk because it HAD been part of another pool and it gave me an error. On the 2nd disk it was a mistake. –  Derek Sep 26 '12 at 19:24
show 2 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.