From owner-freebsd-fs@FreeBSD.ORG Wed May 22 15:33:52 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D9AE5197 for ; Wed, 22 May 2013 15:33:52 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id A2F2AE58 for ; Wed, 22 May 2013 15:33:52 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id j11so1096033qag.8 for ; Wed, 22 May 2013 08:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EFwk/8ESqR1nMtzW/GVreNwnyjKjhK83ORE13WLWDdI=; b=j0EGd2JANobSJj7rrduhG9occdir5lb9PITJNgtUQMcSiQwAPrbzUxOzITI92n00Yz MYdOGggjU8k58m0jPf6Kba2oYvWRl3LyfxjmP6RLon8OVkm4XjIg6rfKNhICZxfqJLlz s+hg1nm0SMeU9gmD4s9IHR5mP8ART4eiQsCDRfu104mwsmVI3BMurZkHIcgozXuXGx9b 5dl7JL3KUk/38wyqbeRAxJBa6EDVzlffIwKtgYpNVCIMf9CRqtdeMhl1taI+xCw7Nfvy cxTzKfilgEwidzlmlamrHTYvvoyBP8KUnGjY2W8kYGEvFmyAs2mimVDgWwWl4rv7bczp S67A== MIME-Version: 1.0 X-Received: by 10.49.35.132 with SMTP id h4mr8541387qej.29.1369236831920; Wed, 22 May 2013 08:33:51 -0700 (PDT) Received: by 10.49.0.66 with HTTP; Wed, 22 May 2013 08:33:51 -0700 (PDT) In-Reply-To: <519CA3A5.3020109@eskk.nu> References: <519CA3A5.3020109@eskk.nu> Date: Wed, 22 May 2013 08:33:51 -0700 Message-ID: Subject: Re: Upgrading from 8.3 to 9.1 zfs pool can't attach From: Freddie Cash To: Leslie Jensen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 15:33:52 -0000 What's the output of "zpool import" in single-user mode? What are the names of your disk devices? "grep ad /var/log/messages" for example. Are you using whole disks, disk partitions, labels, etc to access your disks? Are you sure your disks haven't been renumbered at all? On Wed, May 22, 2013 at 3:53 AM, Leslie Jensen wrote: > > I've upgraded a machine with freebsd-update from 8.3 to 9.1. > > After the first restart I edited /etc/fstab in single user mode because > the names on the disks had changed. But the zfs pool I have seem to have a > problem and I'm sure on how to recover it. > > > May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada0. > May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada1. > May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada4. > May 22 12:00:40 kernel: ZFS WARNING: Unable to attach to ada5. > > > camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > at scbus2 target 0 lun 0 (ada2,pass2) > at scbus2 target 1 lun 0 (ada3,pass3) > at scbus3 target 0 lun 0 (ada4,pass4) > at scbus3 target 1 lun 0 (ada5,pass5) > > ada2 and ada3 are configured as raid/r0 holding the system. > > ada0, ada1, ada4 and ada5 should be a zfs pool with /home > > > cat /etc/fstab > > # Device Mountpoint FStype Options Dump Pass# > /dev/raid/r0s1b none swap sw 0 0 > /dev/raid/r0s1a / ufs rw 1 1 > /dev/raid/r0s1e /tmp ufs rw 2 2 > /dev/raid/r0s1f /usr ufs rw 2 2 > /dev/raid/r0s1d /var ufs rw 2 2 > > > I'm not sure but shouldn't the mount point for /home also appear in fstab? > > Maybe I messed up during the manual editing of files during the update > process? > > > Can I recover or shall I destroy the pool and rebuild it? > > Thanks > > /Leslie > > > > ______________________________**_________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org > " > -- Freddie Cash fjwcash@gmail.com