Sponsored Content
Operating Systems AIX DR using a mksysb image on disk. Post 302949120 by bakunin on Tuesday 7th of July 2015 11:16:57 AM
Old 07-07-2015
Quote:
Originally Posted by gz3xzf
This may be a dumb question and the more I think about it the worst it seems!!
As a matter of fact, there are no dumb questions - just dumb answers.

Quote:
Originally Posted by gz3xzf
I have inherited some standalone systems where they are using the mksysb command to create a disk file image; this image is then backed up to Networker.

My dumb question is how would we go about restoring this image should the server need to be replaced (i.e. internal disks as well)?

In fact this is a very good question! Backups are a worthless waste of space if they can't be restored so it is prudent to make sure they indeed can be.

I suppose you are not very proficient with AIX so i will start with some basics:

An mksysb image is a (bootable) backup of the systems default volume group - rootvg, where all the relevant filesystems - "/", "/usr", "/var", etc... are located. Do a

Code:
lsvg -l rootvg

to find out what exactly is in your rootvg. All this is backed up in such an image. There is a command "savevg", which does similar backups for any (non-rootvg) volume group which you may want to read up about.

Still, there is more to an mksysb: it also contains boot code and all the means to restore it to an empty hardware. In principle you can boot from an mkysb image and have the complete system (minus application data in VGs other than the rootvg) restored completely, including network interfaces, users, groups, print queues and whatever you have configured on your system.

So, to answer your question: from a working mksysb image you are able to restore the complete system with every customisation. Alas, there is a catch: You can direct the image to every device or a file like you do, but if you do not take the mksysb either from NIM or to a tape as destination the boot code will not be included. You will need to boot from a generic boot device (system CD-ROM, etc.) and then use the mksysb image to restore the system.

You may want to try this out on spare hardware to understand the process, before you really need to restore a system in the wake of some catastrophe.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. AIX

mksysb and boot.image

hello i saved my system this morning, mksysb tape, and i have the message: "boot.image exceeded the size....." i have not the end because the message is disappeared. where can i find the mksysb message in a log ? the message is scary ? thank you (6 Replies)
Discussion started by: pascalbout
6 Replies

2. Filesystems, Disks and Memory

Disk image !!

Hi all, I have a SCSI hard disk drive (2GB) I'm installing on it solaris 5 and some other applications on a sun sparc workstation, I made an image file of this H.D using Norton Ghost 6, then I restored this image file on another H.D.D (4GB), I tried to boot the sun sparc workstation with this new... (0 Replies)
Discussion started by: wesweshahaha
0 Replies

3. Solaris

How to create a disk image

I have a whole bunch of solaris machines. How do i create an image so i dont have to keep doing a reload and. In the pC world we have ghost what about the solaris world? (3 Replies)
Discussion started by: frankkahle
3 Replies

4. AIX

How do I create a bootable mksysb image file

I have several systems which require software maintenance several times a year. After the software maintenance, it is required that we make two system tapes for DR purposes. The creation of these system tapes takes anywhere from 1-1.5 hours because of the performance of the tape drives. What I... (7 Replies)
Discussion started by: acascianelli
7 Replies

5. Linux

disk image

when i made image of my fedora9 disk it had 18 GB. my new drive has 60GB. How can i expand the installed image to fit the entire new disk?. (2 Replies)
Discussion started by: ZG9
2 Replies

6. AIX

mksysb file image

Hello, I have an mksysb image in my disk, created like: # mksysb -i /mnt/backup/lpar2.image I want to know if this image could be copied to a tape and make it a boot image. Thanks Enzote (3 Replies)
Discussion started by: enzote
3 Replies

7. AIX

check whether a mksysb image is bootable or not?

Hi, Can any one please tell me the method to check whether a mksysb image which is in the server is bootable or not. :confused: Thanks in advance, Anoop (1 Reply)
Discussion started by: anoopraok
1 Replies

8. AIX

bootable mksysb image on

i have been given a bootable cd/dvd, that i install a ibm aix 185 workstation with, i want to make a nim mksysb resource from that, the following is a listing for the root file structure of the cd/dvd, seems someone took a mksysb of a built ibm aix machine and did mkcd -L -S -I and setup the... (2 Replies)
Discussion started by: asyed123
2 Replies

9. AIX

Restore mksysb image on cloned LPAR

Hi Folks, How to restore mksysb image on LPAR which is already having cloned AIX OS installed on hdisk0 (nothing configured, only full partition image is sitting on hdisk0) Let me know. Thank a lot. (1 Reply)
Discussion started by: snchaudhari2
1 Replies

10. UNIX for Advanced & Expert Users

Installation through mksysb image backup

Hi Experts, I am very new to AIX, I have a mksysb image in one of my aix server (V6), I would like to install this mksysb image on newly lpar. Is it possible without tape and NIM? Advice would be appreciated. Regards, Rockie (11 Replies)
Discussion started by: aix.rockie
11 Replies
xfs_mdrestore(8)					      System Manager's Manual						  xfs_mdrestore(8)

NAME
xfs_mdrestore - restores an XFS metadump image to a filesystem image SYNOPSIS
xfs_mdrestore [ -g ] source target DESCRIPTION
xfs_mdrestore is a debugging tool that restores a metadata image generated by xfs_metadump(8) to a filesystem. The source argument speci- fies the location of the metadump image and the target argument specifies the destination for the filsystem image. If the source is -, then the metadata image is read from stdin. This allows the output of be another program such as a compression application to be redirected to xfs_mdrestore. The target can be either a file or a device. xfs_mdrestore should not be used to restore metadata onto an existing filesystem unless you are completely certain the target can be destroyed. OPTIONS
-g Shows restore progress on stdout. DIAGNOSTICS
xfs_mdrestore returns an exit code of 0 if all the metadata is successfully restored or 1 if an error occurs. SEE ALSO
xfs_metadump(8), xfs_repair(8), xfs_check(8), xfs(5) BUGS
Email bug reports to xfs@oss.sgi.com. xfs_mdrestore(8)
All times are GMT -4. The time now is 04:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy