Solved

AIX mksysb

Posted on 2011-09-14
3
699 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need some help with tutorials or training material/videos in unix 1 78
auto mounter on solaris 1 68
aix tls version 6 428
help pulling data string using Awk 9 79
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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.:

830 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