Product data

Chapter 4. Standalone SCSI data to virtual SCSI 79
4.1 Migration using a virtual media repository
The goal of this section is to make a backup of a user volume group to a file,
create a media repository on the Virtual I/O Server, and give the client logical
partition virtualized access to the media repository. Keep in mind that
applications should be shut down prior to performing the backup since files that
are open cannot be backed up.
On the standalone source host
Begin by backing up the user volume data:
1. Ensure that the destination disk will be large enough to hold the user volume
data that you will be backing up.
2. Save the user volume group to a file. In the example below, a text file named
datafile will be transitioned and the file system containing datafile is in the
datasrcvg volume group. The ls and cat commands show the data file and its
contents before the migration so that a recheck of the contents of the file
post-migration will confirm success.
# ls -l
total 8
-rw-r--r-- 1 root staff 21 Oct 12 09:58 datafile
drwxr-xr-x 2 root system 256 Oct 12 09:57 lost+found
# cat datafile
This is a test file.
#
# mkcd -v datasrcvg -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 ...