From owner-freebsd-stable@FreeBSD.ORG Mon Jul 19 16:36:55 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 A12AC10656A9 for ; Mon, 19 Jul 2010 16:36:55 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 517CB8FC14 for ; Mon, 19 Jul 2010 16:36:54 +0000 (UTC) Received: by gyd8 with SMTP id 8so2767530gyd.13 for ; Mon, 19 Jul 2010 09:36:54 -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; bh=4ffF25yJuhcNUCpKHYku5QF3rlsDH5oXL2yA5b/8e8o=; b=hC01Y3uvDrjF3b3tnJ+CLc1ZDdwztY2wiZngh+19/pfz38lh7jlmk9C510iF/UZ1Gx 8qbXbihC/QniBB+tLIzSW7holoPETTWzlKtcvF4M1wcUyVanrNXzRNe0HtU42n0c22Sl ZHmaNrrrdxvj+IKHeQ/hF0Bi1yQ6XP7RAmC/I= 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; b=Oo/uaAWf+3fnnDevjThk7UXFrlEQXIWVCDNzlgGVpc+TwtoxWmwS0UGzuLSsABdTid 8VUCleSgFtF9LtJvvmoKlPQjVdabWl5meHJIKHK+doi5TbIiTQxrawRhgnwobalJ8K1T MiqVFos41vTtdQVUxq7Lqp7baNLkvw/GTFA6k= MIME-Version: 1.0 Received: by 10.90.98.19 with SMTP id v19mr3092448agb.20.1279557397488; Mon, 19 Jul 2010 09:36:37 -0700 (PDT) Received: by 10.231.161.208 with HTTP; Mon, 19 Jul 2010 09:36:37 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Jul 2010 09:36:37 -0700 Message-ID: From: Freddie Cash To: freebsd-stable Content-Type: text/plain; charset=UTF-8 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:36:55 -0000 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