Order of operations
- Stop and unbind domain.
- Remove vdisks and vnets from domain.
- Remove backend vdsdev from service domain.
- Delete domain.
- Destroy ZFS volumes if no longer needed.
Solaris · LDOMs – Removing Domains & Virtual Services
Solaris SPARC · LDOMs · Cleanup
When a guest is no longer needed, you should remove it cleanly: shut down, detach virtual devices, delete the domain and clean up backend storage. This avoids orphaned configs and wasted space.
Before removal, halt and unbind the domain.
Detach front-end devices from guest.
Once devices removed, delete the domain definition.
Clean up backend resources on service domain.