question: config untrusted at boot

proto

Patron
Joined
Sep 28, 2015
Messages
269
Hi all,
I noticed this message during boot time spa_load($import, config untrusted). It happens when zfs try to import two mirrored SSD pools:


Code:
NAME                                     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
Edge0                                   21.8T  3.14T  18.6T        -         -     0%    14%  1.00x  ONLINE  /mnt
  raidz2                                21.8T  3.14T  18.6T        -         -     0%    14%
    gptid/6939dba4-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
    gptid/6b65b284-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
    gptid/6c75d400-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
    gptid/6d93f50b-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
    gptid/6eae655e-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
    gptid/6fd2ebf7-27e6-11e9-b01a-000c292c08e0      -      -      -        -         -      -      -
Prigioni                                 109G  15.5G  93.5G        -         -     6%    14%  1.00x  ONLINE  /mnt
  mirror                                 109G  15.5G  93.5G        -         -     6%    14%
    gptid/27d418b0-3791-11e9-a395-f4ce46a7b71c      -      -      -        -         -      -      -
    gptid/2890d2d2-3791-11e9-a395-f4ce46a7b71c      -      -      -        -         -      -      -
VMStore                                  230G  9.37G   221G        -         -    13%     4%  1.00x  ONLINE  /mnt
  mirror                                 230G  9.37G   221G        -         -    13%     4%
    gptid/11de824d-369c-11e9-b935-f4ce46a7b71c      -      -      -        -         -      -      -
    gptid/126d61d3-369c-11e9-b935-f4ce46a7b71c      -      -      -        -         -      -      -
freenas-boot                             111G  2.23G   109G        -         -      -     2%  1.00x  ONLINE  -
  ada0p2                                 111G  2.23G   109G        -         -      -     2%


Prigioni and VMStore are used for jail and bhyve VMs respectively, while Edge0 is the storage pool, always "trusted".

What's the meaning of that message?

Screenshot 2019-07-12 12.11.13.png
 

proto

Patron
Joined
Sep 28, 2015
Messages
269
Maybe, but I could be wrong : - )

I've found this comment here https://github.com/freebsd/freebsd/...5d36785#diff-b164f50a536f32f0b3500bae4fc1f2ae

Code:
[...]a new approach has been adopted:
The pool is first opened with the untrusted userland configuration just so that
the real configuration can be read from the MOS. The trusted MOS configuration
is then used to generate a new vdev tree and the pool is re-opened.

When the pool is opened with an untrusted configuration, writes are disabled
to avoid accidentally damaging it.[...]


I shouldn't look at the console during boot time!
 
Top