Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AIX mksysb

Posted on 2011-09-14
3
Medium Priority
?
705 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

715 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