Upgrading from 8.3 to 9.1 zfs pool can't attach

Freddie Cash fjwcash at gmail.com
Wed May 22 15:33:52 UTC 2013


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 <leslie at eskk.nu> 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
> <ST3320620AS 3.AAE>                at scbus0 target 0 lun 0 (ada0,pass0)
> <ST3320620AS 3.AAE>                at scbus1 target 0 lun 0 (ada1,pass1)
> <WDC WD360GD-00FNA0 35.06K35>      at scbus2 target 0 lun 0 (ada2,pass2)
> <WDC WD360GD-00FNA0 35.06K35>      at scbus2 target 1 lun 0 (ada3,pass3)
> <ST3320620AS 3.AAE>                at scbus3 target 0 lun 0 (ada4,pass4)
> <ST3320620AS 3.AAE>                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 at freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-fs<http://lists.freebsd.org/mailman/listinfo/freebsd-fs>
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org<freebsd-fs-unsubscribe at freebsd.org>
> "
>



-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-fs mailing list