Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 14:54:53 -0400
From:      Jay Borkenhagen <jayb@braeburn.org>
To:        Darren Pilgrim <list_freebsd@bluerosetech.com>
Cc:        fs@freebsd.org, Niclas Zeising <zeising@freebsd.org>
Subject:   Re: mounting failed with error 2
Message-ID:  <20829.52349.314652.424391@oz.mt.att.com>
In-Reply-To: <515DB070.1090803@bluerosetech.com>
References:  <20825.59038.104304.161698@oz.mt.att.com> <515DB070.1090803@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Darren Pilgrim writes:
 > Reboot using the install disk, go to the Live CD.  Import the pool using 
 > an altroot and a cachefile:
 > 
 > zpool import -c /tmp/zpool.cache -o altroot=/mnt zroot
 > 
 > Copy /tmp/zpool.cache to /mnt/ROOT/boot/zfs/zpool.cache, then reboot 
 > *without* exporting the pool.

Thanks, Darren.

However, when I try that I get this:

---------------
root@:/root # zpool import -c /tmp/zpool.cache -o altroot=/mnt zroot
failed to open cache file: No such file or directory
cannot import 'zroot': no such pool available
root@:/root # 
---------------

I used a Live CD boot again and tried this:

---------------
root@:/root # zpool status
ZFS filesystem version 5
ZFS storage pool version 28
no pools available
root@:/root # 
---------------


Trying this a different way: Do you see something that Niclas's
directions are missing?  I.e rather than trying to patch a
mis-installed system, what should be done differently to build a
system that boots correctly the first time?


Thanks for your help!

						Jay B.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20829.52349.314652.424391>