Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Restore mksysb from NFS share....How?

Restore mksysb from NFS share....How?

Restore mksysb from NFS share....How?

I would like to automate my mksysb's and implement a tapeless/CDless backup scheme.  To do this I figured I would write a script to mksysb a file to an NFS share on a storage server.

This seems easy enough but I am unsure how I would restore these files if I needed to.  Can anyone help shed some light on this?  I have read in a couple of places that a NIM server is the answer but how do I serve mksysb files from a NIM master?  Are there any onther ways to restore a non-bootable mksysb backup over the network?

AIX ver=4.3.3



RE: Restore mksysb from NFS share....How?


The olly way I know is using NIM server. And you "just" create a ressource "mksysb" that point to your image.

But If you have a AIX 5.3 NIM server you have a lot more posabilities.


RE: Restore mksysb from NFS share....How?

The mksysb is just a backup image, so if you only want specific files you can use the restore command.

To restore the image onto a system you'll need to use NIM to enable the client to boot over the network.

RE: Restore mksysb from NFS share....How?

Actually, you can do it without a NIM server.

Mount your NFS share (which has your mksysb image)

Do, smitty alt_clone smile

RE: Restore mksysb from NFS share....How?

I would like to revisit this now that I have time to attempt it....

I have successfully mksysb'd my client machine via SMIT to an NFS share.  My NIM master has the same share mounted so it has access to the new mksysb just created.

I attempted to create a mksysb resouce on my NIM master and I recevied the following error:


0042-001 nim: processing error encountered on "master":
   0042-001 m_mkbosi: processing error encountered on "master":
   0042-175 c_cklevel: An unexpected result was returned by the "/usr/lpp/bos.sysmgt/nim/methods/c_stat" command:
0042-150 c_stat: the file "/mnt/enasa/CODC_mksysb" has a vfstype of 18.  This conflicts with
        the expected vfstype, which is one of the following:

My first thought was that mksysb resouces could not use NFS shares.  If I new what vfstype 18 and 3 were I might be able to verify this.  Nevertheless, I am stuck at making the mksysb resource on my master and I am not sure how to continue.  Any ideas?

By the way, thanks for all the replies so far!


RE: Restore mksysb from NFS share....How?

Well, I moved the mksysb image from the NFS share to a local directory on my NIM master and the resource created successfully.  This is really disappointing; anyone know a way around this?

RE: Restore mksysb from NFS share....How?

Thanks khaildaa (you must be a better googler than me :).  This info really throws a monkey wrench in my operation.  Since I dont have sufficient space on my NIM server for all my mksysb's I am forced to store the mksysb's on a third server and copy individual images over when restoration is needed. :(

RE: Restore mksysb from NFS share....How?

oh yeah :) it seems the case :)

Good luck

RE: Restore mksysb from NFS share....How?

The reason behind this is that a NIM server needs to export the filesystem containing lppsource, mksysb, ... for a NIM client to be able to use it.

So yes, a NIM server needs to store its files on local (JFS or JFS2) filesystems. Arguably it could also be a GPFS network filesystem, as I believe that GPFS filesystems can also be NFS-exported, but NIM is unaware of this fact AFAIK.

So yes you need a lot of local storage or you make do with the overhead of copying over the mksysb files from networked storage to local storage whenever you need...



RE: Restore mksysb from NFS share....How?

I am 100% certain you can do a smit alt_mksysb, and select your target disk, device or image name will be /nfsmount/mksysb-image

and done smile

I do this, not sure if its conventional...but does the trick

RE: Restore mksysb from NFS share....How?

I dont think alt_mksysb is included in AIX 4.3.3.  Please correct me if I am wrong.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close