Solved

AIX mksysb

Posted on 2011-09-14
3
698 Views
Last Modified: 2013-11-17
How do I check of a mksysb for an AIX server is intact and not corrupted. The only way I know is to restore it back to the test system.,....I there a simple way.....
0
Comment
Question by:mnis2008
  • 2
3 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36538917
Try lsmksysb.

If your mksysb is in a file use

lsmksysb -lf /path/to/mksysb_file
and/or
lsmksysb -Lf /path/to/mksysb_file

For an mksysb on tape use /dev/rmtx instead of the file path.

Adittionally you can use

lsmksysb -Vf /dev/rmtx

wmp
0
 

Author Comment

by:mnis2008
ID: 36539080
If the mksysb is corrupted will it show it is corrupted..???
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36539246
With lsmksysb only the various tocs (tables of content) are checked and displayed.

A slightly more thorough method is using restore (I assume it's a file, not a tape):

restore -Tqvlf /path/to/file

This will access every file's header, but will not read it as a whole.

A byte-by-byte check can indeed only be achieverd by running a restore.

wmp
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question