Contents
To view or change the current virtual machine SCSI configuration, select SCSI in the Device column of the left-hand pane of the configuration window. This opens the SCSI configuration window similar to the one shown below.
From this window, you can create virtual disk and tape container files using the Create Virtual Storage button. You can also attach virtual storage devices (both physical devices and container files) to the virtual machine (Add button). When selecting an existing virtual storage device, you can modify or remove it.
The Create Virtual Storage option is also available in the Tools menu of the Charon-SSP Manager. The functions provided are identical to the functions provided via the Virtual Machine Settings window shown above.
Creating a New Virtual Disk Container File
It is often convenient to use container files for virtual disk and tape devices. This section describes how to create disk container files.
To create a virtual disk container file, click on Create Virtual Storage in the SCSI device Virtual Machine Settings window. This displays the Create Virtual Storage dialog opened on the virtual disk tab as shown below.
To create a virtual disk container file, follow the instructions below:
|
Before the disk can be used by the Solaris guest system, it must be added to the system configuration and formatted by the Solaris guest according to the customer specific requirements.
Creating a New Virtual Tape Container File
To create a virtual tape container file, click the Create Virtual Storage button in the SCSI device Virtual Machine Settings window. This opens the Create Virtual Storage window. Select the Virtual Tape tab.
To create a virtual tape container, follow the instructions below:
Specify a name for the virtual tape container file in the field Virtual tape name.
Select the location on the host filesystem for the container file by clicking on the location selection button and selecting the correct path.
Specify a size for the virtual tape file in megabytes (MB) in the field Tape size. The vtape file will expand automatically if more space is needed while writing to the tape.
Click on Create to create the virtual tape container file. Depending on the size of the container file, this may take some time.
Using a virtual tape:
Once a virtual tape device has been created, it can be added to the Charon-SSP configuration and used by the Solaris guest system. To simulate “swapping a tape” during guest system operation, the following steps are required:
1. Guest system: rewind tape if required, write content to it, and “eject” it:
|
2. Host system: use sftp to rename/copy the original container file and to copy a new empty file with the same name in its place.
3. Guest system: display tape status (thereby loading the new file), rewind tape if required, and write content to it:
# mt –f <device-name> status mt –f <device-name> rewind
|