From owner-freebsd-stable@FreeBSD.ORG Mon Jul 19 22:18:43 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D35A6106564A for ; Mon, 19 Jul 2010 22:18:43 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9652C8FC22 for ; Mon, 19 Jul 2010 22:18:43 +0000 (UTC) Received: by iwn35 with SMTP id 35so6385258iwn.13 for ; Mon, 19 Jul 2010 15:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=za+8W5S0V5fx/tSPQHcrBY9n1wKnxDglwWfBb/MPGu8=; b=YVTH0/WT8vv0B5AQ3EUiGaZ2Wadh0zZouUOQ9oB6UCjKgPrZ9ix6vlTW7kStUOL4OV X7+ZprHNeT0FvRCUIwShH4Dlnkz+Vhf0xIR8LuAy8BYjy/iFYpFYF5bVY/1Bp8MuHj4m kAJllqelwxrmaGvpVRnYwx5gBEX6ohlV/3/4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=u/qaofwGaEpj351RemjrUHzaSy3OxG2OiRkyTmQuBh3UCfy0jm1JFKOpWf7XIHKkjq 3no9jLDXEixwCHHFuXMyJe3N3pvr4YzdRBroiGHse0r7JC4Lt4IkvplJHED0asm9TDFs jMIK5wggshCZaSfcMeJ9r/YjT/jUkxOc3mEd0= MIME-Version: 1.0 Received: by 10.231.60.7 with SMTP id n7mr6396892ibh.60.1279577921685; Mon, 19 Jul 2010 15:18:41 -0700 (PDT) Received: by 10.231.161.208 with HTTP; Mon, 19 Jul 2010 15:18:41 -0700 (PDT) In-Reply-To: References: <4C44B104.2050000@libeljournal.com> Date: Mon, 19 Jul 2010 15:18:41 -0700 Message-ID: From: Freddie Cash To: freebsd-stable Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Problems replacing failing drive in ZFS pool X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 22:18:43 -0000 On Mon, Jul 19, 2010 at 3:04 PM, Garrett Moore wro= te: > Well, hotswapping worked, but now I have a totally different problem. Jus= t Yay. :) > for reference: > # zpool offline tank da3 > # camcontrol stop da3 > > # camcontrol rescan all > <'da3 lost device, removing device entry'> > # camcontrol rescan all > <'da3 at mpt0 ...', so new drive was found! yay> > # zpool replace tank da3 > *cannot replace da3 with da3: device is too small* > > So I looked at the smartctl output for the old and new drive. Old: > Device Model: =C2=A0 =C2=A0 WDC WD15EADS-00P8B0 > Serial Number: =C2=A0 =C2=A0WD-WMAVU0087717 > Firmware Version: 01.00A01 > User Capacity: =C2=A0 =C2=A01,500,301,910,016 bytes > > New: > Device Model: =C2=A0 =C2=A0 WDC WD15EADS-00R6B0 > Serial Number: =C2=A0 =C2=A0WD-WCAVY4770428 > Firmware Version: 01.00A01 > User Capacity: =C2=A0 =C2=A01,500,300,828,160 bytes > > God damnit, Western Digital. What can I do now? It's such a small > difference, is there a way I can work around this? My other replacement > drive is the "00R6B0" drive model as well, with the slightly smaller > capacity. Crap! There's a version of ZFS that works around this (or maybe a version of OSol?), although I don't recall the version off-hand, and I can't find it in the list of versions on the OSol website. You may be stuck until you get a drive with more sectors. :( --=20 Freddie Cash fjwcash@gmail.com