Go to main content

Booting and Shutting Down Oracle® Solaris 11.4 Systems

Exit Print View

Updated: November 2020
 
 

How to Prevent a BE From Being Removed

This procedure retains a boot pool dataset for a BE so that the BE will remain bootable.

Before You Begin

Ensure that your role has the appropriate rights profiles to perform this procedure. See Using Rights Profiles to Administer Boot Features.

  1. Identify the BE to retain.
    $ 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
  2. Change policy for the BE.

    For example, to retain BE2, type the following:

    $ beadm set-policy -p noevict BE2
  3. Verify that policy has changed.

    The retained BE acquires a noevict flag.

    $ 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