Hi,

Attach both original drives to the system, the faulty one may only have had a 
few check sum errors. 

zpool status -v    should hopefully show your data pool.  Provided you have not 
started to replaced the faulty drive yet.  If it don't see the pool, zpool 
export then zpool  import and hope for the best........

If you get back to original failed state with your pool degraded but readable. 
It can be easily fixed. most of the time.....

Do a  zpool status -v       <----- mind the -v

Whats it saying about your pool? I suspect the faulty drive has check sum 
errors and has been off-lined.

power down the system and add the spare 3rd drive to the system so you have all 
3 drives connected. DO NOT MOVE the original drives to different connections in 
the system that just going to cause more trouble.

While your inside the system check all the connection to the hard drives.

power up the system

Look up the ZFS commands.  Read and understand what your about to do.

you need to force the failed drive online
#zpool online pool device
do a zpool clear to clear the error log on the faulty pool
#zpool clear pool

now you have 2 choices here, back up your critical data to the new 3rd drive or 
replace the faulty drive.

zpool replace [-f] pool device [new_device]

Now zfs is almost certainly going to complain like hell about the faulty pool.
during the copy / replace operation. 

To be blunt your data is either readable or its not.  Run zpool clear and force 
online the faulty drive.  Every time it gets put offline, this may be  several 
times!
Zfs will tell you exactly what files have been lost, if any. The process could 
take several hours. Do a zpool scrub once its finished. Then back up your 
data....

use zpool status -v to monitor progress.

If you don't get a lot of errors from the faulty drive. You could try  a low 
level format, to fix the drive. After you have got the data off it ;)  

one final word, a striped zpool with copy's=2 is about as much use, as a 
chocolate fire guard when it comes to protecting data.  Use 3+ drives and raidz 
its far better.

Am no expert, been using zfs for 7months. When i fist started using it, ZFS 
found 4 faulty drives in my setup. And other operating systems said they were 
good drives!!! So i have used ZFS to its full recovery potential!!!

Brian,
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to