my first post. Be kind to me and to my english writing (i'm french)
During mksysb backup, some files are moving. I don't know yet which files (i'm starting a new job). For now, i'm wondering which fs are mandatory for a mksysb backup.
As the MKSYSB backs up just the ROOTVG it is generally thought the filesystems will be the default JFS2. Can you be more specific which files are disappearing? Have you any other VGs defined such as a datavg perhaps which of course will not be backed up by the MKSYSB.
I just had another look at the listing and question where the nim02 files /prod, /log, and /lognmon are? On a different VG perhaps? However if this is a listing of rootvg how can they be? Please let us know whether there are any more VGs defined.
OK now we can explore which files are changing and why. Which files are being altered? This is generally why the MKSYSB is only performed when there is very little system activity.
a minimal OS used to restore the system to bare metal
a TOC (empty)
the output of a regular savevg rootvg , which is in backup file format
You can exclude certain files/directories by using the "-e" flag and an exclude file (entries there follow the regexps for "grep"), but that is not obligatory. It is to speed up the process and make the image smaller, but you should it apply only once the process as a whole works.
Note that you have to have enough free space in /tmp to hold the boot block (use the bosboot command to find out how big that is) during backup AND restore. You can use the "-X" flag to automatically adjust the size of /tmp .
Note also, that there is a file /image.data , which records the sizes of the various LVs/FSes, which mksysb uses. It is possible to use this file to make FSes smaller in the backup (and hence the restore) than they are on the original system. This file is created by the mkszfile command and can be modified by hand to create certain results. The downside is that you are responsible for having a file which at least works - mksysb doesn't check that. If unsure create it directly prior to the mksysb run either by calling mkszfile by hand or using the "-i" flag of mksysb , which calls this command automatically.
The process of backing up a VG is - like any other backup - a relatively static process. unlike with a database, there is no "transaction log" in a filesystem and hence the backup is prone to inconsistencies if files are changing during backup. This is why it is advisable to have transactional data NOT in the rootvg and take the backup during times of minimal activity.
thank you for your help. The adminsys will give me the names of the files which are updated during mksysb process. We already have some names : Tivoli software.
I've suggested the adminsys to have a datavg and he will work on it.
I will come back here when I will have some fresh news.