Encrypted (GELI) root on ZFS troubles

Karl Denninger karl at denninger.net
Wed Oct 1 22:56:23 UTC 2014


On 10/1/2014 5:49 PM, Ben Morrow wrote:
> Quoth Karl Denninger <karl at denninger.net>:
>>>> On 02/10/2014 00:27, Karl Denninger wrote:
>>>>> Finally, I set the bootfs on that latter pool.  There is no bootfs set
>>>>> on /zboot:
>>>>>
>>>>> # zpool get bootfs zboot
>>>>> NAME   PROPERTY  VALUE   SOURCE
>>>>> zboot  bootfs    -       default
>>>>>
>>>>> It is set on the root pool to the proper filesystem:
>>>>>
>>>>> # zpool get bootfs root
>>>>> NAME  PROPERTY  VALUE              SOURCE
>>>>> root  bootfs    root/R/10.1-CLEAN  local
>>>>>
> [...]
>> Ah, the kernel will not cross a zpool to look for bootfs; if it's not
>> set on the pool it comes from it will not look further.  Setting it
>> explicitly in /boot/loader.conf worked.
> Did you try setting bootfs on (only) the zboot pool? That's the pool the
> loader/kernel are actually working from at that point. 
>
> Ben
>
That will not work as the pool name has to match; it won't take one that
doesn't.

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2711 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20141001/bfee13a3/attachment.bin>


More information about the freebsd-stable mailing list