From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:02:40 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 19A8D106566C for ; Thu, 3 Sep 2009 14:02:40 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1FA8FC16 for ; Thu, 3 Sep 2009 14:02:39 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id n83E2cws004780; Thu, 3 Sep 2009 15:02:38 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4A9FCC7E.3070209@qeng-ho.org> Date: Thu, 03 Sep 2009 15:02:38 +0100 From: Arthur Chance User-Agent: Thunderbird 2.0.0.23 (X11/20090830) MIME-Version: 1.0 To: Mark Stapper References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> In-Reply-To: <4A9F8F96.3090806@mapper.nl> 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 14:02:40 -0000 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.