From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 14:05:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6618106564A for ; Wed, 15 Jul 2009 14:05:35 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id B06408FC15 for ; Wed, 15 Jul 2009 14:05:35 +0000 (UTC) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=rmac.psg.com) by ran.psg.com with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MR56y-000LOV-R2; Wed, 15 Jul 2009 14:05:33 +0000 Received: from rmac.local.psg.com (localhost [127.0.0.1]) by rmac.psg.com (Postfix) with ESMTP id 5169728CFDAF; Wed, 15 Jul 2009 23:05:32 +0900 (JST) Date: Wed, 15 Jul 2009 23:05:32 +0900 Message-ID: From: Randy Bush To: Guido Falsi In-Reply-To: <20090715084801.GA75654@megatron.madpilot.net> References: <20090715084801.GA75654@megatron.madpilot.net> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-apple-darwin9.6.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-current@freebsd.org, Freddie Cash Subject: Re: ZFS pool corrupted on upgrade of -current (probably sata renaming) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 14:05:36 -0000 > # zpool status tank > pool: tank > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > mirror ONLINE 0 0 0 > ad0p2 ONLINE 0 0 0 > ad8p2 ONLINE 0 0 0 > > errors: No known data errors > # zpool detach tank ad0p2 > # glabel label disk01 /dev/ad0p2 > # zpool attach tank ad8p2 label/disk01 ^ huh? > # zpool status tank > pool: tank > state: ONLINE > status: One or more devices is currently being resilvered. The pool > will > continue to function, possibly in a degraded state. > action: Wait for the resilver to complete. > scrub: resilver in progress for 0h6m, 17.06% done, 0h29m to go > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > mirror ONLINE 0 0 0 > ad8p2 ONLINE 0 0 0 60.7M resilvered > label/disk01 ONLINE 0 0 0 10.4G resilvered > > errors: No known data errors dfw0.psg.com:/root# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 mirror ONLINE 0 0 0 ad4s3 ONLINE 0 0 0 ad5s3 ONLINE 0 0 0 mirror ONLINE 0 0 0 ad6s1 ONLINE 0 0 0 ad7s1 ONLINE 0 0 0 errors: No known data errors dfw0.psg.com:/root# zpool detach tank ad6s1 dfw0.psg.com:/root# glabel label disk02 /dev/ad6s1 dfw0.psg.com:/root# zpool attach tank ad6s1 label/disk02 cannot attach label/disk02 to ad6s1: no such device in pool randy