Visit The New, Modern Unix Linux Community

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

Thread Tools Search this Thread
Operating Systems AIX Can I use mkdvd to create bootable DVD from mksysb on tape
# 1  
Can I use mkdvd to create bootable DVD from mksysb on tape


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 different system which doesn't have access to a tape drive.

The man page for mkdvd only says:
-m mksysbimage "Specifies a previously created mksysb image."

# 2  
Yes, but it's messy and requires you to copy the file to disk first. Oh.

In theory you could position the tape by skipping forward 2 tape files (or is it 3?) and then using the drive as the parameter for the -m flag, but in practice I would expect this to fail. Give it a try though. You still need space to process it though (see below)

Is there a physical limitation on adding a disk? They are relatively cheap now.

Can you share the output from lsvg, lsvg -l rootvg? We might be able to work something. Also, the contents of /etc/exclude.rootvg and /

The mkdvd eventually calls readcd with the-w flag (for write) which is rather bizarre, but it need enough space to have two copies of the image whilst it does it. The first is to extract the image in to, then the next is to rebuild making a bootable image to write as a single IO to the media.

Do you have another AIX server with a DVD-RAM drive that does have space?

I sadly no longer have access to AIX servers, but I will see what I can remember.

Kind regards,
# 3  
Are you sure the tape will deliver the required data rate?
# 4  
Thanks Robin,

The rootvg on this system is around 40GB. Customer keeps a lot of data filesystems in rootvg (we didn't set this up), and doesn't want to change anything. They don't want to add any disk, as the server is migrating off onto our hardware.

In fact I think it's going to be possible for us to make a tape drive available to the destination server, so may not have to worry about the DVDs.

Didn't really want to exclude filesystems from the backup and have to get them across later, hence the question about making the DVDs from the bootable tape backup. Would have been handy if AIX provided that as an option, if not the prettiest solution. From what you say, it sounds like it's not likely to work though, and given that Dr Google doesn't come up with any hits regarding this approach, I'm guessing it's not possible.

Thanks for taking the time to reply though, it's nice to at least know it isn't an option.

# 5  
Okay, a few options.
  • Have a think about using /etc/exclude.rootvg to exclude things in the rootvg not critical to the OS. The way mksysb works, it builds a list of files and funnels them into backbyname (I hope that's right) but using the -e flag on mksysb allows you to pattern-match exclude files which match, so if you have /data, you can write a line in /etc/exclude.rootvg for ./data and it's content will not be written into the image. Hopefully this will fit on disk much easier.
  • Can you NFS mount some space on another server that also has a DVD-RAM device? If so, you could use that to write a DVD based on a mksysb image written across the NFS.

Could you answer the questions above so we know what we're starting with? We've all inherited odd systems so hopefully there is nothing too shocking, even if it's only one volume group.

Thanks, in advance,

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

Test Your Knowledge in Computers #934
Difficulty: Medium
The C standard library does not specify any specific resolution, epoch, range, or datatype for system time values.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

Mkdvd mksysb

hello How can I know which files did not get backuped Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below. Initializing mkcd log: /var/adm/ras/mkcd.log... Verifying command parameters... Creating (1 Reply)
Discussion started by: filosophizer
1 Replies

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

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

4. AIX

Mksysb mkdvd rootvg > 6gb

Hello, Just wondering if I don't have tape drive or NIM server then what are the possible ways to make mksysb ? My DVD-RAM has only 4GB capacity where as my rootvg is more than 6GB anythoughts ? POSTSCRIPT: SEE HERE FOR THE SOLUTION:... (1 Reply)
Discussion started by: filosophizer
1 Replies

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

6. AIX

mkdvd mkcd mksysb from file fails

Hello Folks,Having some problems moving an old mksysb backup to a file to DVD-RAM1) From mkdvd if i do a new backup it works fineBUT2) From mkdvd if I do fails:+--------------------------------------------------------------------------+| Use an existing mksysb image?... (8 Replies)
Discussion started by: filosophizer
8 Replies

7. Linux

Creating a bootable dvd/cd disk

Hi all, thanks for so many helps in many problems! Can anyone guide, how to create a bootable cd/dvd from downloaded iso images of CentOS 5? I have collected all the iso in a dvd but it is not booting the system. Any response will be appreciable... (2 Replies)
Discussion started by: naw_deepak
2 Replies

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

9. UNIX for Dummies Questions & Answers

Unable to create a bootable tape

Good morning, I have no unix training. My daily backup failed with the following error. ' Cannot create /tmp/tape.bootimage because it already exists. I am using smit to run a rootvg and SAPvg backup. What should I do? (1 Reply)
Discussion started by: ubyankees
1 Replies

Featured Tech Videos