Restoring the Solaris OS With Flash Archive


The Solaris Installation Program
The Solaris OS installation program is divided into a series of short sections that prompt you to provide information for the installation. At the end of each section, you can review and change your selections before continuing.
Please note: While navigating these menus, the mouse cannot be used. If your keyboard does not have function keys, or if your function keys do not respond, press ESC. The legend at the bottom of the screen will change to show the keys to use for navigation.
F2_Continue F5_Exit F6_Help
Select F2_Continue.
Solaris Interactive Installation
This system can be upgraded, so there are two ways to install the Solaris OS software:
  • The Upgrade option updates the Solaris OS software to the new release and saves as many modifications to the previous version of Solaris software as possible. Be sure to back up the system before using the Upgrade option.
  • The Initial option overwrites the system disks with the new version of the Solaris OS software. This option allows you to preserve any existing file systems. Be sure to back up any modifications made to the previous version of Solaris software before starting the Initial option.
After you select an option and complete the tasks that follow, a summary of your actions will be displayed. If you want to install the system using a flash archive, select Initial.
F2_Upgrade F3_Go Back F4_Initial F5_Exit F6_Help
Select F4_Initial.
Solaris Interactive Installation (Menu 2)
You’ll be using the Initial option for installing the Solaris OS software on the system. As mentioned previously, the Initial option overwrites the system disks when the new Solaris OS software is installed.
On the following screens, you can accept the defaults or you can customize how the Solaris OS software will be installed. To customize the installation, you may (1) select the type of Solaris OS software to install, (2) select disks to hold the software you’ve selected, and (3) specify how the file systems are laid out on the disks.
After completing these tasks, a summary profile of your selections will be displayed.
Here are two ways to install your Solaris OS software:
  • Standard installs your system from a standard Solaris distribution.
  • Flash installs your system from one or more flash archives.
F2_Standard F3_Go Back F4_Flash F5_Exit F6_Help
Select F4_Flash.
Flash Archive Installation Method
In this screen, you will be choosing a flash archive installation method, in this case select Local Tape.
Flash Archive Retrieval Method
On this screen you must select a method to retrieve the flash archive. The retrieval method depends on where the archive is stored. For example, if the archive is stored on a tape, select Local Tape.
Available Retrieval Methods
[ ] HTTP -> default

[ ] NFS

[ ] Local File

[X] Local Tape -> selected

[ ] Local Device

F2_Continue F5_Cancel F6_Help
Select Local Tape. Then select F2_Continue.
Flash Archive Addition
Please specify the path to the tape drive where the flash archive is located, as in the following:
Tape Drive Location: syrinx:/dev/rmt/0
Location: /dev/rmt/0
.......

F2_Continue F5_Cancel F6_Help
Select F2_Continue. (Note: Usually the path is /dev/rmt/0.)
Preserve Data?
Do you want to preserve existing data? At least one of the disks you’ve selected for installing the Solaris OS software has file systems or unnamed slices that you may want to save.
F2_Continue F3_Go Back F4_Preserve F5_Exit F6_Help
Select F2_Continue.
In the next step, you choose a disk where you want to install the OS. You can repartition the file systems in this step to meet your new requirements.
File System and Disk Layout
The summary that follows is your current file system and disk layout, based on the information you’ve supplied. Please note: If you choose to customize, you should understand file systems, their intended purpose on the disk, and how changing them may affect the operation of the system.
File system/Mount point Disk/Slice Size

overlap c0t11d0s2 17269 MB

F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help
Select F4_Customize.
Mount Remote File Systems?
Do you want to mount software from a remote file server? This may be necessary if you had to remove software because of disk space problems.
F2_Continue F3_Go Back F4_Remote Mounts F5_Exit F6_Help
Select F2_Continue.
Profile
The following information is your profile for installing the Solaris OS software. It reflects the choices you’ve made on previous screens.
Installation Option: Flash

Boot Device: c1t0d0

Client Services: None

Software: 1 Flash Archive

File System and Disk Layout:

.......

F2_Continue F4_Change F5_Exit F6_Help
Select F2_Continue.
Reboot After Installation?
After you’ve installed the Solaris OS software, the system must be rebooted. You can have the system reboot automatically or, if you want to run scripts or do additional customization, you may reboot manually. To reboot manually, use the reboot(1M) command.
[X] Auto Reboot

[ ] Manual Reboot

F2_Begin_Installation F5_Cancel
Select F2_Begin_Installation.
6. After the system reboots, you can enter a new root password. The following shows the compression of the original file system layout and the recovery file system layout:
The original file system layout:
$ df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d10 494235 55231 389581 13% /
/dev/md/dsk/d20 1525647 795052 669570 55% /usr
.......
/dev/md/dsk/d40 2056211 1419825 574700 72% /var
/dev/dsk/c1t4d0s0 4129822 4175 4084349 1% /tmp
/dev/dsk/c1t4d0s3 6194334 2280496 3851895 38% /home
/dev/md/dsk/d50 10177352 8905539 1170040 89% /opt

$ swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d30 85,30 16 4198368 4198368
The recovery file system:
$ df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t11d0s0 494235 54233 390579 13% /
/dev/dsk/c0t11d0s1 1489367 793504 636289 56% /usr
.......
/dev/dsk/c0t11d0s4 1987399 1417795 509983 74% /var
/dev/dsk/c0t11d0s5 9943356 8895415 948508 91% /opt
/dev/dsk/c1t4d0s3 6194334 2280496 3851895 38% /home
/dev/dsk/c1t4d0s0 4129822 4173 4084351 1% /tmp

$ swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t11d0s3 32,443 16 4099424 4099424
As you can see, the sizes of swap, /usr, /var and /opt file systems were slightly different, because you can repartition as you wish. Also /home and /tmp file systems were still on the same device, unchanged.

Comments

Popular Posts