mounting failed with error 2
Jay Borkenhagen
jayb at braeburn.org
Thu Apr 4 18:55:21 UTC 2013
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.
More information about the freebsd-fs
mailing list