So I have a FreeNAS 8.3.1 setup with 4 1TB hard drives formatted with ZFS. I put about 300GB of data on the volume and wanted to test a crash situation. I powered down the system removed a hard drive and formatted it. Powered the system up, and put more data on the remaining 3 drives as the volume was degraded. I powered down the machine and put the formatted (blank but the same) hd back in.
- FreeNAS listed the HD as UNAVAILABLE in the volume manager. I could't put the hd in offline status or use the replace feature. And error would pop up in the GUI and fade away to fast for me to get.
-I put the hard drive offline offline by zplool offline etc.
-I then did the zpool replace volumename serialnumber /dev/ada2
Rresilvering started running once I went into volume manager. Things looked great, but after it was done there were 3094 errors and the volume is still degraded.
- I then ran a scrub command on the voulme and now this is what I'm left with.
15104135553137921540 was ada2 the drive I cleared on purpose.
Now ada3 is gone??? Where did I go wrong in this process, is there a way to fix this at this point. I don't know what replacing-2 is, but things look in bad shape. However it's still just degraded and I can access data from it no problem.
Sorry, in the n00b phase but I'm stuck now.
-Nate
- FreeNAS listed the HD as UNAVAILABLE in the volume manager. I could't put the hd in offline status or use the replace feature. And error would pop up in the GUI and fade away to fast for me to get.
-I put the hard drive offline offline by zplool offline etc.
-I then did the zpool replace volumename serialnumber /dev/ada2
Rresilvering started running once I went into volume manager. Things looked great, but after it was done there were 3094 errors and the volume is still degraded.
- I then ran a scrub command on the voulme and now this is what I'm left with.
Code:
pool: MainVolume state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scan: scrub repaired 0 in 0h53m with 3097 errors on Thu Apr 4 23:04:08 2013 config: NAME STATE READ WRITE CKS UM MainVolume DEGRADED 41.1K 0 4.2 0K raidz1-0 DEGRADED 107K 0 13. 8K gptid/72a3cc6e-8c59-11e2-ab9e-2c768aabdb20 ONLINE 0 0 0 gptid/7303af6b-8c59-11e2-ab9e-2c768aabdb20 ONLINE 0 0 0 replacing-2 DEGRADED 0 0 0 15104135553137921540 OFFLINE 0 0 0 was /dev/gptid/7367cca7-8c59-11e2-ab9e-2c768aabdb20 ada2 ONLINE 0 0 0 14065391872938856016 UNAVAIL 50 8.26K 0 was /dev/gptid/741dec2e-8c59-11e2-ab9e-2c768aabdb20 errors: 3094 data errors, use '-v' for a list
15104135553137921540 was ada2 the drive I cleared on purpose.
Now ada3 is gone??? Where did I go wrong in this process, is there a way to fix this at this point. I don't know what replacing-2 is, but things look in bad shape. However it's still just degraded and I can access data from it no problem.
Sorry, in the n00b phase but I'm stuck now.
-Nate