Date: Thu, 04 Apr 2013 16:02:46 -0700 From: Darren Pilgrim <list_freebsd@bluerosetech.com> To: Jay Borkenhagen <jayb@braeburn.org> Cc: fs@freebsd.org Subject: Re: mounting failed with error 2 Message-ID: <515E0696.2020901@bluerosetech.com> In-Reply-To: <20829.52349.314652.424391@oz.mt.att.com> References: <20825.59038.104304.161698@oz.mt.att.com> <515DB070.1090803@bluerosetech.com> <20829.52349.314652.424391@oz.mt.att.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/2013 11:54 AM, Jay Borkenhagen wrote: > 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 # > --------------- Sorry, wrong cachefile option, try: zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt zroot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515E0696.2020901>