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
TSK_LOADDB(1)						      General Commands Manual						     TSK_LOADDB(1)

NAME
tsk_loaddb - populate a SQLite database with metadata from a disk image SYNOPSIS
tsk_loaddb [-vVk] [-i imgtype ] [-b dev_sector_size ] [-i imgtype ] [-d output_dir ] image DESCRIPTION
tsk_loaddb loads disk information from image to a sqlite database. This database can then be used by tools in other languages for analy- sis. By default, the database is stored in the same directory as the image with ".db" appended to the name. The arguments are as follows: -d output_dir specify a directory to output the database file to (must be an existing directory) if not specified the database file will be cre- ated in the same directory as the image file -v verbose output to stderr -V Print version -k Don't create block data table. This table maps each block to the file that allocated it. This option will make this program run faster. -i imgtype The format of the image file (use '-i list' for supported types) -b dev_sector_size The size (in bytes) of the device sectors If -i or -b are not given, autodetection methods are used. EXAMPLES
To load image data from image.dd to image.dd.db: # tsk_loaddb ./image.dd AUTHOR
Brian Carrier <carrier at sleuthkit dot org> Send documentation updates to <doc-updates at sleuthkit dot org> TSK_LOADDB(1)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy