hadfl / kvmadm

Manage KVM instances under SMF control (supports KVM in zones)
http://www.kvmadm.org
Other
21 stars 6 forks source link

kvmadm list errors for non-mounted zones #105

Closed citrus-it closed 6 years ago

citrus-it commented 7 years ago

I have a number of zones on my server which are shutdown. Running kvmadm list produces errors as it tries to iterate the FMRIs within the zones. Since they are not even mounted, the repository is not accessible. Can the recent svcs -Z be used instead?

reaper# kvmadm list
svc.configd: Fatal error: /data/zone/hosting/root/etc/svc/repository.db: integrity check failed. Details in /etc/svc/volatile/db_errors
svccfg: Repository server failed (exit 102).
... repeated for each zone that is not running ...
hadfl commented 6 years ago

fixed: https://github.com/hadfl/kvmadm/pull/107