For VirtualBox guest installation, install the Solaris Guest Additions: pkgadd -d ./VBoxSolarisAdditions.pkg
Enable DNS: add “dns” to the hosts
line in /etc/nsswitch.conf
svcs -D servicename
svcadm enable servicename
svcadm enable -r servicename
svcs -x servicename
svcadm restart servicename
svcadm enable -rt servicename
svcadm disable servicename
Normally, when a service instance is in a maintenance state, all processes associated with that instance have stopped. However, you should make sure before you proceed.
Determine why the service is in maintenance: svcs -x servicename
The following command lists all of the processes that are associated with a service instance as well as the PIDs for those processes:
svcs -p servicename
(Optional) Kill any remaining processes …repeat this step for all processes that are displayed by the svcs command:
pkill -9 process-name
Restore the service: svcadm clear servicename
Here's a decent guide: building in a zone
echo | format
(look for disk and name) zpool create poolname diskname
zpool create zonepool c2t1d0
zfs create -o compression=on -o mountpoint=/zones zonepool/zones zfs create -o sync=disabled -o atime=off zonepool/zones/oidev
zonecfg -z oibld create set autoboot=true set zonepath=/zones/oidev/oibld set ip-type=exclusive add net set physical=e1000g1 end exit
zoneadm -z oibld install
zoneadm -z oibld ready
cat <<EOF > /zones/oidev/oibld/root/etc/sysidcfg terminal=xterms network_interface=PRIMARY {dhcp protocol_ipv6=no} security_policy=none name_service=NONE nfs4_domain=dynamic timezone=UTC root_password=NP EOF
zoneadm -z oibld boot
zlogin -C oibld
global# zoneadm -z my-zone shutdown
my-zone
global# zlogin my-zone shutdown
my-zone
global# zoneadm -z my-zone uninstall -F
global# zonecfg -z my-zone delete -F
global# zoneadm list -iv
ID NAME STATUS PATH BRAND IP 0 global running / solaris shared
Links: Tech Info … Mantis Area