From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 17:06:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0AE9106566C for ; Thu, 3 Sep 2009 17:06:19 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id B17018FC21 for ; Thu, 3 Sep 2009 17:06:19 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MjFlK-0001vN-Lb; Thu, 03 Sep 2009 19:06:18 +0200 Received: from bowser ([192.168.0.1] helo=[192.168.0.6]) by mapper.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MjFl7-000209-FG; Thu, 03 Sep 2009 19:06:05 +0200 Message-ID: <4A9FF77D.6080504@mapper.nl> Date: Thu, 03 Sep 2009 19:06:05 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: Arthur Chance References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4A9FCC7E.3070209@qeng-ho.org> In-Reply-To: <4A9FCC7E.3070209@qeng-ho.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 17:06:20 -0000 Arthur Chance wrote: > Mark Stapper wrote: > [snip] >> I ordered a "spare" drive so I'll wait until it arrives, replace the >> faulty drive with this one by dd-ing data from one to the other (I have >> only 4 SATA ports so I can't do "zpool replace"). > > zpool replace has two forms > > zpool replace pool old-device new-device > > and > > zpool replace pool device > > The latter is for when you pull the old drive and put the new one on > the same {S,P}ATA port because you've no free ports. I did that a > couple of weeks ago when one of my raidz drives fried (in its warranty > period!) and it worked like a dream. I did a zpool replace and then a > zpool scrub to make sure everything was OK because of this section of > the zpool man page: > > Scrubbing and resilvering are very similar operations. The differ- > ence is that resilvering only examines data that ZFS knows to be > out of date (for example, when attaching a new device to a mirror > or replacing an existing device), whereas scrubbing examines all > data to discover silent errors due to hardware faults or disk fail- > ure. > Thanks for the tip. I'll be sure to try that.