From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 22:19:31 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 A382F1065677 for ; Wed, 15 Jul 2009 22:19:31 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gx0-f217.google.com (mail-gx0-f217.google.com [209.85.217.217]) by mx1.freebsd.org (Postfix) with ESMTP id 589368FC1C for ; Wed, 15 Jul 2009 22:19:31 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by gxk17 with SMTP id 17so5788389gxk.19 for ; Wed, 15 Jul 2009 15:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=D85rNl0J1fSk86yO9RsL9/dK1rW3SNYOF3to31r8EWw=; b=QHsBe+HEVEJeCMyKjD/e1QR9AM4ZLElYGMOVCEum9J/DLi40ghQOMNFERR1BMD5V0J +DtowsaBf6vWPNrBM77v3BL64vFj1vlieAVApHJISe3UauHXKik0esFdvnN2RRbJd0Nz ffaj4XWK05wvCe+PwjbSat7h8kEugqJl9a7rM= 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=v2CGvSgfpndOP/YcfDLmuwvo7nYR5gCKZK0rmT3Eq6l824BXRet9PJUPGk4zkg6URK h+AJ8kVEVW3sSjVbm6XKeaxclwLNgkSVEyy6qtfnKfvL+YUd2e9PNMZ3yfpzcdBVloYz /IuDyD/oUIrYHNn/6lwTDffQYxNSb9OCdnoqc= MIME-Version: 1.0 Received: by 10.150.185.4 with SMTP id i4mr13420694ybf.278.1247696370767; Wed, 15 Jul 2009 15:19:30 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Jul 2009 15:19:30 -0700 Message-ID: From: Freddie Cash To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 22:19:31 -0000 On Wed, Jul 15, 2009 at 3:15 PM, Randy Bush wrote: > > * label all the drives using glabel, while they're still attached to > the > > pool > > having a bit of a problem with that one > > # zpool status > pool: tank > state: ONLINE > scrub: resilver completed after 0h3m with 0 errors on Wed Jul 15 14:13:49 > 2009 > 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 > ad7s1 ONLINE 0 0 0 71.5M resilvered > label/disk02 ONLINE 0 0 0 1.82G resilvered > > errors: No known data errors > # glabel label disk03 /dev/ad7s1 > glabel: Can't store metadata on /dev/ad7s1: Operation not permitted. > # sysctl kern.geom.debugflags=17 > kern.geom.debugflags: 0 -> 17 > # glabel label disk03 /dev/ad7s1 > glabel: Can't store metadata on /dev/ad7s1: Operation not permitted. > > randy > Hrm, you might need to do this from single-user mode, without the ZFS filesystems mounted, or the drives in use. Or from a LiveFS CD, if /usr is a ZFS filesystem. On our ZFS hosts, / and /usr are on UFS (gmirror). -- Freddie Cash fjwcash@gmail.com