From owner-freebsd-questions@FreeBSD.ORG Fri Mar 1 22:33:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 42DD99D2 for ; Fri, 1 Mar 2013 22:33:59 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gg0-x229.google.com (mail-gg0-x229.google.com [IPv6:2607:f8b0:4002:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id DD3521AC6 for ; Fri, 1 Mar 2013 22:33:58 +0000 (UTC) Received: by mail-gg0-f169.google.com with SMTP id j5so551693ggn.0 for ; Fri, 01 Mar 2013 14:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version:x-mailer; bh=IYjeQ5mZ9DT/7eLdlYpmMZJTllU96OjzK4+QUNE9hFg=; b=plDb0ccps3Ymjb9M18O4HTNdXaR0OVFiLGTgqs4OP3Bdc6VbpmL39Q3o35vL5Qjr+X W2irPqlDHmZAj3OfT2nOnBYrrQ+33EGDvGLGrXH88GyO9cyMftTL+ub/8CydNjVweWud /myZgxx0LceDFV8SxYPvVHi3RphI5nz3j0v4zKPBXrrNUbnmlzFTP4Lo5W/K+apdJuKG D+7CUa15uOuaR2l+Uu/h4dN0z8QSuwYICKVbgWQ7ERVtlSnekq5XYpzT7QFB+2QMeSDp 7uqQdRSQ/lkhMzt7erg+/49Bpi35cnabfo5Hz+VC7RJKfRgp3lOuGQpGuvlipgXvQrQf yN/g== X-Received: by 10.236.146.137 with SMTP id r9mr8529191yhj.98.1362177238465; Fri, 01 Mar 2013 14:33:58 -0800 (PST) Received: from [192.168.6.230] ([177.82.45.55]) by mx.google.com with ESMTPS id r43sm17375698yhl.19.2013.03.01.14.33.55 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 01 Mar 2013 14:33:57 -0800 (PST) Subject: Re: zfs and 9.1 upgrade From: Sergio de Almeida Lenzi To: Graeme Dargie In-Reply-To: <14980AB869AD6B47A8803DB297CD21923F08AE13@MERCURY.universe.galaxy.lcl> References: <14980AB869AD6B47A8803DB297CD21923F08AE13@MERCURY.universe.galaxy.lcl> Date: Fri, 01 Mar 2013 19:33:52 -0300 Message-ID: <1362177232.29467.17.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@FreeBSD.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 22:33:59 -0000 Em Sex, 2013-03-01 às 17:40 +0000, Graeme Dargie escreveu: > Hi All > > Upgraded 3 machines today from 9.0 to 9.1 all three run ZFS as a storage but not as a boot file system. One machine out of the three ended up with a very sick looking ZFS pool, not a big deal as this machine is a backup mirror for another system. So I did a zpool destroy tank then zpool create tank raidz ada1 ada2 ada3 ada4 > > ZFS tells me that ada1 might be part of an active pool and use -f to override this. > > zpool create -f tank raidz ada1 ada2 ada3 ada4 > cannot create 'tank': no such pool or dataset > > Any clues anyone? make sure the operating system really upgraded without errors from 9.0 to 9.1 sometimes the kernel modules are not in sync with the zfs modules on the filesystem. ZAP the data on ada1 (will erase all data on ada1!!!!) dd bs=64k if=/dev/zero of=/dev/ada1 count=10000 restart the machine, should work Sergio