Bug#708451: kfreebsd-image-9.0-2-amd64: fails to boot from ZFS
On Wed, May 15, 2013 at 09:14:06PM +0100, Steven Chamberlain wrote:
> Hi!
>
> On 15/05/13 20:49, christian mock wrote:
> > Mounting from zfs:backup-z0/root failed with error 6.
>
> > The issue might be related to the fact that the kernel tells me it's now
> > naming the disk devices "ada0" and "ada1" instead of "ad4" and "ad6" [...]
>
> Can I assume these disks are partitioned, probably with an msdos disklabel?
You can, indeed.
> And does the ZFS partition on each disk extend to the end of the drive?
Yup. It's the only partition on the drives.
> Please try editing the boot commands in GRUB, and add "set
> kFreeBSD.vfs.zfs.debug=1"; then you may be able to see exactly what
> goes wrong.
Will do, but not now, it's nearly midnight; I'll be out of town until
next tuesday and when I return I'll give it a try.
> > I find the old device paths (e.g. /dev/ad4) in zpool.cache.
>
> What is supposed to happen is, since it can't find /dev/ad4, the kernel
> searches all disks and partitions for a ZFS volume matching the expected
> UUID.
I have, in the meantime, booted from the wheezy installer CD with the
9.0 kernel and generated an updated zpool.cache:
zpool import -f -o cachefile=/tmp/zpool.cache -o altroot=/mnt backup-z0
This worked.
ciao,
cm.
--
rotfl. Wirkli, tuat ma lad her Doktor, oba fuer mi is a a ausfoil (downtime
eines Services, Herr Doktor, falls Sie die Sprache unserer Landesleute
nicht verstehen), wann a service offline geht und net nur daun, waun sie da
probella hintn nimma draht. -- Peter Vratny in aip
Reply to: