| |
using virtual optica drives in VIOS (IBM virtual I/O server)
also known as: using an iso-file as virtual cd-rom for your LPAR
This requires at least VIOS 1.5.
- first, create a logical volume in which you want the iso-files to be stored:
mkrep -sp rootvg -size 16G
rootvg can also be an other volume group
the created logical volume is mounted under /var/vio/VMLibrary
- copy your iso-files to this location (or use
mkvopt -name filename.iso -dev cd0 -ro
to copy the contents of what is in your cd-drive to filename.iso)
- create a virtual optical drive connected to virtual scsi adapter vhost4 (the virtual scsi host for the LPAR to which you want to connect the new virtual optical drive):
mkvdev -fbo -vadapter vhost4
which will give: "vtopt0 Available"
- connect an iso-file to your virtual optical drive (for example the 'vtopt0' you created with the mkvdev command in the previous step)
loadopt -vtd vtopt0 -disk filename.iso
- disconnect the iso-file (as if you were unloading a cd from the drive):
unloadopt -vtd vtopt0
| |