ZFS root, error 2 when mounting root

bw bw.mail.lists at gmail.com
Mon Feb 25 16:01:02 UTC 2013


>
>> That was my understanding, too, but the instructions on the wiki say there's no need to copy the cache file. In fact, there is no cache file to copy, since the pool is created with
>>
>> zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs /dev/gpt/g1zfs
>>
>> No cache file. The wiki article was changed recently to eliminate that part, the message on the wiki is: "Fix so that the default instructions does not install data directly to the zroot pool. Simplify instructions regarding cache files, they are no longer needed. Fixes and cleanups."
>>
>> Either the instructions are wrong, or something in my script is. I assume it's my script.
>
> 	The instructions noted above are now INCORRECT for 9.0 (I have not tried this with 9.1 yet) as you MUST manually put the zpool.cache file in place for it to work correctly (I tried a couple different variations when I first setup my systems a few months ago and learned this the hard way :-) I have *lost* of experience with ZFS under Solaris 10 but am relatively new (about a year) to FreeBSD.

I tried it on 9.1, failed to specify.


More information about the freebsd-questions mailing list