Thursday, May 16, 2024
HomeSolarisSolaris system administrationCreate a Local Solaris Flash Archive

Create a Local Solaris Flash Archive

Flash archives are mirrored images of a system that can be installed on another system of the same architecture. The flash archive can include third-party packages as well as optional Solaris components like Solstice DiskSuite.

Note: To install the flash archive on other systems of the same architecture (i.e., sun4u), it is recommended that the system to be flashed be installed with the entire Solaris distribution + OEM packages.

To create a local flash archive, setup a disk slice (say c0t0d0s7) with a filesystem (i.e., newfs), and mount it as follows:

mkdir /export/flash
mount /dev/dsk/c0t0d0s7 /export/flash

To create a flash archive of the local system and name it mail-server-01 (the name is arbitrary), run the following:

flarcreate -n mail-server-01 -x /export/flash -c /export/flash/mail-server-01

The -x parameter is useful for excluding directories from the flash archive and can be repeated. The -c option turns on compression.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!