Solaris Live Upgrade 2.0 Guide

Updating a Previously Configured Boot Environment

You can update the contents of a previously configured boot environment with the Copy menu or lumake(1M). File systems from the active (source) boot environment are copied to the target boot environment and the data on the target is destroyed. A boot environment must have the status "complete" before you can copy from it. See Displaying the Status of All Boot Environments to determine a boot environment's status.

The copy job can be scheduled for a later time, and only one job can be scheduled at a time. To cancel a scheduled copy, see Canceling a Scheduled Create, Upgrade, or Copy Job.

To Update a Previously Configured Boot Environment (Character Interface)

  1. From the main menu, select Copy.

  2. Type the name of the inactive boot environment to update:


    Name of Target Boot Environment: solaris8
    
  3. Continue or schedule the copy to occur later:

    • To continue with the copy, press Return.

      The inactive boot environment is updated.

    • To schedule the copy for later, type y, a time (by using the at command format), and the email address to which to send the results:


      Do you want to schedule the copy? y
      Enter the time in 'at' format to schedule copy: 8:15 PM
      Enter the address to which the copy log should be mailed: 
      someone@anywhere.com

      For information on time formats, see the at(1) man page.

      The inactive boot environment is updated.

      To cancel a scheduled copy, see Canceling a Scheduled Create, Upgrade, or Copy Job.

To Update a Previously Configured Boot Environment (Command-Line Interface)

This procedure copies source files over outdated files on a boot environment that was created previously.

  1. Log in as superuser.

  2. Type:


    # lumake -t  time -s source_BE -n  BE_name -m email_address
    

    -t time

    (Optional) Set up a batch job to copy over the file systems on a specified boot environment at a specified time. The time is given in the format that is specified by the man page, at(1).

    -n BE_name

    Specifies the name of the boot environment whose file systems are to be replaced. 

    -s source_BE

    Specifies the name of the source boot environment that contains the file systems to be copied to the target boot environment. If you omit this option, lumake uses the current boot environment as the source.

    -m email_address

    Enables you to email lumake output to a specified address on command completion. email_address is not checked. You can use this option only in conjunction with -t.


    Example 5–1 Updating a Previously Configured Boot Environment (Command-Line Interface)

    In this example, file systems from first_disk are copied to second_disk at 8:15 p.m. When the job is completed, an email is sent to Joe at anywhere.com.


    # lumake -t  8:15 PM -s first_disk -n  second_disk  -m joe@anywhere.com 
    

    The copy occurs at 8:15 PM and email is sent for notification. To cancel a scheduled copy, see Canceling a Scheduled Create, Upgrade, or Copy Job.