ZFS Encrypted Filesystems Fail To Mount At Boot (Doc ID 2094293.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 8/07 U4 and later
Information in this document applies to any platform.

Goal

How to have a standard behavior during boot when the filesystem is encrypted ?

and avoiding messages during the boot:

/var/svc/log/system-filesystem-local\:default.log

[ Apr 13 23:01:26 Executing start method ("/lib/svc/method/fs-local"). ]
cannot mount 'xxx/xxx' on '/xxx/xxx': Permission denied
cannot load key for 'xxx/xxx/xxx': No such file or directory
...

WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mount

and to boot normally without entering anything on keyboard
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms