Mkdvd mksysb


 
Thread Tools Search this Thread
Operating Systems AIX Mkdvd mksysb
# 1  
Old 07-22-2019
Mkdvd mksysb

hello
How can I know which files did not get backuped

Code:
Command: OK            stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

[TOP]
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating mksysb image...

Creating list of files to back up........
Backing up 39961 files..............................
1756 of 39961 files (4%)..............................
30325 of 39961 files (75%)..................
0512-003 mksysb may not have been able to archive some files.
The messages displayed on the Standard Error contained additional
information.
Populating the CD or DVD file system...
Copying backup to the CD or DVD file system...
Building chrp boot image...
Creating Rock Ridge format image: /backup/cd_image_97702.vol1
Running mkisofs ...
mkrr_fs was successful.
Making the CD or DVD image bootable...
Copying the remainder of the backup to the CD or DVD file system...
Creating Rock Ridge format image: /backup/cd_image_97702.vol2
Running mkisofs ...
mkrr_fs was successful.

--- Post updated at 04:59 AM ---

another question:

how can I make a single iso image instead of getting two VOL1 and VOL2
# 2  
Old 07-31-2019
filosophizer,
It appears to me that you are calling mkdvd, and not the mksysb function directly. From the limited output of your session it looks like a smitty mkdvd instead of a smitty mksysb.
By calling mkdvd, the system will split the backup data into ISO's that can be set bootable and burnt, but you may end up with more than one volume.
By calling mksysb, the system will write one giant file, not set it bootable. You should be able to use mkdvd/mkcd and pass said file to it to make bootable images if required. Be warned, it will split the mksysb into as many volumes as it needs to.

So, single ISO image will require you to prune down your rootvg so all the data fits into one DVD. I try to keep my rootvg's just that, but in cases where others have invaded my space, booting at 15G mksysb from a nim server isn't a problem Smilie

If you have a nim server, I highly recommend checking this script out. Script to Automate System Backups Over the Network Using NIM

Ok, now errors. If you are running this in console it should tell you:
From my system:
Code:
Creating information file (/image.data) for rootvg...
Creating list of files to back up.
Backing up 102671 files..............................
58809 of 102671 files (57%)..............................
83152 of 102671 files (80%)......backup: 0511-449 An error occurred accessing ./home/tsminst1/srvmon/srvmon_10min_done.txt: A file or directory in the path name does not exist.
backup: 0511-449 An error occurred accessing ./home/tsminst1/srvmon/srvmon_20min_done.txt: A file or directory in the path name does not exist.
0512-003 mksysb may not have been able to archive some files.
The messages displayed on the Standard Error contained additional
information.

Also if running from smit, the smit.log should contain the info. By default, the smit.log should be found in the root filesystem.

If you are calling the mksysb/mkdvd from a script, you will need to capture errors and log them.

Hope this helps!

Last edited by RecoveryOne; 07-31-2019 at 04:47 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 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. AIX

Mkcd and mkdvd errors

Hi all, i use both mkcd and mkdvd for making bootable images of aix 5.3 servers i have. They have dvd reader but no writer. I have the following questions/errors: 1. When the process of mkcd/mkdvd is running and i have 61510 of 61510 files (100%) 0512-038 mksysb: Backup Completed... (1 Reply)
Discussion started by: stetsip
1 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

savevg - mksysb

Hello, I use commands savevg & mksysb to do backups on an AIX server. Frequently, I have a return code 3. I would know why, but after searches, I did'nt find. If somebody know ... Tell me. Thanks. emetra (2 Replies)
Discussion started by: emetra
2 Replies

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

6. AIX

mkdvd mkcd mksysb from file fails

Hello Folks,Having some problems moving an old mksysb backup to a file image.data 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. AIX

Help with mksysb

Hi All, Working on AIX 4.2 system. On this server there is no tape drive or a DVD Writer attached to the AIX box. I was able to do mksysb, but I got warning message saying it will not be bootable. On the new system, I did install 5.3 and now I need to restore this mksysb image from the... (5 Replies)
Discussion started by: samnyc
5 Replies

8. AIX

mksysb

Hello everyone I have two questions. I would like to hear your opinions, your tips. I have several box with aix 5.3. the rootvg in each box has mirror. but I have a cron that makes a mksysb every week. Do you think that it the best to have a mksysb of rootvg if I have a mirror on this... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

9. AIX

mksysb

I dont have either a tape drive or a DVD Writer attached to the AIX box. Can you let me know the possibilities of making an mksysb in a bootable media? This is required as we have a requirement to upgrade the OS. (2 Replies)
Discussion started by: chrisanto_2000
2 Replies

10. AIX

mksysb...

Hi friends.. My one problem is not resolved yet I have another. I am planning to take an OS backup of my p550 using "mksysb". Now i am confussed. suppose I give the command to take the backup into a tape drive and my backup size exceeds the tape capacity.. what will happen? will it ask for... (2 Replies)
Discussion started by: balaji_prk
2 Replies
Login or Register to Ask a Question