Product data

84 PowerVM Migration from Physical to Virtual Storage
datasrclv jfs2 1 1 1 open/syncd
/mnt
# cd /mnt
# ls -l
total 8
-rw-r--r-- 1 root staff 21 Oct 12 10:58 datafile
drwxr-xr-x 2 root system 256 Oct 12 17:06 lost+found
# cat datafile
This is a test file.
4.2 Migrating data using savevg
If it is not required to have a media repository, savevg may be used instead.
1. On the standalone source host, specify to savevg the name of the backup file
to save the data to and the volume group to be backed up:
# savevg -f /tmp/dataimage datasrcvg
Creating list of files to back up.
Backing up 9 files yes
9 of 9 files (100%)0512-038 savevg: Backup Completed Successfully.
2. After you have a running destination partition with virtual SCSI drives, transfer
the backup file to a temporary area on one of the drives.
3. Select an unused virtual disk and restore the backup. As above, the output of
cat shows us that the datafile was migrated successfully.
# restvg -f /tmp/dataimage hdisk2
Will create the Volume Group: datasrcvg
Target Disks: hdisk2
Allocation Policy:
Shrink Filesystems: no
Preserve Physical Partitions for each Logical Volume: no
Enter y to continue: y
datasrcvg
datasrclv
New volume on /tmp/dataimage:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Mon Oct 12 17:53:35 EDT 2009