Product data

80 PowerVM Migration from Physical to Virtual Storage
mkrr_fs was successful.
Removing temporary file system: /mkcd/cd_fs...
Removing temporary file system: /mkcd/mksysb_image...
The mkcd command creates the backup file in /mkcd/cd_images by default. In
this case, the file created is cd_image_401446. Transfer the file to the Virtual
I/O Server using the file transfer program of your choice.
On the Virtual I/O Server
Create the media repository and make it ready for access by the client partition:
3. Check to see whether a media repository already exists using the lsrep
command. You will see the following if it does not exist:
$ lsrep
The DVD repository has not been created yet.
4. Create the media repository in the volume group and size of your choice if it
does not already exist using the Virtual I/O Server mkrep command. For the
purposes of this example, it will be created in rootvg.
$ mkrep -sp rootvg -size 100M
Virtual Media Repository Created
Repository created within "VMLibrary_LV" logical volume
5. Create the virtual optical media using the mkvopt command. The following
command assumes that the backup file that was transferred to the Virtual I/O
Server is in the current directory:
$ pwd
/home/padmin
$ ls -l cd_image_401446
-rw-r--r-- 1 padmin staff 258048 Oct 12 10:10
cd_image_401446
$ mkvopt -name cd_image_401446 -file cd_image_401446 -ro
$
6. Use mkvdev to create the file-backed virtual optical device if it does not exist.
You must find a free vhost adapter to bind to or allocate one using the HMC if
there are none free. A free adapter can be identified as below:
$ lsmap -vadapter vhost4
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost4 U8204.E8A.10FE411-V2-C15 0x00000000
VTD NO VIRTUAL TARGET DEVICE FOUND