- Overview
- Identifying the Master Machine
- Creating and Administering Archives
- Additional Profile Keywords
- Using Flash in an Example
- Summary
Creating and Administering Archives
The following flarcreate command creates an archive, named S8-web.archive, of a Solaris 8 OE 4/01 production web server (excluding the /var/tmp directory) with an archive creator string of "j.s.howard@Sun.COM":
www06# pwd /var/tmp/FlashArchives www06# flarcreate -n "Solaris 8 web server image" \ > -a "j.s.howard@Sun.COM" \ > -R / \ > -x /var/tmp \ > /var/tmp/FlashArchives/S8-web.archive Determining which filesystems will be included in the archive... Determining the size of the archive... The archive will be approximately 446.45MB. Creating the archive... Archive creation complete. |
The -R option specifies to recursively descend from the specified directory, and the -x option excludes the specified directory. See the flarcreate(1M) man page for details on these and other options.
Flash archives can be accessed through NFS or HTTP. Additionally, Flash archives can be written to disk, CD, or tape and subsequently accessed during installation from the disk, CD-ROM, or tape drive local to the client.
Flash archives can be compressed with the -c option to the flarcreate command. Compressed archives are automatically uncompressed before installation after being transferred to the installation client. See the flarcreate(1M) man page for additional details.
Use the flar command to extract information from a specified archive, for example, to determine how an archive was created:
www06# flar -i S8-web.archive archive_id=04291958b038020b87b749ee62085654 files_archived_method=cpio creation_date=20010326223306 creation_master=www06 content_name=Solaris 8 workgroup server image files_compressed_method=none files_archived_size=468105216 content_author=j.s.howard@Sun.COM content_architecture=sun4u |
The flar command also provides options to split or combine archives. Consult the flar(1M) man page for additional details on archive usage.