Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
34.  Maintaining Solaris Live Upgrade Boot Environments (Tasks) Adding or Changing a Description Associated With a Boot Environment Name To Add or Change a Description for a Boot Environment Name With Text  Previous   Contents   Next 
   
 

To Add or Change a Description for a Boot Environment Name With a File

  1. Log in as superuser.

  2. Type:

    # /usr/sbin/ludesc -n BE_name  -f file_name

    -n BE_name

    Specifies the boot environment name and the new description to be associated with the name

    -f

    file_name

    Specifies the file to be associated with a boot environment name


    Example 34-6 Adding a Description to a Boot Environment Name With a File

    In this example, a boot environment description is added to a boot environment that is named second_disk. The description is contained in a gif file.

    # /usr/sbin/ludesc -n second_disk -f rose.gif

To Determine a Boot Environment Name From a Text Description

  1. Log in as superuser.

  2. Type:

    # /usr/sbin/ludesc -A 'BE_description'

-A 'BE_description'

Displays the boot environment name that is associated with the description


Example 34-7 Determining a Boot Environment Name From a Description

In this example, the name of the boot environment, second_disk, is determined by using the -A option with the description.

# /usr/sbin/ludesc -A  'Solaris 9 test build, January 2001.'
second_disk

To Determine a Boot Environment Name From a Description in a File

  1. Log in as superuser.

  2. Type:

    # /usr/sbin/ludesc -f  file_name

    -f file_name

    Displays the boot environment name that is associated with the description located in a file


    Example 34-8 Determining a Boot Environment Name From a Description in a File

    In this example, the name of the boot environment, second_disk, is determined by using the -f option and the name of the file that contains the description.

    # /usr/sbin/ludesc -f rose.gif 
    second_disk

To Determine a Boot Environment Description From a Name

  1. Log in as superuser.

  2. Type:

    # /usr/sbin/ludesc -n BE_name

    -n BE_name

    Displays the description that is associated with the boot environment name


    Example 34-9 Determining a Boot Environment Description From a Name

    In this example, the description is determined by using the -n option with the boot environment name.

    # /usr/sbin/ludesc -n  second_diskSolaris 9 test build, January 2001

Viewing the Configuration of a Boot Environment

Use the List menu or the lufslist command to list the configuration of a boot environment. The output contains the disk slice (file system), file system type, and file system size for each boot environment mount point.

To View the Configuration of Each Inactive Boot Environment (Character Interface)

  1. From the main menu, select List.

  2. To view the status of a boot environment, type the name.

    Name of Boot Environment: solaris8
  3. Press F3.

    The following example displays a list.

    Filesystem                fstype       size(Mb) Mounted on
    ------------------------------------------------------------------
    /dev/dsk/c0t0d0s1         swap           512.11 -
    /dev/dsk/c0t4d0s3         ufs           3738.29 /
    /dev/dsk/c0t4d0s4         ufs            510.24 /opt
  4. To return to the List menu, press F6.

To View the Configuration of a Boot Environment (Command-Line Interface)

  1. Log in as superuser.

  2. Type:

    # lufslist 

    BE_name

    Specifies the name of the boot environment to view file system specifics

    The following example displays a list.

    Filesystem                fstype       size(Mb) Mounted on
    ------------------------------------------------------------------
    /dev/dsk/c0t0d0s1         swap           512.11 -
    /dev/dsk/c0t4d0s3         ufs           3738.29 /
    /dev/dsk/c0t4d0s4         ufs            510.24 /opt
 
 
 
  Previous   Contents   Next