Use the flarcreate command described in the flarcreate(1M) man page 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 file.
You must be the global administrator in the global zone to perform this procedure.
Become superuser, or assume the Primary Administrator role.
Log in to the source system to be archived.
Change directories to the root directory.
# cd /
Use flarcreate to create a flash archive image file named s10-system on the source system, and place the archive onto the target system:
source-system # flarcreate -S -n s10-system -L cpio /net/target/export/s10-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.
The target machine will require root write access to the /export file system. Depending on the size of the file system on the host system, the archive might be several gigabytes in size, so enough space should be available in the target filesystem.
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 435. 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.