...
Load a mapping device with the "load" command. Specify the name of the device instance, the emulated SCSI bus to connect the device to and the SCSI identifier of the CHARON-VAX device.
...
scsi_bus
Parameter |
---|
...
Type
...
scsi_bus | |
Type | Identifier |
Value | Name of the emulated SCSI disk controller: "pka" or "pkb" |
scsi_id
Parameter | scsi_id |
---|---|
Type | Numeric |
Value | A value between 0 and 7. This is the ID number of the emulated SCSI device. The SCSI adapter is preloaded with address 7. If required, set it to another value in the range of 0-7 from the VAX console. |
.
Info |
---|
There is no direct correspondence between the host hardware SCSI ID and these CHARON-VAX SCSI addresses. Set the correspondence between the physical SCSI addresses on the host system and the CHARON-VAX SCSI bus ID in the configuration file. |
...
load <instance type>/<module name> <instance name> scsi_bus=<bus name> scsi_id=<number> |
Example:
|
...
The "virtual_scsi_disk" mapping has the following parameters:
container
Parameter | Type | Value||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
container[N] N=0…7 | |||||||||||||||||
Type | Text String | ||||||||||||||||
Value | DescriptionA string containing the device name to map to the emulator. | Mapping to host system resources |
| name>”
| ”
| “
| vdisk”
|
| "/dev/sd<L>" |
| .
| here
|
| for multipath disks,
| for floppy drives,
This parameter is initially not set, thus creating NO storage elements on the controller |
media_type
Parameter | media_type[N] N=0…7 |
---|---|
Type | Text String |
Value | Overrides the PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, integers and spaces. The length of the string cannot exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing a PRODUCT ID selected based on the disk size. Initially left unspecified. |
geometry
Parameter | geometry[N] N=0…7 |
---|---|
Type | Text String |
Value | This formatted string value specifies the explicit geometry of the disk storage element The string format is <X>”/”<Y>[“/”<Z>] where:
If this parameter is not set, CHARON-VAX will configure the geometry based on the most probable disk type. |
use_io_file_buffering
Parameter | use_io_file_buffering[N] N=0…7 |
---|---|
Type | Boolean |
Value | Enables use of the host OS I/O buffering. Initially set to “false” (buffering disabled). |
removable
Parameter | removable[N] N=0…7 |
---|---|
Type | Boolean |
Value | Enables the logical unit to appear as a removable SCSI disk drive. Initially set to “false” (fixed, non-removable). |
In the table above N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering.
Example:
|
...
Warning | |
---|---|
Unlike MSCP controlled disk images, a disk image connected to a SCSI controller as a virtual SCSI disk CANNOT be replaced by another disk image unless "removable" parameter is set for this particular disk image. Example:
|
...
"virtual_scsi_tape" has the following parameters:
container
Parameter | Type | Value
---|---|
container[N] N=0…7 | |
Type | Text String |
Value | A string containing the full path to a tape container. If the specified tape image does not exist, CHARON-VAX creates it. If only the name of the tape container is specified, CHARON-VAX will look for the container in the folder CHARON is running from. |
media_type
Parameter | media_type[N] N=0…7 |
---|---|
Type | Text String |
Value | Overrides PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, integers and spaces. Length of this string cannot exceed 16 characters. By default the PRODUCT ID returned is “TLZ04”"TLZ04" |
geometry
Parameter | geometry[N] N=0…7 | ||
---|---|---|---|
Type | Text String | ||
Value | Specifies the size of the tape image and (optionally) the size of the "early-warning" area at the end of the tape image. Syntax:
where:
Example:
|
In the table above N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering.
Example:
|
...
"virtual_scsi_cdrom" has the following parameters:
container
Parameter | Type | Value||||||||
---|---|---|---|---|---|---|---|---|---|
container[N] N=0…7 | |||||||||
Type | Text String | ||||||||
Value | DescriptionA string containing the device name to map to the emulator. | Mapping to host system resources |
| name>”
| ”
| “
| iso”]for *.iso images
| ,
| for CD-ROM, DVD drives;
This parameter is initially not set, thus creating NO storage elements on the controller |
media_type
Parameter | media_type[N] N=0…7 |
---|---|
Type | Text String |
Value | Overrides the PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, integers and spaces. The length of the string cannot exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing a PRODUCT ID selected based on the disk size. Initially left unspecified. |
geometry
Parameter | geometry[N] N=0…7 |
---|---|
Type | Text String |
Value | This formatted string value specifies the explicit geometry of the disk storage element The string format is <X>”/”<Y>[“/”<Z>] where:
If this parameter is not set, CHARON-VAX will configure the geometry based on the most probable disk type.type. |
use_io_file_buffering
Parameter | use_io_file_buffering[N] N=0…7 |
---|---|
Type | boolean |
Value | Enables use of the host OS I/O buffering. Initially set to “false” (buffering disabled). |
In the table above N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering. If only one LUN is configured, the LUN number can be omitted
Example:
|
...
"physical_scsi_device" has the following parameters:
container
Parameter | Type | Value|||
---|---|---|---|---|
container[N] N=0…7 | ||||
Type | Text String | |||
Value | A string containing the device name to map to the emulator. | Mapping to host system resources | Description
| for physical tape drives and other SCSI devices connected to CHARON host | This parameter is initially not set, thus creating NO storage elements on the controller
media_type
Parameter | media_type[N] N=0…7 |
---|---|
Type | Text String |
Value | Overrides the PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, integers and spaces. The length of the string cannot exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing a PRODUCT ID selected based on the disk size. Initially left unspecified. |
geometry
Parameter | geometry[N] N=0…7 |
---|---|
Type | Text String |
Value | This formatted string value specifies the explicit geometry of the disk storage element The string format is <X>”/”<Y>[“/”<Z>] where:
If this parameter is not set, CHARON-VAX will configure the geometry based on the most probable disk type. |
use_io_file_buffering
Parameter | use_io_file_buffering[N] N=0…7 |
---|---|
Type | boolean |
Value | Enables use of the host OS I/O buffering. Initially set to “false” (buffering disabled). |
removable
Parameter | removable[N] N=0…7 |
---|---|
Type | boolean |
Value | Enables the logical unit to appear as a removable SCSI disk drive. Initially set to “false” (fixed, non-removable). |
disconnect_timeout
Parameter | disconnect_timeout[N] N=0…7 | |
---|---|---|
Type | Numeric | |
Value | Sets logical unit disconnect timeout. This parameter helps if a connected SCSI device performs a given SCSI command for a very long time. The default value depends on the type of the SCSI device attached. For example for a disk it is 10 seconds, for a tape - an hour. If the type of the device is not known the timeout is 1 hour. Example (the timeout is with 48 days )timeout:
|
In the table above N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering. If only one LUN is configured, the LUN number can be omitted.
Example:
|
...