Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterTypeValue

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.

Mapping to host system resourcesDescription
"/dev/sd<N>"for local fixed disks (IDE, SCSI, SATA)
"/dev/fd<N>"for floppy drives
"/dev/cdrom<N>", or "/dev/sr<N>"for CD-ROM, DVD drives (IDE, SCSI, …)
"/dev/dm-<N>", "/dev/mapper/mpath<N>", "/dev/mapper/disk<N>"for multipath disks
"/dev/sg<X>"for physical tape drives

This parameter is initially not set, thus creating NO storage elements on the controller

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:

  • "X" is number of sectors on track;
  • "Y" is number of tracks on cylinder;
  • "Z" (optional) is the number of cylinders on the unit. If omitted, Z is calculated based on X, Y and the total number of sectors on the unit that reflects the size of the disk storage element;

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 removable SCSI disk drive.

Initially set to “NO” (fixed, non-removable).

disconnect_timeout[N]

N=0…7

Numeric

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 tape - an hour. If the type of the device is not known the timeout is 1 hour.

Example (the timeout is 48 days):

set pka_0 disconnect_timeout[1] = 0x400000

Example:

load physical_scsi_device/chscsi pka_0 scsi_bus=pka scsi_id=0
set pka_0 container="/dev/sd3"

...