Skip to content

Instantly share code, notes, and snippets.

@blackwood821
Created May 14, 2021 13:43
Show Gist options
  • Save blackwood821/cd6c2e22027abfb829587a505a48f5b0 to your computer and use it in GitHub Desktop.
Save blackwood821/cd6c2e22027abfb829587a505a48f5b0 to your computer and use it in GitHub Desktop.
[root@e4-43-4b-9c-b0-a9 ~]# tail -20 $(svcs -L filesystem/smartdc) 
+ is_encr=aes-256-gcm
+ [[ aes-256-gcm != \o\f\f ]]
+ unlock_pool zones
+ local pool=zones
++ zfs get -Hpo value keystatus zones
+ local keystatus=unavailable
+ [[ unavailable == \a\v\a\i\l\a\b\l\e ]]
+ kbmadm unlock zones
kbmadm: unlock command failed
  Caused by KbmdError: kbmd returned an error
    in check_error() at kbmadm/kbmadm.c:1032
  Caused by RecoveryNeeded: Cannot unlock box for zones; recovery is required
    in kbmd_unlock_ebox() at kbmd/box.c:623
  Caused by PluginError: script did not return any data
    in kbmd_get_pin() at kbmd/plugin.c:278
+ echo 'Failed to unlock zones; recovery may be required'
+ tee -a /dev/console
Failed to unlock zones; recovery may be required
+ exit 95
[ May 14 16:21:14 Method "start" exited with status 95. ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment