By default, datasets that are associated with the most recently booted BEs are retained if the boot pool runs out of memory. This procedure retains a boot pool dataset for a BE so that the BE will remain bootable.
# beadm list BE Flags Mountpoint Space Policy Created -- ----- ---------- ----- ------ ------- BE1 - - 6.13M static 2014-10-09 17:21 BE2 - - 52.86M static 2015-01-03 16:22 BE3 NR / 313.1M static 2015-02-04 17:36
In this example, the boot environment named BE2 is being retained.
# beadm set-policy -p noevict BE2
The addition of the noevict policy to the BE2 entry indicates that BE2 will be retained.
# beadm list BE Flags Mountpoint Space Policy Created -- ----- ---------- ----- ------ ------- BE1 - 6.13M static 2014-10-09 17:21 BE2 - - 52.86M noevict,static 2015-01-03 16:22 BE3 NR / 313.1M static 2015-02-04 17:36