...
Type of mapping | Description |
---|---|
virtual_scsi_disk | For disk image containers and physical disks |
virtual_scsi_tape | For tape image containers |
virtual_scsi_cdrom | For host CD-ROM and *.iso images |
physical_scsi_device device | For physical tapes and other SCSI devices on the connected to a host. This instance type can be used for any SCSI device: disk drives, tape drives or SCSI CD-ROM/DVD-ROM drives. |
...
CHARON-VAX disk/tape devices can be SCSI disk/tape devices connected to a host system or disk/tape containers that are presented to the operating system environment as files.
...
load <instance type>/<module name> <instance name> scsi_bus=<bus name> scsi_id=<number> |
Example:
|
...
"virtual_scsi_disk" 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 disk container. N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering.device name to map to the emulator.
| "/opt/charon/bin".
media_type[N] N=0…7 | Text String | Overrides PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, decimal figures, spaces. Length of string shall not exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing PRODUCT ID selected based on disk size. Initially left unspecified. |
geometry[N] N=0…7 | Text String | 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[N] N=0…7 | boolean | Enables use of host OS I/O buffering. Initially set to “NO” (buffering disabled). |
removable[N] N=0…7 | boolean | Enables the logical unit to appear as a removable SCSI disk drive. Initially set to “NO” (fixed, non-removable). |
Example:
load virtual_scsi_disk
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 PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, decimal figures, spaces. Length of string shall not exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing PRODUCT ID selected based on 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 host OS I/O buffering. Initially set to “NO” (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 “NO” (fixed, non-removable). |
Example
|
If only one LUN is configured, the LUN number can be omitted:
|
When a virtual SCSI disk image is dismounted in VMS, it is no longer read by CHARON and may be copied. This capability can be useful when designing back-up and restore procedures. If copying CHARON-VAX disk images while CHARON-VAX is running, take care to minimize the risk of overloading the host system.
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 of CD-ROM ISO image usage:
|
"virtual_scsi_tape"
Use "virtual_scsi_tape" for tape containers. This is the most convenient way of connecting tapes to SCSI adapters of CHARON-VAX.
"virtual_scsi_tape" has the following parameters:
container
Parameter | 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. N stands for logical unit number. The first unit must be 0 with no gaps in subsequent numbering. If only the name of the tape container is specified, CHARON-VAX will look for the container in "/opt/charon/bin". |
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, decimal figures, spaces. Length of string shall not exceed 16 characters. By default the PRODUCT ID returned is "TLZ04" |
geometry
Parameter | geometry[N] N=0…7 | ||
---|---|---|---|
Type | Text String | ||
Value | Specifies size of the tape image and (optionally) size of "early-warning" area at the end of tape image. Syntax:
where:
Example:
|
Example
|
If only one LUN is configured, the LUN number can be omitted:
Parameter | Type | Value |
---|---|---|
container[N] N=0…7 | Text String |
|
When a virtual SCSI disk image is dismounted in VMS, it is no longer read by CHARON and may be copied. This capability can be useful when designing back-up and restore procedures. If copying CHARON-VAX disk images while CHARON-VAX is running, take care to minimize the risk of overloading the host system.
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. |
"virtual_scsi_tape"
Use "virtual_scsi_tape" for tape containers. This is the most convenient way of connecting tapes to SCSI adapters of CHARON-VAX.
"virtual_scsi_tape" has the following parameters:
|
Div | ||
---|---|---|
| ||
|
virtual_scsi_cdrom
Use "virtual_scsi_cdrom" to connect IDE or SATA host CD-ROM or *.iso file to CHARON-VAX.
"virtual_scsi_cdrom" has the following parameters:
container
Parameter | container[N] N=0…7 |
---|---|
Type | Text String |
Value | A string containing the device name to map to the emulator.
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 Overrides the PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, decimal figures, spaces. Length of string shall not exceed 16 characters.By default the PRODUCT ID returned is “TLZ04”, 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 | Text String | Specifies size of the tape image and (optionally) size of "early-warning" area at the end of tape image. Syntax:
where:
Example:
|
---|
Example:
|
...
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). |
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:
set pka_0 media_type = "TLZ08"
|
This example associates an unallocated CD-ROM drive "/dev/sr0" with virtual_scsi_cdrom "pka_0".
Div | ||
---|---|---|
| ||
|
"physical_scsi_device"
Use "physical_scsi_device" to connect any host SCSI device to CHARON-VAX.
"physical_scsi_device" has the following parameters:
...
container[N]
N=0…7
...
Text String
A string containing the device name to map to the emulator. N stands for logical unit number. It must begin from 0 and have no gaps in subsequent numbering. If there is only one logical unit the number can be omitted.
...
SCSI device to CHARON-VAX.
"physical_scsi_device" has the following parameters:
container
Parameter | container[N] N=0…7 | ||
---|---|---|---|
Type | Text String | ||
Value | A string containing the device name to map to the emulator.
| for physical tape 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 PRODUCT ID in the default SCSI INQUIRY data. Valid values may contain uppercase letters, decimal figures, spaces. Length of string shall not exceed 16 characters. If not specified, synthetic SCSI INQUIRY data is returned containing PRODUCT ID selected based on 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 host OS I/O buffering. Initially set to “NO” (buffering disabled). |
removable
Parameter | removable[N] N=0…7 |
---|---|
Type | boolean |
Value | Enables the logical unit to appear as removable SCSI disk drive. Initially set to “NO” (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 48 days):
|
|
|
|
|
...
0x400000 (hex) = 4194304 (dec) ~= 60 x 60 x 24 x 48 (days) |
Example
|
This example associates an unallocated SCSI drive "/dev/sd3sdb" with physical_scsi_device "pka_0".
...