From owner-freebsd-stable@FreeBSD.ORG Mon Jul 19 16:52:24 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 93E641065672 for ; Mon, 19 Jul 2010 16:52:24 +0000 (UTC) (envelope-from garrettmoore@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 525AB8FC0C for ; Mon, 19 Jul 2010 16:52:24 +0000 (UTC) Received: by iwn35 with SMTP id 35so6014252iwn.13 for ; Mon, 19 Jul 2010 09:52:23 -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:cc:content-type; bh=v1P7x7IeqpFZwGAjblihb7y+uQzbchTwgMRo9i2Jzlo=; b=QTuwI8npkIcltRae4iiZd2z7BkpVYwQTdATgZYwv9Jf+THkW5nXwqGR7GwJMWJvElx BY705y0Ph2rgwEzgaHzNbAQuZhwuf0BvWCb5soihE21DsYe3OB5NwQ0gkgc2CleyQSkW oGCN7/WB2TOJ8riE0T7h6HHwbV/Kn4gd2DxLs= 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 :cc:content-type; b=M6mWK0uSKT/gPzXs0rBFilPeGt0LRMMRIHQFuH3Al+1RtkKyJ1ZsBt5KRhUS5E4RWj 5AR6cS4evhi6y0H7vXR2q24ywCLv0zCSSOrfJlkQj0l2nDUdqyeesW78PjkHWd0+o1L/ G0Sy+AJraOaKUM1LHQNwqatZB59/O/djR34xM= MIME-Version: 1.0 Received: by 10.231.152.146 with SMTP id g18mr4590313ibw.48.1279558343333; Mon, 19 Jul 2010 09:52:23 -0700 (PDT) Received: by 10.231.117.72 with HTTP; Mon, 19 Jul 2010 09:52:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Jul 2010 12:52:23 -0400 Message-ID: From: Garrett Moore To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable 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 16:52:24 -0000 I'm nervous to trust the hotswap features and camcontrol to set things up properly, but I guess I could try it. When I first set the system up before I put data on the array I tried the hotswap functionality and drives wouldn't always re-attach when reinserted, even if I fiddled with camcontrol, but I can't remember exactly what I did then. On Mon, Jul 19, 2010 at 12:36 PM, Freddie Cash wrote: > On Mon, Jul 19, 2010 at 9:32 AM, Garrett Moore > wrote: > > The data on the disks is not irreplaceable so if I lose the array it > isn't > > the end of the world but I would prefer not to lose it as it would be a > pain > > to get all of the data again. > > > > Freddie's explanation is reasonable, but any ideas why it didn't happen > when > > I replaced my first dead drive (da5)? That replacement was completely > > painless. > > > > The system is in a Supermicro case with a hotswap backplane: > > http://www.supermicro.com/products/chassis/4U/743/SC743TQ-865.cfm > > The backplane ports are connected to a Supermicro AOC-USASLP-L8I LSI > 1068E > > 8-PORT RAID 0/1/10 Uio SATA/SAS Controller. > > > > By the way, Freddie, in your instructions in the 'reboot' step I assume > that > > is when I will be switching the physical drives, correct? > > Correct. export, power off, swap drives, power on, import. > > If it's a hot-swap backplane, though, have you tried doing it without > the reboot? > > zpool offline tank da3 > camcontrol da3 > > camcontrol rescan (or something like that) > zpool replace tank da3 > > Read the camcontrol man page to see what the commands are to "turn > off" the drive, and to rescan the controller for the new drive. It's > possible the device number may change. > > -- > Freddie Cash > fjwcash@gmail.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >