Re: mksysb syntax - Newbie




Dolphin wrote:
Hi,

I would like to make a bootable tape that backup the AIX 5.1 system in case
the system disk failed. This tape can be used to restore back to the state
before system disk failed.

I searched the web
(http://www.unet.univie.ac.at/aix/cmds/aixcmds3/mksysb.htm) and found the
command mksysb with a few parameter. In one of the examples:

To generate a system backup and create an /image.data file with map files
(generated by the mkszfile command) to a tape device named /dev/rmt1, enter:

mksysb -m /dev/rmt1

Question: What is a map file?

Short answer :
$ man mkszfile
and simply take a look at the /image.data file.

The /image.data contains the physical and logical layout of the rootvg.
So during a restore from a mksysb the system layout is the same.
One of the reason for that:
- Use the correct disk for restore
- Have logical volumes on the same disk parts as they are before
because of performance configuration reasons
- Can be changed to get a new rootvg layout ( change jfs to jfs2,
pp-size)
and many other.

Keep in mind that these information might DISABLE the installation of
an mksysb on a differnet system because the target system does not
fullfill the requirements by the /image.data file.

hth
Hajo

.



Relevant Pages

  • Re: Restore from Tape Failed?
    ... > In fact, I am suspecting the tape backup not successfully completed.However, ... > my customer insisted that the mksysb is completed, ... Can you give me the assurance of this problem was due to the tape ... substitute for actually testing your restore procedures. ...
    (comp.unix.aix)
  • Re: Restore of AIX v3.x mksysb to AIX4.3.3
    ... > Smitty mksysb restore tells me that the tape isn't in backup format. ...
    (comp.unix.aix)
  • Re: remote mksysb
    ... but mksysb is a shell script. ... AFAIK the first three files on the tape must be written with a forced ... Use the norewind device on the remote machine. ... try googling for "aix backup rsh remote" or likely. ...
    (comp.unix.aix)
  • Re: mksysb: restore specific files
    ... How are you moving to that tape position? ... if it can even read the tapeasa mksysb tape?. ... in "backup" format. ...
    (AIX-L)
  • Re: VTL vs. Backup to Disk
    ... Disk is designated as DASD. ... emulated to provide a complete tape emulation solution. ... The question boils down to backup application support. ... so a good VTL may provide for a better solutions and better ...
    (comp.arch.storage)