Re: [zfs-discuss] raidz recovery

2010-12-21 Thread Gareth de Vaux
Hi, I'm copying the list - assume you meant to send it there. On Sun 2010-12-19 (15:52), Miles Nordin wrote: > If 'zpool replace /dev/ad6' will not accept that the disk is a > replacement, then You can unplug the disk, erase the label in a > different machine using > > dd if=/dev/zero of=/dev/the

Re: [zfs-discuss] raidz recovery

2010-12-18 Thread Gareth de Vaux
On Sat 2010-12-18 (14:55), Tuomas Leikola wrote: > have you tried zpool replace? like remove ad6, fill with zeroes, > replace, command "zpool replace tank ad6". That should simulate drive > failure and replacement with a new disk. 'replace' requires a different disk to replace with. How do you "r

Re: [zfs-discuss] raidz recovery

2010-12-18 Thread Tuomas Leikola
On Wed, Dec 15, 2010 at 3:29 PM, Gareth de Vaux wrote: > On Mon 2010-12-13 (16:41), Marion Hakanson wrote: >> After you "clear" the errors, do another "scrub" before trying anything >> else.  Once you get a complete scrub with no new errors (and no checksum >> errors), you should be confident that

Re: [zfs-discuss] raidz recovery

2010-12-15 Thread Gareth de Vaux
On Mon 2010-12-13 (16:41), Marion Hakanson wrote: > After you "clear" the errors, do another "scrub" before trying anything > else. Once you get a complete scrub with no new errors (and no checksum > errors), you should be confident that the damaged drive has been fully > re-integrated into the po

Re: [zfs-discuss] raidz recovery

2010-12-13 Thread Marion Hakanson
z...@lordcow.org said: > For example when I 'dd if=/dev/zero of=/dev/ad6', or physically remove the > drive for awhile, then 'online' the disk, after it resilvers I'm typically > left with the following after scrubbing: > > r...@file:~# zpool status > pool: pool > state: ONLINE status: One or m