Re: I have a problem about the /usr/bin/mksysb script file

From: JOSEPH KREMBLAS (jkremblas@REDHEARTGIFTS.COM)
Date: Wed Jan 07 2004 - 00:38:17 EST


Additional Notes:
        The blocksize for the first three images is set to 512 bytes. The
blocksize for the rootvg image is determined by the tape device.

        If you are not sure what blocksize is used for the rootvg image,
restore the file tapeblksz from the second image.

        Example:
        # chdev -l rmt0 -a block_size=512
        # tctl -f /dev/rmt0 rewind
        # restore -s2 -xqvf /dev/rmt0.1 ./tapeblksz
        # cat tapeblksz
        1024

        Note: In this example the blocksize used in the fourth image is
1024.

                --joseph

-----Original Message-----
From: JOSEPH KREMBLAS [mailto:jkremblas@redheartgifts.com]
Sent: Tuesday, January 06, 2004 10:32 PM
To: 'IBM AIX Discussion List'
Subject: RE: I have a problem about the /usr/bin/mksysb script file

Notes:
        There will be four images on the mksysb tape, and the fourth image
will contain only rootvg jfs and jfs2 mounted filesystems. The following is
a description of mksysb's four images:

        (1) Image #1 [bosboot image]: The bosboot image contains a copy
of the system's kernel and specific device drivers, allowing the user to
boot from this tape.
        (2) Image #2 [mkinsttabpe image]: The mkinsttape image contains
files to be loaded into the RAM file system when booting in maintenance.
Example files in this image are bosinst.data, image.data or tapeblksz, which
contains the blocksize for the fourth image.
        (3) Image #3 [dummy TOC image]. The dummy image contains a
single file containing the words "dummy toc". This image is used to make the
mksysb tape contain the same number of images as a BOS install tape.
        (4) Image #4 [rootvg image/data]. The rootvg image contains data
from the rootvg volume group (mounted jfs and jfs2 file systems only).

        I hope this helps. Cheers.

                --joseph

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Renison, Rick
Sent: Tuesday, January 06, 2004 2:02 PM
To: aix-l@Princeton.EDU
Subject: Re: I have a problem about the /usr/bin/mksysb script file

My thought was to reserve room for any future expansion.

> -----Original Message-----
> From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
> Paul. Vanchope
> Sent: January 5, 2004 2:57 AM
> To: aix-l@Princeton.EDU
> Subject: I have a problem about the /usr/bin/mksysb script file
>
>
> i know that the a mksysb tape was devided into 4 parts : 1.BOS boot
> image (included Kernel Device Drivers) 2.mkinsttape image (included
> /tapeblksz ,./image.data, ./bosinst.data,
> commands)
> 3.dummy .toc ( some characters added in order to be compatible to a
> product
> tape)
> 4.rootvg data (your real data in rootvg, such as filesystem and so on)
>
> When i vi /usr/bin/mksysb (mksysb is a script file)
> i find the mksysb was executed according to the following sequences
> before backup the real data in rootvg :
>
> a) # put the bosboot image on the tape
>
> b) # put a "dummy" bosboot image on the tape
>
> c) # put the bosinst image on the tape
>
> d) # place a dummy toc on the tape
>
> in the above 4 steps, i can understand step a, c , d , But doesn't
> know why to execute step b ? Why a dummy bosboot image must be put on
> the tape ?
>
> Please give some suggestions. Thanks in advance.
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:28 EDT