Product data

Chapter 2. Core procedures 11
Using the AIX mkcd command-line method
To use the AIX mkcd command-line method, use the following procedures:
1. Run the mkcd command with the flags shown below. If you would like to use a
non-default location to store the images, such as an NFS file share, you can
include a -I /<location flag> at the end of the options, where <location> is the
path for the final images. If you require a bootable copy of the volume group
(for example, rootvg), omit the -v rootvg that is shown in the example
command below:
# mkcd -v rootvg -V rootvg -R -S -A
Initializing mkcd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating information file for volume group datasrcvg.
Creating temporary file system: /mkcd/mksysb_image...
Creating savevg image...
Creating list of files to back up.
Backing up 9 files
9 of 9 files (100%)0512-038 savevg: Backup Completed Successfully.
Creating temporary file system: /mkcd/cd_fs...
Copying backup to the CD or DVD file system...
Creating Rock Ridge format image: /mkcd/cd_images/cd_image_401446
Running mkisofs ...
mkrr_fs was successful.
Removing temporary file system: /mkcd/cd_fs...
Removing temporary file system: /mkcd/mksysb_image...
2. To check which files where created, change the directory to the
/mkcd/cd_images directory or the directory that you specified.
3. Issue the ls command. In this example, the default location to store the files
was accepted.
$ cd /mkcd/cd_images
$ ls
$ cd_image_15364.vol1 cd_image_15364.vol2
4. Transfer the files from the images directory to the target Virtual I/O Server
using a file transfer technology that best suits your environment.