Creating actual media from a virtual image
Use these instructions to copy a virtual image to an optical disk.
One of the advantages to using virtual optical storage is that you can copy virtual images to actual media. If you plan to copy your virtual images to actual media, you must ensure that they are the correct format and the correct size.
The possible values for the Image size (IMGSIZ) parameter of the Add Image Catalog Entry (ADDIMGCLGE) command follows:
- *CD650
- The size of the virtual image is 650 MB. Images created with this size can be written to any standard 650 MB media or larger.
- *DVD2600
- The size of the virtual image is 2.6 GB. Images created with this size can be written to any 2.6 GB media.
- *DVD4700
- The size of the virtual image is 4.7 GB. Images created with this size can be written to any 4.7 GB media.
- Optical image files
- Images can be written to media ranging from 48-1000000 megabytes
- Tape image files
- Images can be written to media ranging from 48-1000000 megabytes.
When you create a virtual image of media type *RAM, the image is a byte image. The system creates no headers in the image and uses no compression. When you create a virtual image of media type *WORM or *ERASE, the image is a byte image with a header added at the beginning.
A virtual image can be in one of three formats, ISO 9660, Universal Disk Format (UDF), and High Performance Optical File System (HPOFS). You can only use a virtual image in UDF or HPOFS to create actual media.
Creating actual media using a PC
To create actual media using a PC, you must use a method, such as File Transfer Protocol (FTP) or IBM® Navigator for i to move the file to a PC that has software with image burning capability.
- Move the image file to your PC.
To use FTP to move the image file to your PC, see Transferring files with FTP.
To use IBM Navigator for i to move the image file, follow these steps:
- From IBM Navigator for i, expand .
- Navigate to the directory with your virtual image.
- Right-click the image and select Download to download the image file to your PC.
- Use image burning software on your PC to burn the image to a CD or DVD. It is recommended that you use disk-at-once mode rather than track-at-once mode or session-at-once mode.
Creating actual media using the DVD drive on your system
You can use the Duplicate Optical (DUPOPT) command to create actual media from a virtual image. The target media can be DVD-RAM if you have a DVD-RAM drive on your system, or if you have a drive capable of recording you can create a recorded image. Use the Display Device Description (DSPDEVD) command to display the media types that can be recorded by the drive. If the media type of the virtual image is *WORM or *ERASE, the DUPOPT operation can only be used to create a recorded image. The target media cannot be DVDRAM media.
The size of your virtual image must be the same size or smaller than your media.
- Vary on your virtual optical device by typing the following command:
VRYCFG CFGOBJ(virtual-device-name) CFGTYPE(*DEV) STATUS(*ON)
- Load your image catalog by typing the following command:
LODIMGCLG IMGCLG(catalog-name) DEV(virtual-device-name) OPTION(* LOAD)
- Type
WRKIMGCLGE
(the Work with Image Catalog Entry command) to ensure that your image catalog entry is loaded and mounted. If it is not, follow these steps:- If the image catalog entry is not loaded, type
8(LOAD)
and press Enter. - If the image catalog entry is not mounted, type
6(MOUNT)
and press Enter.
- If the image catalog entry is not loaded, type
- Vary on your DVD-RAM drive by typing the following command:
VRYCFG CFGOBJ(DVD-device-name) CFGTYPE(*DEV) STATUS(*ON)
- Verify that your media is loaded in your DVD device.
- Duplicate the virtual image to the DVD by typing the following
command.
DUPOPT FROMVOL(*MOUNTED) TOVOL(*MOUNTED) NEWVOL(*FROMVOL) CLEAR(*YES) FROMDEV(virtual-device-name) TODEV(DVD-device-name)TOENDOPT(*UNLOAD)
Copying a virtual volume to an actual media using an optical library drive on your system
You can use the Duplicate Optical (DUPOPT) command to copy a virtual volume of type *WORM or *ERASE to an identical physical volume in your optical library.
Your virtual
image must have been created previously using ADDIMGCLGE FROMDEV(*VOL)
VOL(target volume id),
where the target volume id identifies
the physical volume that the virtual volume is copied to.
- Vary on your virtual optical device by typing the following command:
VRYCFG CFGOBJ(virtual-device-name) CFGTYPE(*DEV) STATUS(*ON)
- Load your image catalog by typing the following command:
LODIMGCLG IMGCLG(catalog-name) DEV(virtual-device-name) OPTION(* LOAD)
- Type
WRKIMGCLGE
(the Work with Image Catalog Entry command) to ensure that your image catalog entry is loaded and mounted. If it is not, follow these steps:- If the image catalog entry is not loaded, type
8(LOAD)
and press Enter. - If the image catalog entry is not mounted, type
6(MOUNT)
and press Enter.
- If the image catalog entry is not loaded, type
- Vary on your optical library by typing the following command:
VRYCFG CFGOBJ(optical-library-device-name) CFGTYPE(*DEV) STATUS(*ON)
- Duplicate the virtual image to the physical volume by typing the
following command.
DUPOPT FROMVOL(*MOUNTED) TOVOL(*MOUNTED) NEWVOL(*FROMVOL) CLEAR(*YES)