Visit The New, Modern Unix Linux Community


How do I create a bootable mksysb image file


 
Thread Tools Search this Thread
Operating Systems AIX How do I create a bootable mksysb image file
# 1  
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 would like to do is create the an image file on the local hard disk that I can then move off to a server where they can be archived or copied to a tape from there so I can have the production system come back online sooner.
# 2  
How do I create a bootable mksysb image file

Hello

I think one option could be from the NIM.

IBM Redbooks | NIM from A to Z in AIX 5L


I hope can help you


Greetings
# 3  
I need to know how to do it without NIM.
# 4  
Hey

I think NIM is the best option but you could do bootable DVD's. Just use the "mksysb" command to create a mksysb image to disk. Then at a later stage us the "mkcd" command to create the bootable DVD from the mksysb image on disk. There are a couple of tweaks you might need to do to the image.data file if your rootvg is mirrored. I use a NIM script to create the mksysb images of multiplue systems. Then I keep my NIM at the same level as the rest of the systems and create the bootable DVD's from the NIM.

Hope that helps
# 5  
I need to create an image file that can be written to a tape, not a CD or DVD.
# 6  
Quote:
Originally Posted by acascianelli
I need to create an image file that can be written to a tape, not a CD or DVD.
I believe you are after something like:

1. Generate the mksysb image file:
# mksysb -i /mksysb_images/node1

2. SCP the image to the desired host.

3. Copy the image file to tape:
# dd if=/mksysb_images/node1 of=/dev/rmt0 bs=512

Might wanna test it out first.
# 7  
Quote:
Originally Posted by apra143
1. Generate the mksysb image file:
3. Copy the image file to tape:
This procedure will most likely not work because mksysb, when it doesn't write to a tape, does not include the boot image into the mksysb file. By copying this non-booting file to a CD (DVD, any other medium) nothing is gained because the missing boot image won't reappear.

The only way to get a mksysb image which can be directly booted is to write directly to a tape.

If you can only create a image file you can boot this by using a floppy disk or something similar to provide the boot image and use this to boot off the image file.

Alternatively you can use a NIM server, where the mksysb image file will also be stored in non-booting form, but the NIM server provides the boot image (analogous to what would be on the said floppy) over the network as a NIM resource.

I hope this helps.

bakunin

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #449
Difficulty: Medium
Linux Mint was originally based on Kubuntu.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

Can I use mkdvd to create bootable DVD from mksysb on tape

Hi, Is it possible to use mkdvd to create a bootable DVD using a mksysb on tape as the source image? On the system concerned, we don't have enough free space to create the mksysb to file first, so would like to use the existing tape mksysb backup. The DVD disk/s will then be used to boot a... (4 Replies)
Discussion started by: alanp36
4 Replies

2. Red Hat

Trouble creating RHEL 6.5 bootable image with custom kickstart file

Hi everyone, I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder. I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies

3. AIX

Using mkdvd to create bootable mksysb on dvd reports success but nothing on dvd?

Hello, Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this.. mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

4. AIX

DR using a mksysb image on disk.

This may be a dumb question and the more I think about it the worst it seems!! 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... (4 Replies)
Discussion started by: gz3xzf
4 Replies

5. Linux

Create a bootable PXE image from build kernel source code

Hi, Can i just ask how I can create a bootable PXE image from the built kernel source. What files do I need to get? Thanks! (1 Reply)
Discussion started by: h0ujun
1 Replies

6. 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

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

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

9. 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

Featured Tech Videos