System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Use flarcreate to Create the Image

Use this process to create the system image. This example procedure uses NFS to place the flash archive on the target Solaris system, but you could use any method to move the files.

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

  2. Log into the source system to be archived.

  3. Change directories to the root directory.


    # cd /
    
  4. Use flarcreate to create a flash archive image file named s-system, and place the archive onto the target system:


    target-system # flarcreate -S -n s-system /net/target/export/s-system.flar
    Determining which filesystems will be included in the archive...
    Creating the archive...
    cpio: File size of "etc/mnttab" has
    increased by 435
    2068650 blocks
    1 error(s)
    Archive creation complete.

    Tip –

    In some cases, flarcreate can display errors from the cpio command. Most commonly, these are messages such as File size of etc/mnttab has increased by 33. When these messages pertain to log files or files that reflect system state, they can be ignored. Be sure to review all error messages thoroughly.