hi I'm facing issue with starting mini-cluster
it says it boot into maintenance mode because it's unable to mount all the pools
here is the console log:
{ Reading ZFS config: done.
Mounting ZFS filesystems: cannot load key for 'testpool/test': PKCS#11 token object not found.
(110/110)
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mount
May 20 11:05:08 svc.startd[13]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
May 20 11:05:08 svc.startd[13]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
Minicluster Setup successfully configured }
so is there a way to recover the token and boot the zfs pool
here is what svcs -xv log displays
svc:/system/filesystem/local:default (local file system mounts)
State: maintenance since Wed May 20 11:05:08 2020
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://support.oracle.com/msg/SMF-8000-KS
See: /var/svc/log/system-filesystem-local:default.log
Impact: 43 dependent services are not running:
svc:/ldoms/ldmd_dir:default
svc:/ldoms/ldmd:default
svc:/system/filesystem/ufs/quota:default
svc:/milestone/multi-user:default
svc:/system/fm/asr-notify:default
svc:/application/stosreg:default
svc:/system/fm/smtp-notify:default
svc:/system/intrd:default
svc:/milestone/multi-user-server:default
svc:/system/ocm:default
svc:/application/texinfo-update:default
svc:/system/zones:default
svc:/system/zones-delay:default
svc:/system/zones-install:default
svc:/system/oswatcher:default
svc:/system/sp/management:default
svc:/system/dumpadm:default
svc:/system/system-log:default
svc:/network/smtp:sendmail
svc:/system/auditd:default
svc:/network/sendmail-client:default
svc:/network/ipmon:default
svc:/system/fmd:default
svc:/system/devchassis:daemon
svc:/system/filesystem/autofs:default
svc:/network/ssh:default
svc:/network/http:apache22
svc:/application/pkg/server:default
svc:/application/management/eshm/omc:default
svc:/network/inetd:default
svc:/system/cron:default
svc:/platform/sun4u/dscp:default
svc:/platform/sun4u/sckmd:default
svc:/application/security/compliance:generate-guide
svc:/system/hotplug:default
svc:/network/shares:default
svc:/system/oes/id:default
svc:/system/power:default
svc:/system/boot-archive-update:default
svc:/application/pkg/repositories-setup:default
svc:/site/application/sysadmin/mctuner:default
svc:/system/boot-loader-update:default
svc:/application/cups/scheduler:default
here is the log for /var/svc/log/system-filesystem-local:default.log
[ May 20 11:04:55 Executing start method ("/lib/svc/method/fs-local"). ]
Reading ZFS config: done.
Mounting ZFS filesystems: cannot load key for 'testpool/test': PKCS#11 token object not found.
(110/110)
WARNING: /usr/sbin/zfs mount -a failed: one or more file systems failed to mount
[ May 20 11:05:08 Method "start" exited with status 95. ]